Difference between revisions of "Privacy:PGP"

From Technologia Incognita
Jump to: navigation, search
m (How to replace your current key with a stronger one)
m (How to replace your current key with a stronger one)
Line 40: Line 40:
 
* Start Thunderbird, et voila
 
* Start Thunderbird, et voila
 
* Now you can send a signed e-mail (signed with your old key) to your friends with your new public key, do the above again, fill in your new identifier... and live happily ever after
 
* Now you can send a signed e-mail (signed with your old key) to your friends with your new public key, do the above again, fill in your new identifier... and live happily ever after
 +
* and sign your new key with your old key

Revision as of 00:52, 20 September 2013

Start using PGP

Why do you need PGP? - by Phil Zimmerman (dutch version)

PGP section in cryptoparty handbook - Chapter 6 Email Encryption

Clients

  • Thunderbird with enigmail - graphical use interface, easy to use
  • GPG command line client - easy to use if you prefer commandline stuff
  • Kleopatra - slowwwww, deinstalled it
  • ...

Level of safety

  • The encrypted message/file is considered safe
    • if your private key isn't compromised (duh)
    • and given that your key is strong enough
  • PGP is not anonymous
    • Sender and receiver IDs are known. Including names if the keys are uploaded to key servers
  • Signing keys of your friends
    • Pro: build a web of trust
    • Con: everyone can see your network

Experiences

  • phicoh
    • gpg1.4 and nmh. Nmh is a command line mail clinet. Some script integrating nmh and gpg can be found at http://faculty.cs.niu.edu/~rickert/mh/
      • it lacks the possibility to reply on a pgp encrypted mail

How to replace your current key with a stronger one

Narya: this was something I couldn't find easily, so therefore I post it here.

I had generated a new stronger key with Thunderbird/enigmail. Choosing which key to use from the commandline is easy (flag -u YOURPGPID). My Thunderbird client, however, had switched completely to the new key. I actually wanted to send around an e-mail with my new key first, signed by my old key. Couldn't find the right option in Thunderbird anywhere. This is how it was solved (quite easy, but you need to know where to look):

  • Close Thunderbird
  • Make a backup of ~/.thunderbird/some-code-here/prefs.js
  • Search in the prefs.js file for "pgpkeyId" and change the identifier into the identifier of the key you want to use
  • Start Thunderbird, et voila
  • Now you can send a signed e-mail (signed with your old key) to your friends with your new public key, do the above again, fill in your new identifier... and live happily ever after
  • and sign your new key with your old key