mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-28 22:24:55 +02:00

Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
854 B
854 B
gpg
GNU Privacy Guard. Mehr Informationen: https://gnupg.org.
- Signiere
doc.txt
ohne Verschlüsselung (Ausabe nachdoc.txt.asc
):
gpg --clearsign {{doc.txt}}
- Verschlüssle
doc.txt
für alice@beispiel.de (Ausgabe nachdoc.txt.gpg
):
gpg --encrypt --recipient {{alice@beispiel.de}} {{doc.txt}}
- Verschlüssle
doc.txt
nur mit Passwort (Ausgabe nachdoc.txt.gpg
):
gpg --symmetric {{doc.txt}}
- Entschlüssle
doc.txt.gpg
(Ausgabe nach stdout):
gpg --decrypt {{doc.txt.gpg}}
- Importiere einen Öffentlichen Schlüssel:
gpg --import {{public.gpg}}
- Exportiere Öffentlichen Schlüssel von alice@beispiel.de (Ausgabe nach stdout):
gpg --export --armor {{alice@beispiel.de}}
- Exportiere Privaten Schlüssel von alice@beispiel.de (Ausgabe nach stdout):
gpg --export-secret-keys --armor {{alice@beispiel.de}}