###This project is NOT being maintained.
If you have any questions please email me at firstname.lastname@example.org
A command-line utility to send encrypted emails via SMTP with OpenPGP.js and Nodemailer.
mailock is a simple command-line utility that lets you encrypt and decrypt your files, sign and verify your messages, and send out content securely through SMTP using the Nodemailer library. Taking advantage of Node.js's great cross-platform support, this project aims to make use of these libraries and making standard PGP encryption services available in one package.
npm install -g mailock
Key Pair generation
Generate your private and public keys.
mailock encrypt email@example.com plaintextFile
mailock decrypt firstname.lastname@example.org encryptedMessage
Message authentication and integrity checking
Sign your message
mailock sign email@example.com messagefile
mailock verify firstname.lastname@example.org message
Returns true if signature validation is successful.
Third party libraries
For more information on how these libraries work, please check out their GitHub pages: