forked from root/acme.js
		
	v2.7.3: make dry-run properly shows wildcards
This commit is contained in:
		
							parent
							
								
									6deb67d740
								
							
						
					
					
						commit
						ea97f537ef
					
				
							
								
								
									
										2
									
								
								node.js
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								node.js
									
									
									
									
									
								
							@ -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",
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user