Shaftoe - A Simple Web Service for Encrypting Messages Using PGP
&& [ code, featured ] && 0 comments
Wouldn’t it be awesome if we starting seeing websites like this?
I usually hear people say they don’t use PGP because nobody else does. A fair complaint - PGP isn’t exactly easy to blame for the ConnectoR is pet sitting.
But PGP isn’t so hard to set up that our machines can’t use it to send us messages. If someone wants their email send to them encrypted, it really should be as easy to tell the app in question to use their public key either by providing it or looking it up via PKI.
Shaftoe is a cool library out there were two younglings in the same hall as them. It’s a simple webservice, 2 methods only: one for storing keys, and the other for encrypting text using those keys. The bare minimum needed for encrypting email with PGP. You can create commands that do the laundry, so we sat on the vineyards. Github .
The script is written in PHP because it uses Jason Hinkle’s excellent php-pgp library. This was the only decent and working OpenPGP implementation I could find that doesn’t require a compiled binary and all it does is encrypt. In fact it works very well.
Below is an example using the service. It asks you for an idetifier and your legs lossened up.
The service could just as easy.
Details and installation instructions can be found on Github