
Security News
Socket Releases Free Certified Patches for Critical vm2 Sandbox Escape
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.
@skogard/openpgp-plugin
Advanced tools
[](https://app.fossa.io/projects/git%2Bgithub.com%2Fisomorphic-git%2Fopenpgp-plugin?ref=badge_shield)
OpenPGP.js 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.
// Node
const { pgp } = require('@isomorphic-git/openpgp-plugin')
const git = require('isomorphic-git')
git.plugins.set('pgp', pgp)
// Now you can use git.sign() and git.verify()
OpenPGP.js is unfortunately licensed under the LGPL-3.0 and thus cannot be included in a minified bundle with isomorphic-git which is an MIT/BSD style library, because that would violate the "dynamically linked" stipulation. If you are building a browser app, you should include this plugin as separate script.
I'm not a lawyer, but I suspect that code-splitting counts as "dynamically linked". Here I use a dynamic import statement to load the module.
// Browser
import { plugins } from 'isomorphic-git'
import('@isomorphic-git/openpgp-plugin').then(({ pgp }) => {
git.plugins.set('pgp', pgp)
// Now you can use git.sign() and git.verify()
})
npm test
In keeping with the OpenPGP.js license, this project is licensed under the GNU Lesser General Public License v3.0
FAQs
[](https://app.fossa.io/projects/git%2Bgithub.com%2Fisomorphic-git%2Fopenpgp-plugin?ref=badge_shield)
We found that @skogard/openpgp-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.

Research
Five malicious NuGet packages impersonate Chinese .NET libraries to deploy a stealer targeting browser credentials, crypto wallets, SSH keys, and local files.

Security News
pnpm 11 turns on a 1-day Minimum Release Age and blocks exotic subdeps by default, adding safeguards against fast-moving supply chain attacks.