问题描述
是否可以通过rest工具在本地进行测试。我已经创建了后端以生成用于注册新凭据的质询等,但是如果没有WebAuthn响应,如果我创建了从WebAuthn消化响应对象的正确方法,我就茫然了。
Is it possible to test this locally via a rest tool. I've created the backend to generate the challenge etc for Registration of new creds, but without the WebAuthn response I'm at a loss if I have created the correct way to digest the response object from WebAuthn.
推荐答案
如果您正在编写FIDO2 / WebAuthn库,则FIDO Alliance实际上会提供一个应能够生成测试的测试套件:(然后在 FIDO2测试中对注册进行了评论工具部分。
If you're writing a FIDO2 / WebAuthn library, the FIDO Alliance does actually provide with a test suite that should be capable of generating tests: FIDO Alliance - Conformance Self‐Validation Testing (then clic on "registration" in the "FIDO2 Test Tools" section).
请注意,同一FIDO联盟提出了通过REST API公开FIDO2的非强制性标准方法:
Note that the same FIDO Alliance proposes a non-mandatory standard way of exposing FIDO2 through a REST API: Transport Binding Profile
这篇关于通过REST工具测试WebAuthn?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!