Skip to content
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

Can not ger private RSA key #31

Open
k06a opened this issue Nov 27, 2014 · 1 comment
Open

Can not ger private RSA key #31

k06a opened this issue Nov 27, 2014 · 1 comment

Comments

@k06a
Copy link

k06a commented Nov 27, 2014

Sometimes I got:

Error getting RSA private key: Error Domain=com.kishikawakatsumi.uickeychainstore Code=-34018 "The operation couldn’t be completed. (com.kishikawakatsumi.uickeychainstore error -34018.)"

for this code:

NSError *error = nil;
NSData *key = [UICKeyChainStore dataForKey:self.privateKeyTag error:&error];
if (key == nil) {
    NSLog(@"Error getting RSA private key: %@", error);
    return nil;
}
@gabu
Copy link

gabu commented May 6, 2015

FYI #14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants