sameerkapps / SecureStorage

119 stars 32 forks source link

Support backup accessibility keys for Keychain items #23

Closed nmdias closed 6 years ago

nmdias commented 6 years ago

As is, if a manual backup is made, without a password, an attacker can access the encrypted Keychain Items, and with some degree of effort, decrypt them.

Adding support for the kSecAttrAccessible key would allow to better restrict when a "keychain item is accessible."

Values you use with the kSecAttrAccessible attribute key.

Source: Item Attribute Keys and Values

Is it possible to add support for this?

Thank you.

sameerkapps commented 6 years ago

Done! 2.5.0 has support to set Accessibility. In AppDelegate, you can set "SecureStorageImplementation.DefaultAccessible". Hope that helps.