gohypergiant / BPXLUUIDHandler

214 stars 37 forks source link

Problem with access group #4

Closed ulfie22 closed 11 years ago

ulfie22 commented 12 years ago

The function of the access group isn't covered in the documentation. My guess is that setting it will allow multiple apps with the same setting to access the same keychain entry and thereby learn of each other's presence on the device. However, if i set it:

[BPXLUUIDHandler setAccessGroup:@"some_name_of_mine"];

when the function

[BPXLUUIDHandler UUID]

gets called, this error results in the log:

BPXLUUIDHandler Keychain Save Error: -25243

Am I misunderstanding the function of setAccessGroup?

Thanks for publishing this - it is really helpful.

ngreenstein commented 11 years ago

The access group allows multiple apps from the same developer to share keychain entries. Check out the comment in BPXLUUIDHandler.h and Apple's documentation for details.