Differences between revisions 2 and 3
Revision 2 as of 2017-10-02 20:56:58
Size: 635
Editor: PieterSmit
Comment:
Revision 3 as of 2017-11-10 22:35:47
Size: 636
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:
   * $ echo -n "SecretPassword" | gpg --armor --encrypt -r PickKEYsummary --comment "comment string"    * $ echo -n "Secret_Password" | gpg --armor --encrypt -r PickKEYsummary --comment "comment string"

OpenPGP

  • gpg used on linux.
  • Create keys
    • $ gpg --gen-key
      • Select key length and enter details, recommeded key length 2048+
  • E.g. key-id AABBCCDD
  • Export public key in-order to email it to someone
    • $ gpg --export --armor AABBCCDD
  • List keys
    • $ gpg --fingerprint
  • Send to key server
    • $ gpg --send-keys --keyserver keyserver.ubuntu.com AABBCCDD
  • Encrypt txt with gpg
    • $ echo -n "Secret_Password" | gpg --armor --encrypt -r PickKEYsummary --comment "comment string"

...

security/gpg (last edited 2024-01-15 01:35:00 by PieterSmit)