From 26e55ab5870d020f4b1cb63418359f32a58ad477 Mon Sep 17 00:00:00 2001 From: Azize Elamrani Date: Mon, 26 Aug 2024 18:51:17 +0200 Subject: [PATCH] Fix the length of the curveID --- .../vertx/ext/auth/webauthn/impl/attestation/tpm/PubArea.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vertx-auth-webauthn/src/main/java/io/vertx/ext/auth/webauthn/impl/attestation/tpm/PubArea.java b/vertx-auth-webauthn/src/main/java/io/vertx/ext/auth/webauthn/impl/attestation/tpm/PubArea.java index 38fa142ab..51a0c1eed 100644 --- a/vertx-auth-webauthn/src/main/java/io/vertx/ext/auth/webauthn/impl/attestation/tpm/PubArea.java +++ b/vertx-auth-webauthn/src/main/java/io/vertx/ext/auth/webauthn/impl/attestation/tpm/PubArea.java @@ -59,7 +59,7 @@ public PubArea(Buffer pubBuffer) { scheme = pubBuffer.getUnsignedShort(pos); pos+=2; curveID = pubBuffer.getUnsignedShort(pos); - pos+=4; + pos+=2; kdf = pubBuffer.getUnsignedShort(pos); pos+=2; } else {