Changes

Jump to navigation Jump to search
248 bytes added ,  15:23, 24 April 2016
Line 31: Line 31:     
=== Encrypt with a public key ===
 
=== Encrypt with a public key ===
 +
==== List public keys ====
 +
gpg --list-keys
 +
==== Encrypt one recipient ====
 
  gpg --encrypt --recipient <key ID> <file>
 
  gpg --encrypt --recipient <key ID> <file>
 +
==== Encrypt to multiple recipients ====
 +
<nowiki>gpg --recipient 42FF42FF \
 +
    --recipient 12345678 \
 +
    --recipient FEFEFEFE \
 +
    --encrypt-files backup.tar</nowiki>
 +
 
=== Decrypt with private key ===
 
=== Decrypt with private key ===
 
  comando gpg -d <encrypted_file>
 
  comando gpg -d <encrypted_file>

Navigation menu