mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-03 23:14:13 +00:00 
			
		
		
		
	fix type
This commit is contained in:
		
							parent
							
								
									920c3be750
								
							
						
					
					
						commit
						98934b6738
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -191,7 +191,7 @@ export class WebAuthnService {
 | 
			
		|||
			if (cert[0] === 0x04) { // 前の実装ではいつも 0x04 で始まっていた
 | 
			
		||||
				const halfLength = (cert.length - 1) / 2;
 | 
			
		||||
 | 
			
		||||
				const cborMap = new Map<number, number | ArrayBufferLike>();
 | 
			
		||||
				const cborMap = new Map<number, number | Uint8Array>();
 | 
			
		||||
				cborMap.set(1, 2); // kty, EC2
 | 
			
		||||
				cborMap.set(3, -7); // alg, ES256
 | 
			
		||||
				cborMap.set(-1, 1); // crv, P256
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue