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
{{ message }}
Repository navigation
notation blob sign --force warns about overwriting a signature file that does not exist #1380
notation blob sign --force always prints Warning: existing signature file will be overwritten, even when no signature file exists at the target path. The success output also starts the second line with a stray space.
What did you expect to happen?
The overwrite warning appears only when a signature file already exists, as with notation blob policy import --force and notation blob policy init --force. The success output matches specs/cmd/blob.md:
Successfully signed /tmp/my-blob.bin
Signature file written to /tmp/my-blob.bin.jws.sig
Activity