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

node-gpg

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-gpg

A node wrapper for gpg

latest
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

node-gpg

node-gpg is a wrapper for Node.js so you can use GnuPGP in your applications. I was working on an Mailspring plugin for GPG and needed a connection to the GPG keyring. Since most of the wrappers didn't work for me, I simply wrote one myself.

Please note, that this node module is still work in progress! I tested it with my own keyring on macOS and for me it's working so far. But I can't guarantee that it's working for everyone else.

Usage

To install this package is easy: Simply use your favorite package manager and type the following command:

npm install node-gpg

There are some examples for encrypting, decrypting, signing and verifying messages. Please use them to learn how to use the API of this module. Promises have been made, so async/ await should work just fine. :smirk:

Credits

This package is inspired by, but not based on drudge/node-gpg, but without him I wouldn't have written this code so fast.

FAQs

Package last updated on 02 Nov 2018

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