New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

mailock

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mailock

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

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
5
Maintainers
1
Weekly downloads
 
Created
Source

mailock

npm version npm downloads

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

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:

Keywords

email encryption

FAQs

Package last updated on 08 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts