Open zacknewman opened 6 months ago
Perhaps I am looking at the wrong thing, but getTransports
appears to not be extracted from web_sys::PublicKeyCredential
.
I have not looked deeply into web_sys
(and have no idea how it works) but maybe the feature PublicKeyCredentialDescriptor
needs to be enabled for this to work?
Cf. https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.PublicKeyCredentialDescriptor.html#method.transports
I just submitted the updated idl to web-sys for this.
I was told that
getTransports
was recently added to themaster
branch; however I don't believe that is true. Iclone
dmaster
just yesterday (i.e., after the comment was made), and I am still seeingnull
fortransports
in the JSON:Here is a snippet of the application that registers the key:
I am saving the raw JSON payload to the database. Registration succeeds, and the payload is mostly correct. Can someone point to me where this was allegedly added, so I can help debug the issue? Perhaps this is a browser problem?
System information
OS: Arch Linux Browser: Firefox 121.0 Client: Vaultwarden's patch to Bitwarden's web-vault v2023.12.0