Apple Identity Pinning 是否有过期日期属性?
Is there expiration date attribute for Apple Identity Pinning?
我已将 public 密钥的哈希固定在 iOS 应用程序 (like there) 上。在 Android 上有设置到期时间的选项:
<pin-set expiration="2022-05-22">
<!-- Pin for: some.service.net -->
<pin digest="SHA-256">lBtyN6YfU7Ij0eOfWidaA519gF1QdLP81iismt4FUdA=</pin>
</pin-set>
iOS NSPinnedDomains 上有类似的选项吗?
目前没有规定在info.plist
中使用NSPinnedDomains
设置pin-set expiration
或到期日。原因如评论中所述,public 密钥没有到期日期,而且 info.plist 中没有字段可以添加到期日期。这是苹果官方文档中的图片:https://developer.apple.com/documentation/bundleresources/information_property_list/nsapptransportsecurity/nspinneddomains
NSPinnedDomains
所以在Apple提供的原生ssl技术中,没有设置到期日期的字段
我已将 public 密钥的哈希固定在 iOS 应用程序 (like there) 上。在 Android 上有设置到期时间的选项:
<pin-set expiration="2022-05-22">
<!-- Pin for: some.service.net -->
<pin digest="SHA-256">lBtyN6YfU7Ij0eOfWidaA519gF1QdLP81iismt4FUdA=</pin>
</pin-set>
iOS NSPinnedDomains 上有类似的选项吗?
目前没有规定在info.plist
中使用NSPinnedDomains
设置pin-set expiration
或到期日。原因如评论中所述,public 密钥没有到期日期,而且 info.plist 中没有字段可以添加到期日期。这是苹果官方文档中的图片:https://developer.apple.com/documentation/bundleresources/information_property_list/nsapptransportsecurity/nspinneddomains
NSPinnedDomains
所以在Apple提供的原生ssl技术中,没有设置到期日期的字段