Quarkus webauthn
#37746
Replies: 2 comments 13 replies
-
/cc @zakkak (native-image) |
Beta Was this translation helpful? Give feedback.
0 replies
-
@madocx Can you consider experimenting with the Quarkus extension, see its https://quarkus.io/guides/security-webauthn description, it needs some updates, main one is that the tutorial code is now missing, but @FroMage put a lot of effort into it, it is based on Vert.x WebAuthn code, and it does compile in native. IMHO it would be nice to have this extension evolved a bit more. |
Beta Was this translation helpful? Give feedback.
13 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Working on a webauthn poc, utilizing webauthn4j (https://github.com/webauthn4j/webauthn4j). Everything works perfectly running in a JVM, but after compiling natively, the library fails verification of the signature. Specifically, com.webauthn4j.validator.AssertionSignatureValidator.verifySignature().
Under the covers, it seems webauthn4j is using JCASecurityServices. However, none of the recommendations here seem to help : https://www.graalvm.org/latest/reference-manual/native-image/dynamic-features/JCASecurityServices/
Has anyone else faced something like this, or have any recommendations on what might possibly be causing it? This is the first time I've run into something like this where it natively compiles without any issues, but just behaves entirely differently (and incorrectly) at runtime.
Beta Was this translation helpful? Give feedback.
All reactions