You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit allows passing the --salt-length flag to the sign command.
The salt length used to default to auto, which causes errors if we
try to use a key in a KMS for TLS, as the Go standard library will
default to rsa.PSSSaltLengthEqualsHash on RSA keys.
flags.String("salt-length", "auto", "The salt length used in the RSA-PSS signature scheme.\nOptions are auto (0), equal-hash (-1) or a positive integer")
344
363
flags.Var(format, "format", "The `format` to print the signature.\nOptions are base64, hex, jws, or raw")
345
364
flags.String("in", "", "The `file` to sign. Required for Ed25519 keys.")
346
365
flags.Bool("verify", false, "Verify the signature with the public key")
0 commit comments