Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

keypairs

Package Overview
Dependencies
Maintainers
3
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

keypairs - npm Package Compare versions

Comparing version 1.2.12 to 1.2.13

18

keypairs.js

@@ -345,1 +345,19 @@ 'use strict';

};
// For 'rsa-compat' module only
// PLEASE do not use these sync methods, they are deprecated
Keypairs._importSync = function (opts) {
if ('RSA' === opts.jwk.kty) {
return Rasha.importSync(opts);
} else {
return Eckles.importSync(opts);
}
};
// PLEASE do not use these, they are deprecated
Keypairs._exportSync = function (opts) {
if ('RSA' === opts.jwk.kty) {
return Rasha.exportSync(opts);
} else {
return Eckles.exportSync(opts);
}
};

10

package.json
{
"name": "keypairs",
"version": "1.2.12",
"description": "Lightweight RSA/ECDSA keypair generation and JWK <-> PEM",
"version": "1.2.13",
"description": "Lightweight RSA/ECDSA keypair generation and JWK <-> PEM using node's native RSA and ECDSA support",
"main": "keypairs.js",

@@ -24,3 +24,7 @@ "files": [

"PEM",
"JWK"
"JWK",
"keypair",
"crypto",
"sign",
"verify"
],

@@ -27,0 +31,0 @@ "author": "AJ ONeal <coolaj86@gmail.com> (https://coolaj86.com/)",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc