Hi @gabriel
I want to use keys to sign a SHA256 hash of a binary, but the UX seems off to me. As far as I can tell so far, there is no output when the signature is successfully verified. The only obvious sign that it did something is a 0 exit code.
I started with this:
sha256sum mybinary | keys sign -s btburke@github -m armor,detached > mybinary.sig
Then verified with this:
sha256sum mybinary | keys verify -s btburke@github -x mybinary.sig
That works, because I get "verify failed" if I make a change to the binary.
But, from a user experience perspective I think it would inspire more confidence if a successful verification also had something on stdout, with maybe a -q, --quiet flag to only look at the return code.
Hi @gabriel
I want to use keys to sign a SHA256 hash of a binary, but the UX seems off to me. As far as I can tell so far, there is no output when the signature is successfully verified. The only obvious sign that it did something is a 0 exit code.
I started with this:
Then verified with this:
That works, because I get "verify failed" if I make a change to the binary.
But, from a user experience perspective I think it would inspire more confidence if a successful verification also had something on stdout, with maybe a
-q, --quietflag to only look at the return code.