v2.7.3: make dry-run properly shows wildcards

This commit is contained in:
AJ ONeal 2019-04-02 21:34:38 -06:00
부모 6cd4bd1587
커밋 d41e7e5650
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제

파일 보기

@ -324,10 +324,10 @@ ACME._testChallenges = function (me, options) {
identifier: { identifier: {
type: "dns" type: "dns"
, value: identifierValue.replace(/^\*\./, '') , value: identifierValue.replace(/^\*\./, '')
, wildcard: identifierValue.includes('*.') || undefined
} }
, challenges: [ challenge ] , challenges: [ challenge ]
, expires: new Date(Date.now() + (60 * 1000)).toISOString() , expires: new Date(Date.now() + (60 * 1000)).toISOString()
, wildcard: identifierValue.includes('*.') || undefined
}; };
var dryrun = true; var dryrun = true;
var auth = ACME._challengeToAuth(me, options, results, challenge, dryrun); var auth = ACME._challengeToAuth(me, options, results, challenge, dryrun);

파일 보기

@ -1,6 +1,6 @@
{ {
"name": "acme-v2", "name": "acme-v2",
"version": "1.7.3", "version": "1.7.4",
"description": "Free SSL. A framework for building Let's Encrypt v2 clients, and other ACME v2 (draft 11) clients. Successor to le-acme-core.js", "description": "Free SSL. A framework for building Let's Encrypt v2 clients, and other ACME v2 (draft 11) clients. Successor to le-acme-core.js",
"homepage": "https://git.coolaj86.com/coolaj86/acme-v2.js", "homepage": "https://git.coolaj86.com/coolaj86/acme-v2.js",
"main": "node.js", "main": "node.js",