# @isomorphic-git/pgp-plugin

> An isomorphic-pgp plugin for isomorphic-git

Latest version **0.0.7** (published 2018-11-23) · LGPL-3.0+ license · 0 weekly downloads

## Install

```sh
npm install @isomorphic-git/pgp-plugin
pnpm add @isomorphic-git/pgp-plugin
yarn add @isomorphic-git/pgp-plugin
bun add @isomorphic-git/pgp-plugin
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.7 |
| Published | 2018-11-23 |
| First published | 2018-11-21 |
| Weekly downloads | 0 |
| License | LGPL-3.0+ |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 11.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | William Hilton |
| Maintainers | wmhilton |
| Keywords | isomorphic-git-plugin |

## Links

- npm: https://www.npmjs.com/package/@isomorphic-git/pgp-plugin
- Repository: https://github.com/isomorphic-git/pgp-plugin
- Homepage: https://github.com/isomorphic-git/pgp-plugin#readme
- Issues: https://github.com/isomorphic-git/pgp-plugin/issues
- npm.io page: https://npm.io/package/@isomorphic-git/pgp-plugin

## Dependencies (2)

- [@isomorphic-pgp/util](https://npm.io/package/@isomorphic-pgp/util.md) ^0.0.6
- [@isomorphic-pgp/sign-and-verify](https://npm.io/package/@isomorphic-pgp/sign-and-verify.md) ^0.0.10

## Recent versions

- 0.0.7 (latest) — 2018-11-23
- 0.0.6 — 2018-11-23
- 0.0.5 — 2018-11-23
- 0.0.4 — 2018-11-23
- 0.0.3 — 2018-11-22
- 0.0.2 — 2018-11-22
- 0.0.1 — 2018-11-22
- 0.0.0 — 2018-11-21

## README

# @isomorphic-git/pgp-plugin
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fisomorphic-git%2Fpgp-plugin.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fisomorphic-git%2Fpgp-plugin?ref=badge_shield)


[`isomorphic-pgp`](https://github.com/wmhilton/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

```js
// 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](https://github.com/isomorphic-git/openpgp-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

```sh
npm test
```

## License

MIT

[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fisomorphic-git%2Fpgp-plugin.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fisomorphic-git%2Fpgp-plugin?ref=badge_large)

---
_Source: https://npm.io/package/@isomorphic-git/pgp-plugin · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
