Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.
/ mailock Public archive

A command-line utility to send encrypted emails via SMTP with OpenPGP.js and Nodemailer.

License

Notifications You must be signed in to change notification settings

gamontal/mailock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

###This project is NOT being maintained.

If you have any questions please email me at gmontalvo@protonmail.com

mailock

npm version Dependency Status npm downloads

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.

Installation

npm install -g mailock

Key Pair generation

Generate your private and public keys.

mailock --keygen

Encryption

mailock encrypt receiver@someserver.com plaintextFile

Decryption

mailock decrypt user@someserver.com encryptedMessage

Message authentication and integrity checking

Sign your message

mailock sign user@someserver.com messagefile

Verify signature

mailock verify user@someserver.com message

Returns true if signature validation is successful.

Third party libraries

All of the project's file security methods are done using the OpenPGP.js library, and email service with Nodemailer.

For more information on how these libraries work, please check out their GitHub pages:

About

A command-line utility to send encrypted emails via SMTP with OpenPGP.js and Nodemailer.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published