作者:文帅zssw | 来源:互联网 | 2023-05-17 03:39
KeychainTouchIDappwasinstalledusingXcodeandexecuted.ThekeywasgeneratedbypressingAd
- KeychainTouchID app was installed using Xcode and executed. The key was generated by pressing "Add protected key" and it was used by pressing "Use protected key". The key was generated using Secure Enclave.
KeychainTouchID应用程序是使用Xcode安装并执行的。通过按“添加受保护的密钥”生成密钥,按“使用受保护的密钥”即可使用密钥。密钥是使用Secure Enclave生成的。
- Encrypted iPhone backup on the computer was made using iTunes. All content and settings where erased (Settings -> General -> Reset -> Erase All Content and Settings).
计算机上的加密iPhone备份是使用iTunes制作的。删除的所有内容和设置(设置 - >常规 - >重置 - >删除所有内容和设置)。
- Encrypted iPhone backup was restored to the same iPhone.
加密的iPhone备份已恢复到同一iPhone。
- Reinstallation for KeychainTouchID app needed to do as it was instaled using Xcode.
需要重新安装KeychainTouchID应用程序,因为它是使用Xcode进行的。
- KeychainTouchID app was executed.
KeychainTouchID应用程序已执行。
- So after that:
那之后:
By pressing "Use protected key" returns -26276 (AAPLKeychainTestsViewController.m @ 288 function -> SecItemCopyMatching)
按“使用受保护的密钥”返回-26276(AAPLKeychainTestsViewController.m @ 288函数 - > SecItemCopyMatching)
By pressing "Delete protected key" reutrns -4 (AAPLKeychainTestsViewController.m @ 326 function -> SecItemDelete)
通过按“删除保护键”重新加速-4(AAPLKeychainTestsViewController.m @ 326功能 - > SecItemDelete)
By pressing "Add protected key" returns success, but deletion and usage is not possible.
通过按“添加受保护的密钥”返回成功,但无法删除和使用。
I found here: errSecInternal = -26276, /* An internal error occured in the Security framework. */
我在这里找到:errSecInternal = -26276,/ *安全框架中发生内部错误。 * /
So in this case I can not access new added key.
所以在这种情况下我无法访问新添加的密钥。
I did post this issue to Apple team, but no answer for more than 1 month.
我确实将这个问题发布给了Apple团队,但是超过1个月没有答案。
1 个解决方案