Questions tagged [sskeychain]

An open source wrapper for using the iOS keychain. Available on GitHub.

An open source wrapper for using the iOS keychain. Available on GitHub.

45 questions
0
votes
0 answers

Xcode and macOS - use different keychain for unit tests

I am trying to write some unit tests around the handling of keychain entry / retrieval, and would like to have the tests read/write from a different location while my app is running in the unit test bundle. Ideally it would be to setup a different…
Z S
  • 7,039
  • 12
  • 53
  • 105
0
votes
1 answer

How to maintaining the unique identifier of iPad/iPhone even user reset device?

I have an app that using in some health caring center. When user login to system for the first time, my app will generate a UUID for current device. This UUID will be store it in SSKeychain and insert into DB . Next time, when login app, UUID will…
pbcuong
  • 25
  • 4
0
votes
2 answers

SSKeychain credential store not being set properly?

I have a weird bug with SSKeychain's credentialstore in my iOS app. When a user logs in I store a bunch of info in the credential store. But recently the credential store is not setting the items. What's weird is, it doesn't happen all the time.…
jckly
  • 831
  • 1
  • 11
  • 22
0
votes
1 answer

How to store NSNumber in Keychain iOS

I'm using a rails api with my iOS app and when I create a user I store the response for the user in the keychain. Things like the users auth_token, email etc. One of the json field in the response is a boolean called teecher. I'm struggling to…
jckly
  • 831
  • 1
  • 11
  • 22
0
votes
1 answer

Using SSkeychain to store access_token & user login - AFNetworking

I'm trying to store the users username, password and the access_token the user gets when logging in. I have searched a lot and found others with similar problems. But I'm still pretty new in xcode and objective-c, so I don't know how to use this…
Maje
  • 596
  • 4
  • 12
0
votes
1 answer

How to create/end run loop to properly deallocate memory?

In my ARC iOS app I am running a for loop that ends up with a large memory allocation overhead. I want to somehow end my for loop with minimal/no extra memory allocated. In this instance I am using the SSKeychain library which lets me fetch things…
0
votes
0 answers

iOS SSKeychain breaks after Core Data background action

my app is based on UILocalnotification actions. it has 2 action buttons, one of then use a method that get data from Core Date, modify and save it. Also, i use SSKeychain to store user's token. And the problem is with that, if the app is closed and…
0
votes
1 answer

KeyChain - what is it?

I'm writing my first app for iOS. In it conceived some protection from repetitive actions of the same user device (few, if apple account. Login "login-password" at the application level as such does not exist, therefore it was necessary to implement…
Evgeny Fedin
  • 198
  • 2
  • 11
0
votes
1 answer

SSKeychain implementation load last login and pass

I am new to objective-c. I can not understand how to do, when you start the program automatically inserts the last name that was saved in NSTextFiel and NSSecureTextField. I save the user name and password : - (void)saveLoginPass { if ([checkBox…
Sp1DeR
  • 29
  • 6
0
votes
2 answers

Tracking user without account, installation persistent

I wonder how I can track a user nowadays without user account. From what I have seen, the best solution is to store an id into an SSKeychain. From this post: https://stackoverflow.com/a/21097282/3722523, the user stores the NSUUID in the…
user3722523
  • 1,740
  • 2
  • 15
  • 27
0
votes
1 answer

STKeychain fails to retrieve password after AppStore Update

Scenario: Our app stores the backend token in the device's keychain (STKeychain, ex SFHFKeychainUtils). Background fetch is disabled. An upgrade was recently released. We're getting reports of users having to re-sign in. This seems to be an issue…
0
votes
0 answers

How to read keychain item

I would like to read a keychain item through Objective-C, I found and read the Apple Documentation It shows example code, however after properly linking the required frameworks (SystemConfiguration.framework and Security.framework), it is still not…
Jeremiah Smith
  • 740
  • 6
  • 17
0
votes
1 answer

SSKeychain not found for architecture i386

I have downloaded and included the SSKeychain files into my iOS project. I am coding with the iOS 6.1 SDK in xcode 4.6. I have used a button to take the username and password UITextFields and store them as a keychain account like so: -…
E.Cross
  • 2,087
  • 5
  • 31
  • 39
0
votes
2 answers

SSKeychain - NSArray to NSString/NSMutableString extra characters

I am trying to use SSKeychain in my application to store a user's credentials. I can successfully save the credentails. However, when I try to retrieve the credentials, they are outputted as an NSArray. I want one specific value so I am using…
Krish
  • 3
  • 4
0
votes
1 answer

Keychain Item Updates Denied After Update on Lion

I have an app that stores data in the keychain which will be periodically updated. Unsurprisingly, whenever I update the application, keychain once again requires the user's permission for that build. However, keychain does not permit modification…
Andrew J. Freyer
  • 591
  • 2
  • 12
  • 38
1 2
3