keychain Questions
2
I save the password to keychain with Touch ID flags:
+ (void)setPasscode:(NSString *)passcode
{
CFErrorRef error = NULL;
SecAccessControlRef sacObject;
sacObject = SecAccessControlCreateWithFl...
7
Solved
It is possible to store a NSDictionary in the iPhone keychain, using KeychainItemWrapper (or without)?
If it's not possible, have you another solution?
Moriah asked 30/3, 2012 at 18:41
2
Solved
For some reason I can't get this simple keychain code to work.
//Let's create an empty mutable dictionary:
NSMutableDictionary *keychainItem = [NSMutableDictionary dictionary];
NSString *username...
Yandell asked 11/6, 2014 at 2:8
1
I've been doing research on how to share data between applications securely. I'd like to get some info on the correct way to handle this before I do a deep dive on implementation using the wr...
Maurer asked 9/2, 2016 at 18:5
2
I use keychain to authenticate and then send location info to server in background.
But since kSecAttrAccessibleAlways got depricated, I will have to use kSecAttrAccessibleAfterFirstUnlock. This a...
6
I'm trying to automate the process of building iphone apps with a particular certificate. So imagine if different users uploaded their cert into the system and it was immediately available to code ...
1
Solved
Up till now I believed the iOS keychain was the best way to store usernames and passwords. However, I came across this site that states that:
"without a passcode, all data on the device — includin...
Shrew asked 21/1, 2016 at 1:58
2
Solved
I renewed my IOS Developer Certificate, i deleted old ones from keychains and clicked on my certificate. Everything looks normal in keychains, i have distribution,developer, WWDC certificates in th...
3
I want to store user credentials securely in the iOS Keychain, but I only want the user to be able to use their fingerprint to retrieve the Keychain item. Is there a workflow for calling the Touch ...
Orotund asked 13/11, 2014 at 19:55
1
Solved
I wan't to store sensitive data for my app in the keychain. I'd also like this to sync over devices, using iCloud.
According to Apple this is possible:
Does iCloud Keychain work with third-part...
7
I'm building an iphone app that needs to access a web service over https using client certificates. If I put the client cert (in pkcs12 format) in the app bundle, I'm able to load it into the app a...
Jermainejerman asked 10/1, 2010 at 13:48
2
Solved
I'd like get username/password out of my keychain. for this I followed this guide:
Simple iPhone Keychain Access
But this part is not allowed with ARC:
NSData *result = nil;
OSStatus status = S...
Hesitancy asked 20/4, 2012 at 20:8
1
Solved
I'm banging my head trying to generate a private-public key pair with kSecAttrTokenIDSecureEnclave so that the private key is generated in the secure enclave.
Where is kSecAttrTokenIDSecureEnclave...
2
I'm running into an issue where a Mac OSX 10.11 El Capitan is unable to codesign a binary for adhoc distribution. The issue is bizarre:
I've transferred a distribution cert on this mac
XCode asks...
Phonetician asked 2/10, 2015 at 18:56
3
Solved
As the title of question, I just want to access data saved in keychain on iPhone from Apple Watch.
Can I do that? and how?
Kaye asked 5/3, 2015 at 4:14
0
When an App is deinstalled in Android, do the entries made by this app in the keychain and keystore deleted as well or do they remain like in iOS?
Claudineclaudio asked 15/10, 2015 at 11:37
2
Solved
I want to generate a key pair on an iPhone such that the private key can only ever be used to sign blocks of data on that particular iPhone.
The SecKeyGeneratePair function looks promising. I can ...
Cytosine asked 13/9, 2015 at 14:43
0
in our swift code somewhere there is a class with a method with this signature:
static var getCertificates : [SecCertificate] { ... }
in the generated app-swift.h this results in:
@interface T...
2
Solved
We had this snippet of code with the previous version of Swift
var retrievedData: NSData?
var extractedData: Unmanaged<AnyObject>? = nil
let status = SecItemCopyMatching(keyChainQuery, &a...
2
Solved
I have the following code to create a keychain item in the keychain:
NSMutableDictionary* dict = [NSMutableDictionary dictionary];
[dict setObject: (__bridge id) kSecClassGenericPassword forKey:...
Knighton asked 21/11, 2013 at 17:51
2
Solved
I am observing a keychain error in the device console thrown by SecItemCopyMatching when acting on an iOS 8 push notification on a locked phone. The detailed repro steps are as follows:
Uninstall...
Coastward asked 3/7, 2015 at 3:3
3
Solved
I got tired of typing my password for my bitbucket repo so I looked up a way to use ssh keys but happened upon the osx credential keychain. I thought I had installed it all correctly by following a...
3
Solved
Following Apple example code in: http://developer.apple.com/library/ios/#documentation/Security/Conceptual/CertKeyTrustProgGuide/iPhone_Tasks/iPhone_Tasks.html
I'm able to successfully generate k...
1
Solved
So I have an old sensitive access key that currently has an accessibility of kSecAttrAccessible WhenUnlocked and I want to update it to kSecAttrAccessibleAfterFirstUnlock.
I'm using Lockbox and ca...
1
Solved
I'm using the jenkins-cli.jar file from my jenkins server, and on every run it prompts me for my ssh key passphrase. I'd like it to use my ssh keychain so I don't have to enter it on every invocati...
Cash asked 12/6, 2015 at 15:16
© 2022 - 2024 — McMap. All rights reserved.