负载是 authenticator data 的 base64 编码——这是 WebAuthn 规范中已有的二进制编码。
不透明字符串的设计意味着应用可 自由切换 Passkey 库或后端语言,无需迁移数据库。
crypto/passkey Go 包 API:注册流程 4 步,登录流程 4 步。
金句
Interoperable, well-specified passkey records that the application can handle as opaque strings, like password hashes, can be a middle-ground abstraction layer.