-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
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
iOS Keychain Sharing #18
Comments
I think for now you can prefix bundle identifier in all your keys to uniquely identify between your multiple apps. |
Hi Team I want to thank you too, I'm very noob in Ionic and Cordova and this kind of plugins make my life easier. XD Thanks again |
Did you get key sharing to work on ionic apps |
@coreykouns Did you find any solution? |
Hi there, I was wondering if you managed to make this work because I am in the same boat as you. I really need to transfer some account info to my extension and keychain sharing seems to be the best option. |
Hi, |
Thnx for the response guys. I also found this: https://plugins.telerik.com/cordova/plugin/keychain-sharing. Gonna have to check if it works. If it doesnt ill be trying your plugin @marcRDZ |
I was able to make this work by using secure storage plugin. You also need
to turn on Keychain sharing capability for the app.
…On Tue, Mar 27, 2018 at 10:41 AM, Cakaaa ***@***.***> wrote:
Hi there, I was wondering if you managed to make this work because I am in
the same boat as you. I really need to transfer some account info to my
extension and keychain sharing seems to be the best option.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AE4ihBC5FoR4ytoZKPdd7b-2rwgPtD09ks5tik-GgaJpZM4MZYPd>
.
|
@rs743 This one you mean https://github.com/Crypho/cordova-plugin-secure-storage ? How did you connect the Keychain sharing capability because i dont see anything about that capability in the docs of that plugin. Reading the ios docs, i am assuming you applied the correct attributes to the keys inside the keychain, is that correct? It says right here that attributes can define how data is shared.
from the docs: https://developer.apple.com/documentation/security/keychain_services/keychain_items/item_attribute_keys_and_values |
@jkeczan It seems that ill have a few options without implementing it myself ^^ |
use the plugin https://ionicframework.com/docs/native/secure-storage/
create secure storage with the same name you are using when enabling
keychain sharing capability using xcode
…On Tue, Mar 27, 2018 at 1:35 PM, Cakaaa ***@***.***> wrote:
@rs743 <https://github.com/rs743> This one you mean
https://github.com/Crypho/cordova-plugin-secure-storage ? How did you
connect the Keychain sharing capability because i dont see anything about
that capability in the docs of that plugin. Reading the ios docs, i am
assuming you applied the correct attributes to the keys inside the
keychain, is that correct? It says right here that attributes can define
how data is shared.
In addition to the data that you want to store, keychain items also have
attributes that allow you to find them later and that allow you to control
how the data is used or shared.
from the docs: https://developer.apple.com/documentation/security/
keychain_services/keychain_items/item_attribute_keys_and_values
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AE4ihKY4itfeef1Rd9obgJ1HjEaJEY5Wks5tinhMgaJpZM4MZYPd>
.
|
@rs743 Thanks for the info. Much apreciated! :D |
@rs743 None of the callbacks are triggered. I have enabled Keychain sharing and used that as the initializer for the constructor
I have also tried using just a random string but none of it works. Did you by any chance experience the same issue? |
Also have same issue as @Cakaaa, none of my callbacks are triggered |
@johnopaluwa My problem was this piece of code in my index.html. For some reason, it blocked some of my plugins. When i removed it, everything just started working.
|
@Cakaaa thanks for the information |
I've added the Keychain Sharing capabilities to this plugin. (You can't use Ionic typescript bridge for this) My fork. |
Hello developers!
Thank you very much for implementing this plugin. It is very easy to use and has a clean, simple implementation. However, my team is hoping to use this plugin in order to access a shared Keychain across multiple apps for our company, and are struggling to come up with a solution.
We have been unable to find a way to specify an accessGroup within your plugin, even after modification of the .m files within src/ios. On two separate apps, we have enabled Keychain Sharing through XCode, given them both the same Keychain Group name within their .entitlements files, and also enabled iCloud for good measure through our Apple Developer site. They both use the same Bundle Seed as well.
Would you be able to shed any light on how we might implement Keychain Sharing using your plugin? Any help or suggestions would be greatly appreciated.
The text was updated successfully, but these errors were encountered: