Expand description
ssh-keygen -Y: the one place a signature is made or checked. The
namespace is a parameter, so a provenance signature and an attestation can
never be confused (SPEC.md, “amont-provenance-v1”).
Enums§
- Error
- Why a signature was not accepted.
Displayis the reason the verifier reports.
Functions§
- public_
key - The public half of the private key at
key, checked to be ed25519.-P ''fails at once on a passphrase-protected key instead of prompting. - sign
ssh-keygen -Y signoverpayloadinnamespacewith the private key atkey: the armored signature, without its final newline. The payload goes on stdin, so nothing is written next to it.- verify
ssh-keygen -Y verifyover the exact signed bytes, innamespace, asprincipal— or, when none is given, as whoever the signature says.Okcarries the identity the signature verified as.