granoff / Lockbox

Objective-C utility class for storing data securely in the key chain.
MIT License
847 stars 87 forks source link

Sharing keys with iOS Today Widget #51

Closed marcelosalloum closed 8 years ago

marcelosalloum commented 8 years ago

Hi guys,

is that possible to share the lockbox instance and it's data between multiple targets, where one of them is an iOS Widget?

Thanks

granoff commented 8 years ago

Without having looked at the details, I think the answer is Yes. You have to setup your project to allow for keychain sharing and you would likely need to give Lockbox a specific identifier to use so its stored values wind up in the right place.

marcelosalloum commented 8 years ago

I followed this tutorial and managed to do it.