Skip to content

Module: prism.auth, contract and code ownership #447

Closed

Description

@humuhumu33

Part of the nine-module architecture in #440. This issue holds the contract and code ownership of auth. M2 defines the contract; the issues listed below own the implementation.

Purpose: Who you are: registry logins, credential stores and signing identities.

Docker equivalent: Auth and credentials

API surface: prism.auth.login, logout, credential stores, signing identities

Prism difference: It also holds the identities used to sign attestations. It decides nothing about trust; verify does that.

Code that moves here

  • Rust (crates/prismpm/src): SigningKey in attest/crypto.rs, which stays with verify until it splits
  • JavaScript (sdk/npm/prism-code/src): auth, oci-auth, signing parts of attest

This map follows the agreed design in docs/proposals/440-nine-modules.md, under Code ownership. A file that will split keeps its current owner until it does. Confirm each row when the code moves.

May depend on: errors

Implemented by: #272 (attest, keyless), #292 (registry credentials), #432 (Rust keyless signing)

Done when: Login, logout and signing work through the SDK and the CLI with tests, and no error message or log ever contains a secret. Each public capability and diagnostic is registered in model/*.toml and covered by conformance fixtures.

Depends on: #440.

Part of the Prism SDK v1.0 roadmap: Prism SDK v1.0

Activity

  1. added
    kind/api-changeChanges a public API, CLI verb, file format or predicate; needs a design proposal
    area/cliprism verbs and the prismpm crate
    area/runtime-jsprism-code, verify, testing packages
    stability/experimentalBehind experimental_ prefix or --unstable flag; pin exact versions
    module/authOwned by the auth module of PrismPM
    on Nov 1, 2026
  2. afflom commented on Nov 12, 2026

    @afflom
    Member

    Done-when holds on main:

    Rust keyless signing stays tracked in #432 (M4). Closing.


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/cliprism verbs and the prismpm cratearea/runtime-jsprism-code, verify, testing packageskind/api-changeChanges a public API, CLI verb, file format or predicate; needs a design proposalmodule/authOwned by the auth module of PrismPMpriority/critical-urgentBlocks the current milestonestability/experimentalBehind experimental_ prefix or --unstable flag; pin exact versions

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions