Socket
Socket
Sign inDemoInstall

acme-client

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

acme-client - npm Package Compare versions

Comparing version 4.2.2 to 4.2.3

6

CHANGELOG.md
# Changelog
## v4.2.3 (2022-01-11)
* `added` Directory URLs for ACME providers [Buypass](https://www.buypass.com) and [ZeroSSL](https://zerossl.com)
* `fixed` Skip already valid authorizations when using `client.auto()`
## v4.2.2 (2022-01-10)

@@ -4,0 +10,0 @@

2

package.json

@@ -5,3 +5,3 @@ {

"author": "nmorsman",
"version": "4.2.2",
"version": "4.2.3",
"main": "src/index.js",

@@ -8,0 +8,0 @@ "types": "types",

@@ -59,4 +59,9 @@ # acme-client [![CircleCI](https://circleci.com/gh/publishlab/node-acme-client.svg?style=svg)](https://circleci.com/gh/publishlab/node-acme-client)

```js
acme.directory.buypass.staging;
acme.directory.buypass.production;
acme.directory.letsencrypt.staging;
acme.directory.letsencrypt.production;
acme.directory.zerossl.production;
```

@@ -63,0 +68,0 @@

@@ -92,2 +92,8 @@ /**

/* Skip authz that already has valid status */
if (authz.status === 'valid') {
log(`[auto] [${d}] Authorization already has valid status, no need to complete challenges`);
return;
}
try {

@@ -173,4 +179,4 @@ /* Select challenge based on priority */

log('[auto] Finalizing order and downloading certificate');
await client.finalizeOrder(order, opts.csr);
return client.getCertificate(order, opts.preferredChain);
const finalized = await client.finalizeOrder(order, opts.csr);
return client.getCertificate(finalized, opts.preferredChain);
};

@@ -13,5 +13,12 @@ /**

exports.directory = {
buypass: {
staging: 'https://api.test4.buypass.no/acme/directory',
production: 'https://api.buypass.com/acme/directory'
},
letsencrypt: {
staging: 'https://acme-staging-v02.api.letsencrypt.org/directory',
production: 'https://acme-v02.api.letsencrypt.org/directory'
},
zerossl: {
production: 'https://acme.zerossl.com/v2/DV90'
}

@@ -18,0 +25,0 @@ };

@@ -89,5 +89,12 @@ /**

export const directory: {
buypass: {
staging: string,
production: string
},
letsencrypt: {
staging: string,
production: string
},
zerossl: {
production: string
}

@@ -94,0 +101,0 @@ };

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