Skip to content

isomorphic-git/kbpgp-plugin

Repository files navigation

@isomorphic-git/kbpgp-plugin

A 'pgp' plugin for [a future version of] isomorphic-git using kbpgp

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/kbpgp-plugin')
const git = require('isomorphic-git')

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

// Now you can use git.sign() and git.verify()
// Browser
import { plugins } from 'isomorphic-git'
import { pgp } from '@isomorphic-git/kbpgp-plugin'

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

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

Tests

npm test

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published