Replace oras with native OCI registry client and add login

- Talk to OCI Distribution v2 registries directly over HTTP/TLS; oras is no longer required on PATH
- Add `orbit login <host>` and `orbit logout <host>`; credentials go to $ORBIT_ROOT/auth.json (mode 0600)
- Fall back to Docker config (credHelpers and credsStore) when no Orbit credentials exist
- Verify layer downloads with streaming SHA-256
- Fall back to the next channel only on HTTP 404 instead of matching oras error text
- Update README and moon.mod to drop oras references
This commit is contained in:
nandi committed 2026-11-27 15:46:41 -08:00
1 parent f8c9b99ee3
commit 0919ce105c
13 files changed
+2652 -184

No files matched your search

+2 -2
View File
@@ -6,9 +6,9 @@ readme = "README.md"
license = "Apache-2.0"
keywords = [ "package-manager", "oras", "oci" ]
keywords = [ "package-manager", "oci" ]
description = "A small package manager that stores packages as OCI artifacts via ORAS"
description = "A small package manager that stores packages as OCI artifacts"
source = "src"