forked from root/acme.js
		
	v1.5.3: merge fix for #11
This commit is contained in:
		
							parent
							
								
									f0f9feb519
								
							
						
					
					
						commit
						621e04ffe6
					
				
							
								
								
									
										1
									
								
								node.js
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								node.js
									
									
									
									
									
								
							@ -148,6 +148,7 @@ ACME._registerAccount = function (me, options) {
 | 
				
			|||||||
        , contact: contact
 | 
					        , contact: contact
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
        if (options.externalAccount) {
 | 
					        if (options.externalAccount) {
 | 
				
			||||||
 | 
					          // TODO is this really done by HMAC or is it arbitrary?
 | 
				
			||||||
          body.externalAccountBinding = me.RSA.signJws(
 | 
					          body.externalAccountBinding = me.RSA.signJws(
 | 
				
			||||||
            options.externalAccount.secret
 | 
					            options.externalAccount.secret
 | 
				
			||||||
          , undefined
 | 
					          , undefined
 | 
				
			||||||
 | 
				
			|||||||
@ -1,6 +1,6 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  "name": "acme-v2",
 | 
					  "name": "acme-v2",
 | 
				
			||||||
  "version": "1.5.2",
 | 
					  "version": "1.5.3",
 | 
				
			||||||
  "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