问题描述
我使用 DUO 实验室的 webauthn
使用 Django 实现了某种无密码身份验证。但是,我不断收到此错误:
Unable to verify attestation statement format..
在我的 Android 手机上进行身份验证时(至少目前是这样)。
如何包含更多证明格式以将 Android
、Windows hello
和任何其他设备合并到此库的证明格式中?
解决方法
webauthn
库 only supports the following attestation formats 的当前版本:
"fido-u2f"
"packed"
"none"
您提到您正在尝试注册 Android 设备 - 没有看到您从呼叫 navigator.credentials.create()
中得到的回复}} 或 "android-safetynet"
证明声明,图书馆无法验证。