eclipse-vertx / eclipse-vertx/vertx-auth
TPM PubArea buffer position incorrect
Open
bug
- Dominant language
- Java
- Stars
- 175
- Forks
- 159
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 3
Description
Here is an issue with buffer position:
https://github.com/eclipse-vertx/vertx-auth/blob/84647f46ec0e7641ea420794994f9a79a2b9a3be/vertx-auth-webauthn/src/main/java/io/vertx/ext/auth/webauthn/impl/attestation/tpm/PubArea.java#L63
According to TPM 2.0 documentation, curveID has length of 2 bytes. This causes problem with reading length of `unique`
I prepared fix, but I dont have access to push.
Contributor guide
Assessment
This issue has not been assessed yet.