mirror of
				https://github.com/hiskang/acme.sh
				synced 2025-10-31 02:17:18 +00:00 
			
		
		
		
	do not cache thumbprint for issues for ecc account key
This commit is contained in:
		
							parent
							
								
									18256c4923
								
							
						
					
					
						commit
						8c76b8bc36
					
				
							
								
								
									
										10
									
								
								acme.sh
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								acme.sh
									
									
									
									
									
								
							| @ -834,9 +834,6 @@ _calcjwk() { | ||||
|     return 1 | ||||
|   fi | ||||
| 
 | ||||
| 
 | ||||
|    | ||||
|    | ||||
|   EC_SIGN="" | ||||
|   if grep "BEGIN RSA PRIVATE KEY" "$keyfile" > /dev/null 2>&1 ; then | ||||
|     _debug "RSA key" | ||||
| @ -2383,10 +2380,9 @@ issue() { | ||||
|         return 1 | ||||
|       fi | ||||
|        | ||||
|       if [ -z "$thumbprint" ] ; then | ||||
|         accountkey_json=$(printf "%s" "$jwk" |  tr -d ' ' ) | ||||
|         thumbprint=$(printf "%s" "$accountkey_json" | _digest "sha256" | _urlencode) | ||||
|       fi | ||||
| 
 | ||||
|       accountkey_json=$(printf "%s" "$jwk" |  tr -d ' ' ) | ||||
|       thumbprint=$(printf "%s" "$accountkey_json" | _digest "sha256" | _urlencode) | ||||
| 
 | ||||
|       entry="$(printf "%s\n" "$response" | _egrep_o  '[^\{]*"type":"'$vtype'"[^\}]*')" | ||||
|       _debug entry "$entry" | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user