WebAuthn 验证

Tags
webapiauth
Created
Oct 31, 2018 8:57 AM

注册时客户端生成:

  • rawId
  • response<AuthenticatorAttestationResponse>
    • attestationObject
    • clientDataJSON

登陆时客户端根据 rawId 生成:

  • rawId
  • response<AuthenticatorAssertionResponse>
    • authenticatorData
    • clientDataJSON
    • signature

服务端验证:

… // 参考 https://github.com/apowers313/fido2-lib

SuperMade with Super