We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It is not possible to set additional security on KeyChain items to ensure users presence. See: https://developer.apple.com/documentation/security/secaccesscontrolcreatewithflags(_:_:_:_:)
e.g. let access = SecAccessControlCreateWithFlags( nil, kSecAttrAccessibleWhenUnlockedThisDeviceOnly, .userPresence, nil )
You hand those flags over in kSecAttrAccessControl attribute on a keychain query.
Why can this be a security risk not to hand those flags over? https://stackoverflow.com/questions/69752685/understanding-the-access-control-setting-userpresence-for-keychain-items TL;DR: There is especially a security risk for jailbroken devices.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It is not possible to set additional security on KeyChain items to ensure users presence.
See: https://developer.apple.com/documentation/security/secaccesscontrolcreatewithflags(_:_:_:_:)
e.g.
let access = SecAccessControlCreateWithFlags(
nil,
kSecAttrAccessibleWhenUnlockedThisDeviceOnly,
.userPresence,
nil
)
You hand those flags over in kSecAttrAccessControl attribute on a keychain query.
Why can this be a security risk not to hand those flags over?
https://stackoverflow.com/questions/69752685/understanding-the-access-control-setting-userpresence-for-keychain-items
TL;DR: There is especially a security risk for jailbroken devices.
The text was updated successfully, but these errors were encountered: