Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

29
minisign Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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 -G`
- Sign 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}}"`