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

@techteamer/ocsp

Package Overview
Dependencies
Maintainers
3
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@techteamer/ocsp - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

LICENSE

2

lib/ocsp/agent.js

@@ -77,3 +77,3 @@ const ocsp = require('../ocsp')

} else {
return ocsp.check({ cert: cert, issuer: issuer }, cb)
return ocsp.check({ cert, issuer }, cb)
}

@@ -80,0 +80,0 @@ }

@@ -38,3 +38,3 @@ const ocsp = require('../ocsp')

this.cache[id] = {
response: response,
response,
timer: setTimeout(() => { delete this.cache[id] }, maxTime)

@@ -41,0 +41,0 @@ }

@@ -60,9 +60,9 @@ const ocsp = require('../ocsp')

id: sha1(rfc2560.CertID.encode(certID, 'der')),
certID: certID,
certID,
data: rfc2560.OCSPRequest.encode(req, 'der'),
// Just to avoid re-parsing DER
cert: cert,
issuer: issuer
cert,
issuer
}
}

@@ -117,3 +117,3 @@ const ocsp = require('../ocsp')

producedAt: new Date(),
responses: responses
responses
},

@@ -120,0 +120,0 @@

@@ -106,4 +106,4 @@ const http = require('http')

value: basic,
certs: certs,
certsTbs: certsTbs
certs,
certsTbs
}

@@ -110,0 +110,0 @@ }

{
"name": "@techteamer/ocsp",
"version": "1.0.0",
"version": "1.0.1",
"description": "OCSP Stapling implementation",

@@ -22,6 +22,6 @@ "main": "lib/ocsp.js",

"devDependencies": {
"eslint-plugin-mocha": "^9.0.0",
"mocha": "^9.0.3",
"eslint-plugin-mocha": "^10.1.0",
"mocha": "^10.2.0",
"selfsigned.js": "^3.0.2",
"standard": "^16.0.3"
"standard": "^17.0.0"
},

@@ -32,5 +32,5 @@ "dependencies": {

"asn1.js-rfc5280": "^3.0.0",
"async": "^3.2.1",
"async": "^3.2.4",
"simple-lru-cache": "^0.0.2"
}
}

@@ -0,5 +1,12 @@

# OCSP client and server implementation in nodejs
This package is a fork of https://github.com/indutny/ocsp
Changes:
- Node 14 compatibility
## Changelog
### 1.0.1
- node 16,18 compatibility
- tests fixed
### 1.0.0
- node 14 compatibility
- dependency upgrades

@@ -20,2 +27,2 @@ - ES6 classes

- null reference fix: https://github.com/KSR-Yasuda/ocsp/commit/317dc96ac9056b50a04dba606a1b5a8d910dbb17
- cache clear feature: https://github.com/spurreiter/ocsp/commit/6a2f012a11d2fd7a515c16a80bc12e628cc29853
- cache clear feature: https://github.com/spurreiter/ocsp/commit/6a2f012a11d2fd7a515c16a80bc12e628cc29853
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