snippetbashTip
minisign — A dead simple tool to sign files and verify signatures. More information: <https://jedisct1.github.i
Viewed 0 times
simplecommandfilessigncliminisigntooldead
Problem
How to use the
minisign command: A dead simple tool to sign files and verify signatures. More information: <https://jedisct1.github.io/minisign/>.Solution
minisign — A dead simple tool to sign files and verify signatures. More information: <https://jedisct1.github.io/minisign/>.Generate a new keypair at the default location:
minisign -GSign a file:
minisign -Sm {{path/to/file}}Sign a file, adding a trusted (signed) and an untrusted (unsigned) comment in the signature:
minisign -Sm {{path/to/file}} -c "{{Untrusted comment}}" -t "{{Trusted comment}}"Verify a file and the trusted comments in its signature using the specified public key file:
minisign -Vm {{path/to/file}} -p {{path/to/publickey.pub}}Verify a file and the trusted comments in its signature, specifying a public key as a Base64 encoded literal:
minisign -Vm {{path/to/file}} -P "{{public_key_base64}}"Code Snippets
Generate a new keypair at the default location
minisign -GSign a file
minisign -Sm {{path/to/file}}Sign a file, adding a trusted (signed) and an untrusted (unsigned) comment in the signature
minisign -Sm {{path/to/file}} -c "{{Untrusted comment}}" -t "{{Trusted comment}}"Verify a file and the trusted comments in its signature using the specified public key file
minisign -Vm {{path/to/file}} -p {{path/to/publickey.pub}}Verify a file and the trusted comments in its signature, specifying a public key as a Base64 encoded literal
minisign -Vm {{path/to/file}} -P "{{public_key_base64}}"Context
tldr-pages: common/minisign
Revisions (0)
No revisions yet.