mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-15 10:15:53 +02:00
gpg: add signing and multiple recipients (#8111)
Update the `gpg` encryption example to indicate that multiple recipients and signing is possible. One use-case for multiple recipients is being able to send a file to someone while also retaining the option to decrypt it oneself.
This commit is contained in:
parent
5d7574cb74
commit
a7f4d79520
1 changed files with 2 additions and 2 deletions
|
@ -12,9 +12,9 @@
|
|||
|
||||
`gpg --clearsign {{doc.txt}}`
|
||||
|
||||
- Encrypt `doc.txt` for alice@example.com (output to `doc.txt.gpg`):
|
||||
- Encrypt and sign `doc.txt` for alice@example.com and bob@example.com (output to `doc.txt.gpg`):
|
||||
|
||||
`gpg --encrypt --recipient {{alice@example.com}} {{doc.txt}}`
|
||||
`gpg --encrypt --sign --recipient {{alice@example.com}} --recipient {{bob@example.com}} {{doc.txt}}`
|
||||
|
||||
- Encrypt `doc.txt` with only a passphrase (output to `doc.txt.gpg`):
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue