User Tools

Site Tools


documentation:gnupg-intro

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
documentation:gnupg-intro [2019/10/03 01:07] derekdocumentation:gnupg-intro [2019/10/03 01:15] (current) – [Data encryption] derek
Line 80: Line 80:
  
 ==== Data encryption ==== ==== Data encryption ====
 +
 +=== Encrypt ===
 +To encrypt some data (e.g. file in the example below) you need to know a recipient and his/her public key. On the example below we're encrypting data in file secret.pdf for alice@askele.com: ''gpg -r 'alice@askele.com' -e secret.pdf''
 +
 +Result file will be secret.pdf.gpg
 +
 +=== Decrypt ===
 +In order to decrypt some data (e.g. file) you need to type the following (assuming you receive secret.pdf.gpg): ''gpg -d secret.pdf.gpg > secret.pdf''
 +
 +Result will be stored in secret.pdf which is a plain (decrypted) data.
documentation/gnupg-intro.txt · Last modified: by derek

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki