Skip to content
isomorphic-pgp plugin for isomorphic-git
JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
spec
src
utils
.gitignore
.releaserc
LICENSE
README.md
azure-pipelines.yml
jest.config.js
karma.conf.js
package.json
webpack.config.js

README.md

@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

You can’t perform that action at this time.