Python WebAuthn:无法验证证明声明格式

Python WebAuthn: Unable to verify attestation statement format

我已经使用 DuO 实验室的 webauthn 使用 Django 实现了某种无密码身份验证。但是,我不断收到此错误:

Unable to verify attestation statement format..

在我的 Android phone 上进行身份验证时(至少目前如此)。 如何包含更多证明格式以将 AndroidWindows hello 和任何其他设备纳入此库的证明格式?

webauthn 库的当前版本 only supports the following attestation formats:

  • "fido-u2f"
  • "packed"
  • "none"

你提到你正在尝试注册一个 Android 设备 - 没有看到你从 navigator.credentials.create() 的呼叫中返回的响应我有根据的猜测你是得到图书馆无法验证的 "android-safetynet""android-key" 证明声明的回复。