Socket
Book a DemoInstallSign in
Socket

@isomorphic-git/pgp-plugin

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@isomorphic-git/pgp-plugin

An isomorphic-pgp plugin for isomorphic-git

latest
Source
npmnpm
Version
0.0.7
Version published
Maintainers
1
Created
Source

@isomorphic-git/pgp-plugin

FOSSA Status

isomorphic-pgp plugin for [a future version of] isomorphic-git

Note: no version of isomorphic-git has been released that uses this plugin yet.

It's a chicken and egg problem. Gotta write the plugin first, then modify isomorphic-git to use it.

Usage

// Node
const { pgp } = require('@isomorphic-git/pgp-plugin')
const git = require('isomorphic-git')

git.plugins.set('pgp', pgp)

// Now you can use git.sign() and git.verify()

In contrast with the full-featured OpenPGP.js plugin, this uses isomorphic-pgp which is a lightweight, MIT-licensed library. Right now it is limited to using RSA keys and signatures made using the SHA1 hashing algorithm.

Tests

npm test

License

MIT

FOSSA Status

Keywords

isomorphic-git-plugin

FAQs

Package last updated on 23 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