简体   繁体   English

集成密钥 signCount 0

[英]Integrating Passkeys signCount 0

I'm trying to implement passkey into my app.我正在尝试在我的应用程序中实现密码。 I am wondering if ASAuthorizationPublicKeyCredentialAssertion.rawAuthenticatorData supports signCount.我想知道 ASAuthorizationPublicKeyCredentialAssertion.rawAuthenticatorData 是否支持 signCount。 It seems the value is always 0. Thank you!似乎该值始终为0。谢谢!

signCount will always be zero for multi-device credentials (passkeys).对于多设备凭据(密码),signCount 将始终为零。

For security keys, this will contain whatever signCount the security key itself provided.对于安全密钥,这将包含安全密钥本身提供的任何 signCount。 For passkeys, signCount is not supported and will always be 0. That field isn't meaningful for a synced credential that can be used at any time from multiple devices.对于密钥,不支持 signCount 并且将始终为 0。该字段对于可随时从多个设备使用的同步凭证没有意义。 For easier implementation I would use passkeys.com or read more at apple.docs为了更容易实施,我将使用passkeys.com或在apple.docs上阅读更多内容

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM