New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

brightspace-auth-keys

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brightspace-auth-keys - npm Package Compare versions

Comparing version 7.0.0 to 7.0.1

6

package.json
{
"name": "brightspace-auth-keys",
"version": "7.0.0",
"version": "7.0.1",
"description": "Library for generating, storing, and retrieving keypairs for use in Brightspace's auth framework.",

@@ -30,5 +30,5 @@ "files": [

"dependencies": {
"@trust/keyto": "^0.3.5",
"uuid": "^3.1.0"
"@trust/keyto": "^1.0.1",
"uuid": "^8.0.0"
}
}
'use strict';
const uuid = require('uuid/v4');
const { v4: uuid } = require('uuid');

@@ -5,0 +5,0 @@ const AbstractPublicKeyStore = require('./abstract-public-key-store');

'use strict';
const { generateKeyPair, createPublicKey } = require('crypto');
const { generateKeyPair } = require('crypto');

@@ -15,3 +15,2 @@ const keyto = require('@trust/keyto');

const SUPPORTS_KEY_OBJECTS = typeof createPublicKey === 'function';
const PUBLIC_EXPORT_OPTIONS = {

@@ -21,8 +20,6 @@ type: 'spki',

};
const PRIVATE_EXPORT_OPTIONS = SUPPORTS_KEY_OBJECTS
? null
: {
type: 'pkcs8',
format: 'pem'
};
const PRIVATE_EXPORT_OPTIONS = {
type: 'pkcs8',
format: 'pem'
};

@@ -29,0 +26,0 @@ function keygen(opts, kid) {

'use strict';
const { generateKeyPair, createPublicKey } = require('crypto');
const { generateKeyPair } = require('crypto');

@@ -10,3 +10,2 @@ const keyto = require('@trust/keyto');

const SUPPORTS_KEY_OBJECTS = typeof createPublicKey === 'function';
const PUBLIC_EXPORT_OPTIONS = {

@@ -16,8 +15,6 @@ type: 'spki',

};
const PRIVATE_EXPORT_OPTIONS = SUPPORTS_KEY_OBJECTS
? null
: {
type: 'pkcs8',
format: 'pem'
};
const PRIVATE_EXPORT_OPTIONS = {
type: 'pkcs8',
format: 'pem'
};

@@ -24,0 +21,0 @@ function keygen(opts, kid) {

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