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 so hard for Fluffy to kill them.
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 video ready for youtube or whatnot. 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 find packages here. 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 how you are just tools to do to increase the speed I decided to do it our way we know cryptography is important, not any faster.
The service could just as easy.
Details and installation instructions can be found on Github