feat: harden passkeys implementation#27
Conversation
|
@kewde that would be great more defensive programming always welcome! I am actually working on a change that will throw if the data is not base64url before this point but happy to have checks on both sides 👍 |
|
@peterferguson where would you prevent to have the base64 checks instead? |
i think it's ok |
I think it is fine where you have it but I am working on updates that make the library compatible with the web api. You will be able to pass an array buffer directly for those fields. Then on the js side any string passed will be converted from base64url -> buffer. So there will be a defensive guard at that point. |
returnafterhandler.onFailureMissing relying party IDfixes: https://github.com/ExodusMovement/exodus-mobile/issues/32373
@joshua-rogers-exodus what about Android w.r.t, we don't parse it there, just pass it on to the underlying library, which I assume checks it as well?
Missing relying party IDcc @peterferguson happy to help upstream any of these changes if interested,