1Password / passkey-rs

A framework for defining Webauthn Authenticators that support passkeys
Apache License 2.0
116 stars 17 forks source link

Add prf extension input output types (PRF#2) #34

Closed Vogeltak closed 1 month ago

Vogeltak commented 1 month ago

This PR follows on #33. It adds new types for authenticator extensions as part of our PRF implementation. Specifically, it implements a type for CTAP2's hmac-secret and adds signed/unsigned extension outputs. The unsigned extension output contains a prf field that is used when the authenticator and client are in memory or are communicating over an internal channel.

Note: The --all-features was removed from the tests due to needing Bytes to serialize to a byte array.