@certd/acme-client 1.24.1 → 1.24.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/index.js +1 -1
- package/src/verify.js +1 -1
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Simple and unopinionated ACME client",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "nmorsman",
|
|
6
|
-
"version": "1.24.
|
|
6
|
+
"version": "1.24.2",
|
|
7
7
|
"main": "src/index.js",
|
|
8
8
|
"types": "types/index.d.ts",
|
|
9
9
|
"license": "MIT",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"bugs": {
|
|
60
60
|
"url": "https://github.com/publishlab/node-acme-client/issues"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "c49ccbde93dbad7062ac39d4f18eca7d561f573f"
|
|
63
63
|
}
|
package/src/index.js
CHANGED
package/src/verify.js
CHANGED
|
@@ -111,7 +111,7 @@ async function verifyDnsChallenge(authz, challenge, keyAuthorization, prefix = '
|
|
|
111
111
|
log(`DNS query finished successfully, found ${recordValues.length} TXT records`);
|
|
112
112
|
|
|
113
113
|
if (!recordValues.length || !recordValues.includes(keyAuthorization)) {
|
|
114
|
-
throw new Error(`Authorization not found in DNS TXT record: ${recordName}`);
|
|
114
|
+
throw new Error(`Authorization not found in DNS TXT record: ${recordName},need:${keyAuthorization},found:${recordValues}`);
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
log(`Key authorization match for ${challenge.type}/${recordName}, ACME challenge verified`);
|