Yes, I am a geek.

Today I managed to get PGP encryption working with my gmail account. I had to install WinPT and PGP on my computer and generate a key pair. I have a private key, and a public key. I encrypt things with my private key, and anyone who has my public key can decrypt it. Decrypting it also proves that it was my private key that encrypted it – so if you got encrypted email from me you would know that it was me that sent it.

To get it to work with my gmail I had to install firegpg, which you can get at the link.

This is what a block of PGP encrypted text looks like.

—–BEGIN PGP MESSAGE—–
Version: GnuPG v1.4.7 (MingW32)
Comment: http://getfiregpg.org

hQIOA9FJ9FpNoFGwEAgAmtq5XTl04bP

BeFhNBUNhPbx33R30Nvgs3BlOMz/P9VNy
cnB8eEVanB0J2gT08T5OyGsgdgs5WbshQ0QyH2LdcpFy+1wzx0eYyXfXRedIuW/m
BmW31j8j46tOGqzde/134uSOTY/igLxTIZa7Sa0Fha3UZO0atodniSDx96mWuSyH
f12W+V/KOriAMhImPhs/M5ntEthW7/UzqZqbAG8/25JkJG0pwv3ZBmPZMm56SALd
EvkT0BSSY5odsYPJYpZVLxrTkNU/0nNGS7v9tbfzHS2QgdmA1vm5j/y6/pZiu0vu
DLUYyaLh7CK8QBc2TQLhjUsWk++VZATX8XylpmkAyQf/XkKJa/61UuJrmLoRPF9a
Jyo5LGtcDwKwdkXH5ZitqB/Ox2Tw+1v8pCsHqr1dZZfEWXzoBG2n7yQY2QhHiB6p
XAB/rQIrRHW8ESvnQPSXPcDy/6TuTQARu92cqFM+IXBXtomg/SeWryVivuhhmylZ
f/5dHuzjWpLHtzKVGGyuojaki4sDGYNKUIB5Z9Sm8vAMO4e6dJ6g7PJ5bQDPlIoP
ZaszpMgRG61nAj+uqCzbs29LKOtSdm5nhZksnI5Q9swpKxtJM67ZX9ucjzg+Q+0f
JcXN6sYPB67i0rBBxbYg7BcR6YnnYzDO+V7RWQONopDggYo/oj9W7wfJpTtk+Pw9
+NLA3QGDz6w0zsVubd2cubkLQ4VQloB1lij4J8YzjPpxAAjzqnfQmLOwAOJgNkqS
p+7kn7RBNubfbO04XbNOlQxTn+ZZaKgcGGfcUqFkoris4LO9oubloYuVyCmHHvp0
f2EVoSJvxSlR3Fxnee+C7LK9MSeccgBzi/W9UzJnLRBs5jFymWGkJiTrALDZtso5
/2rFM37oPP1Yb+Fwq/c1yHvD4GZNYkpXQQyBu9z5MZXbxyWeffZNpK26vMSssa8n
HlP3iVtQzLAWzsBxNV/rFvtCjiAMfGSU3BM9ZDkVeagjXc/kItGP0/hnwK1FpGAO
BJ4SUe39eQYQBRUyuZt/QNoUGHDCeElmrBc4VFwuD5QWwS5nXA2lGY0lWrsdIHmS
Qj7QrE3NruZuc8PUFQX7vN9EIUobIBZrI+TVjrPHEOvZ5PJ9GbgjXP0+ucL0/aWW
9NJdmPEeIMp3XnJFeU/PJUwH9BtKtrdKk0aYDDPtjdYSsIDneVpTxsFRLsm9BWjj
YC/YLy5GZprok8PfqVU19QLpHG0v16ERyU2SVB3ztKfo
=G3YD
—–END PGP MESSAGE—–
So you can see, it’s not readable. The following text is a decryption from that email.
This is a test of PGP.–
https://jeffandsamplus2.wordpress.com
– The Family Blog
http://runfatboyrun.wordpress.com
– My Fitness Blog

“One of the advantages of being disorderly is that one is constantly making exciting discoveries.”
– AA Milne

“The ships hung in the sky in much the same way that bricks don’t.” – Douglas Adams

In case anyone is geeky enough to want to exchange encrypted email with me, this is my public key:
pub 1024D/E6707F9E 06/05/2008 Jeff Closs <suprspi@gmail.com>
Primary key fingerprint: C60F 0789 3667 C363 193B EFA7 5CCF 483F E670 7F9E—–BEGIN PGP PUBLIC KEY BLOCK—–
Version: GnuPG v1.4.7 (MingW32) – WinPT 1.2.0

mQGiBEggvhIRBACTz5ef3AU40+0RrDdPCewsiDuHVxxd5FQveTRaIwiwTKekXTCv
dKoXBXQ2MVrmElkleQimAG/yrW6i6jKVHSlSRGp05xDjXKxy9T6lsQfos8U3CZBZ
8CrYFv0u0I9DUxqxda3xh85+k7JYqU/jkhWd+Juz5YyDJxsIzasdNvcMSwCgg0d1
S42Sa33R0g7XjdoO9QhB0FkD/0Olz18KW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DBpTJBottB7Nf0h/NLrpKl5jH8s2ARm3ztYX7Azys2vtOLqVlo6l
2AS0+SkY7o11jXV3ayESrg6xkNE+WsC1FKqvbnjyYaF2RJESEQoPCKqKVgsX5R5h
xSSy9kpF0haCPnOBb9/bHLfzEy1hMZiISQQYEQIACQUCSCC+EgIbDAAKCRBcz0g/
5nB/niWKAKCCopUNNvjewCmh6T/BJw2X9K/MDwCeLhco1itWN0LLkH6gFrdW0NbC
Ehw=
=vEcb
—–END PGP PUBLIC KEY BLOCK—–

So, there we go. My geekery for the day. If you have any questions, feel free to comment away.
Advertisements

One response to “Yes, I am a geek.

  1. scotslawstudent

    Order pick: Is it not more than you encrypt things with the recipient’s public key and they decrypt with their private key? So that way only the recipient can decrypt it.

    In reverse signing it with your private key and checking it against your public key is what proves you sent it.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s