mirror of
				https://github.com/therootcompany/acme.js.git
				synced 2024-11-16 17:29:00 +00:00 
			
		
		
		
	update comment
This commit is contained in:
		
							parent
							
								
									54e9e9ec16
								
							
						
					
					
						commit
						17a1535dcc
					
				
							
								
								
									
										3
									
								
								node.js
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								node.js
									
									
									
									
									
								
							| @ -389,8 +389,7 @@ ACME._challengeToAuth = function (me, options, request, challenge, dryrun) { | |||||||
|   auth.thumbprint = me.RSA.thumbprint(options.accountKeypair); |   auth.thumbprint = me.RSA.thumbprint(options.accountKeypair); | ||||||
|   //   keyAuthorization = token || '.' || base64url(JWK_Thumbprint(accountKey))
 |   //   keyAuthorization = token || '.' || base64url(JWK_Thumbprint(accountKey))
 | ||||||
|   auth.keyAuthorization = challenge.token + '.' + auth.thumbprint; |   auth.keyAuthorization = challenge.token + '.' + auth.thumbprint; | ||||||
|   // conflicts with ACME challenge id url, if we ever decide to use it, but this just makes sense
 |   // conflicts with ACME challenge id url is already in use, so we call this challengeUrl instead
 | ||||||
|   // (as opposed to httpUrl or challengeUrl or uri, etc - I'd be happier to call the id url a uri)
 |  | ||||||
|   auth.challengeUrl = 'http://' + auth.identifier.value + ACME.challengePrefixes['http-01'] + '/' + auth.token; |   auth.challengeUrl = 'http://' + auth.identifier.value + ACME.challengePrefixes['http-01'] + '/' + auth.token; | ||||||
|   auth.dnsHost = dnsPrefix + '.' + auth.hostname.replace('*.', ''); |   auth.dnsHost = dnsPrefix + '.' + auth.hostname.replace('*.', ''); | ||||||
|   auth.dnsAuthorization = ACME._toWebsafeBase64( |   auth.dnsAuthorization = ACME._toWebsafeBase64( | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user