From 466de61232b6314ca3066512469b06d0c8ce4872 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sun, 7 Apr 2019 21:16:02 -0600 Subject: [PATCH] update comment --- node.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/node.js b/node.js index 2dfc3d8..8582269 100644 --- a/node.js +++ b/node.js @@ -389,8 +389,7 @@ ACME._challengeToAuth = function (me, options, request, challenge, dryrun) { auth.thumbprint = me.RSA.thumbprint(options.accountKeypair); // keyAuthorization = token || '.' || base64url(JWK_Thumbprint(accountKey)) auth.keyAuthorization = challenge.token + '.' + auth.thumbprint; - // conflicts with ACME challenge id url, if we ever decide to use it, but this just makes sense - // (as opposed to httpUrl or challengeUrl or uri, etc - I'd be happier to call the id url a uri) + // conflicts with ACME challenge id url is already in use, so we call this challengeUrl instead auth.challengeUrl = 'http://' + auth.identifier.value + ACME.challengePrefixes['http-01'] + '/' + auth.token; auth.dnsHost = dnsPrefix + '.' + auth.hostname.replace('*.', ''); auth.dnsAuthorization = ACME._toWebsafeBase64(