Facebook Encrypted Notification Emails

Encrypt your Facebook Notification Emails with PGP

It’s well-known that email isn’t really that secure, with a large percentage of mail servers communicating without TLS, mail clients not being set up to use secure connections, and more commonly easily guessed user passwords.

Using PGP to encrypt messages helps to retain the privacy that age-old email systems don’t give you, keeping your message contents secured between you and the recipient (and back again).

While this is great, a lot of email come from systems and not people – and the contents of the messages can be equally as confidential. Thankfully, Facebook have, as of June 2015, added experimental support for users to add their OpenPGP public keys to their profiles and opt for all mails from Facebook to be encrypted.

Securing your Facebook Mails

Sound good right? Here’s a quick two-step guide how to encrypt your Facebook Notification Emails with PGP! Continue reading

Receiving a PGP-Encrypted Mail in El Capitan

OpenPGP: GPGMail on El Capitan (OS X 10.11)

Not all that long ago I wrote a post on how to setup PGP on Mac OS X, and a similar post on PGP Setup for Windows. Since then there have been a number of updates, but one deal-breaker (at least for me) has been Apple’s latest OS X Beta, El Capitan (10.11) which broke GPGMail entirely.

Getting GPGMail working with El Capitan

The latest Alpha release of GPGMail (from the GPGTools suite) is now available with support for the latest Beta version of Apple’s OS X 10.11 El Capitan! Want it? Go get it! Just remember – It’s a nightly release: There are known issues and problems should be expected!

To get setup with the latest Alpha of GPGMail, head over to GPGTools Nightlies and grab the special alpha “GPG Mail for El Captian” release from the bottom of the list:

The GPGTools Nightlies Webpage

The GPGTools Nightlies Webpage


Once you’ve downloaded the DMG file, mount it with finder and run the installation. You might want to close Mac Mail before doing so!
The installation will complete, and the familiar GPGTools buttons are back, along with the OpenPGP green button on the top-right of new messages!

GPGMail: Composing a mail on El Capitan

GPGMail: Composing a mail on El Capitan


Looking good! The received version has all the usual verification marks, showing that the message (which was Encrypted and Signed using My PGP Key), as you can see below:

GPGMail: Receiving a PGP-Encrypted Mail in El Capitan

GPGMail: Receiving a PGP-Encrypted Mail in El Capitan


So now I have OpenPGP functionality restored to my Mac once again thanks to the awesome team at GPGTools, and for an alpha build, it really isn’t all that bad! Hopefully a beta release will be available soon, in the mean time this release will certainly do the trick for me, as signing, encrypting, decrypting, and verifying messages all seems to work without a hiccup.

PS. You can find me on Keybase as Danw33!

Setting up PGP on Mac OS X

Just last week I wrote a post explaining How to set up PGP on Windows, but seeing as though I now use a Mac for most of my day-to-day work, here’s an alternative guide to help you to set up PGP on Mac OS X so that you can use OpenPGP encryption and signing, manage your keys, and more from the comfort of your Mac!

PGP on Mac – Installing GPG Tools

Check out the GPGTools website and download the latest version of the GPG Suite. Once it’s downloaded, mount the disk image (just double-click it in your downloads folder) – you should see something like the following:

GPG Suite Disk

Contents of the GPG Suite Disk Image (.dmg)

Continue reading

Setting up PGP on Windows with Thunderbird

Here’s a short (well, kinda short) rough guide on getting setup with PGP on Windows with Thunderbird! We will be using Gpg4win to provide the GnuPG tools and essentials for easily using PGP, and Enigmail to add support to Thunderbird for OpenPGP signing and encryption.

Got a Mac? Check out my guide to Setting up PGP on Mac OS X!

PGP on Windows – Installing Gpg4win

Head over to Gpg4win and download the latest version (v2.2.1 or newer) and once it’s downloaded run the installer. You will be presented with a set of options somewhat like the following:

Gpg4win Setup: Choose Components

Gpg4win Setup: Choose Components

Continue reading

Raspberry Pi and Arduino

Mmm, Pie… Raspberry Pi! (and Arduino, Too!)

If you haven’t already, you should order a Raspberry Pi right away! (Then come back and read this, of course!).

Note: Click any Image for a full-resolution version. I’ve done a YouTube video which can be found here also.

For such a small and low-cost device, it has so much to offer! The Raspberry Pi is a small, bare-bones computer designed for kids to learn programming at home and in school without the need for expensive equipment – let’s face it, a £30 computer that you (or your kids) can play with, learn from, and enjoy without worrying too much about it getting broken or damaged like you would with a laptop or desktop computer!

Raspberry Pi

Raspberry Pi

I got my first Raspberry Pi (or Raspi/RPi, for short) around one month ago (Model B, Rev 2 – 512Mb), and haven’t put it down since! After a bit of playing and browsing the web (Yes, on the Pi!), I’ve been working to get it to interface with my Arduino Uno (Rev 3) for various projects.

Arduino Uno (Revision 3)

Arduino Uno (Revision 3)

Logic-Level Converter for I2C

Logic-Level Converter for I2C, from Sparkfun

I have the two devices connected by I2C using a simple Logic-Level Converter to compensate for the voltage difference between the two boards. In the image to the right you can see where I soldered two Right-Angle Pin strips (6 per side, totaling 12 pins on the LLC board) to be used for connections between the devices.

Warning: Don’t try and connect the devices without some form of voltage regulation – the Arduino’s logic high is 5v whereas the Raspberry Pi uses 3.3v (or 3v3, as it is often written); Connecting the devices directly will almost certainly damage the Pi’s Processor (and we don’t want that, do we?!).

Below you can see the connection between the two devices.
Pins used on the Raspberry Pi: 1 (3v3), 3 (SDA), 5 (SCL), 6 (GND)
Pins used on the Arduino: 5v, SDA, SCL, GND

Raspberry Pi and Arduino with I2C hookup

Raspberry Pi and Arduino with I2C hookup

Can’t See the Video? Check it out the related video over on my YouTube channel, here!

Note: The Vin pin on the Arduino is unregulated, and will give whatever input voltage is being passed to the arduino (so if you’re running on a 7v PSU, the Vin pin will give 7v); be careful not to accidentally use this pin as you will almost certainly fry something!