Browse Source

update comment

tags/v1.8.0
AJ ONeal 2 months ago
parent
commit
466de61232
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      node.js

+ 1
- 2
node.js View File

@@ -389,8 +389,7 @@ ACME._challengeToAuth = function (me, options, request, challenge, dryrun) {
389 389
   auth.thumbprint = me.RSA.thumbprint(options.accountKeypair);
390 390
   //   keyAuthorization = token || '.' || base64url(JWK_Thumbprint(accountKey))
391 391
   auth.keyAuthorization = challenge.token + '.' + auth.thumbprint;
392
-  // conflicts with ACME challenge id url, if we ever decide to use it, but this just makes sense
393
-  // (as opposed to httpUrl or challengeUrl or uri, etc - I'd be happier to call the id url a uri)
392
+  // conflicts with ACME challenge id url is already in use, so we call this challengeUrl instead
394 393
   auth.challengeUrl = 'http://' + auth.identifier.value + ACME.challengePrefixes['http-01'] + '/' + auth.token;
395 394
   auth.dnsHost = dnsPrefix + '.' + auth.hostname.replace('*.', '');
396 395
   auth.dnsAuthorization = ACME._toWebsafeBase64(

Loading…
Cancel
Save