-
Hi all! First of all - thanks for the work being done and for actively answering questions here, it's very much appreciated. I am learning how to use FIDO2 and If my approach makes sense, what would be the library call(s) necessary? Also, is it possible to do this using the available CLI tools ( Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, In essence, yes, this is the intended usage. If you have a look at the examples you will find that they have separate verification steps, passing in only the required data as extracted from the previous communication with the authenticator. Assuming you'll want to do this for both "registration" and "authentication" steps, you'll be particularly interested in the manual pages for Our Finally, you will want to familiarize yourself with attestation and assertion signatures as defined by WebAuthn. Hope this helps! |
Beta Was this translation helpful? Give feedback.
Hi,
In essence, yes, this is the intended usage.
If you have a look at the examples you will find that they have separate verification steps, passing in only the required data as extracted from the previous communication with the authenticator. Assuming you'll want to do this for both "registration" and "authentication" steps, you'll be particularly interested in the manual pages for
fido_cred_authdata_ptr(3)
,fido_cred_verify(3)
,fido_assert_authdata_ptr(3)
,fido_assert_verify(3)
, and related functions/pages.Our
fido2-cred(1)
andfido2-assert(1)
tools work much in the same way and may serve as even better examples: Callingfido2-cred -M
creates a new credential andfido2-cred -V
verifie…