grimoire

personal wiki
git clone git://git.pyratebeard.net/grimoire.git
Log | Files | Refs

gpg.md (450B)


      1 # gpg
      2 
      3 ## encrypt file
      4 ```
      5 gpg -c <filename>
      6 ```
      7 
      8 ## decrypt file
      9 ```
     10 gpg <filename>.gpg
     11 ```
     12 
     13 ## clearsign message
     14 ```
     15 gpg --default-key <key_id> -o <output_file> --clearsign <input_file>
     16 ```
     17 
     18 ## search keys
     19 ```
     20 gpg --search <string>
     21 ```
     22 
     23 - [gpg signing][] - traditional vs. pgp/mime
     24 - how to [verify software][]
     25 
     26 [gpg signing]: https://www.phildev.net/pgp/pgp_clear_vs_mime.html
     27 [verify software]: https://www.phildev.net/pgp/pgp_clear_vs_mime.html