I have a self-signed root certificate with just the code signing extension (no other extensions) in my Mac keychain; I use it to sign all code coming out of ∞labs using Apple's codesign tool and it works great.
I was looking to expand myself a little and doing some Java development. I know Apple provides a KeyStore implementation that r...
This question discusses encrypting data on the iPhone using the crypt() function. As an alternative, is there a keychain on the iPhone and if so, what code would I use to access it in order to store login details and then retrieve them for us in an application?
...
Encounter a Record lock Using CHAIN when updating a LF. This record was previously open using a cursor in SQL. thank you
...
I was having a problem where my Dev cert didn't expand (was not linked) to my private key.
I tracked the issue down to a discrepancy in the email used to create my Dev Cert and the one keychain was auto-selecting when I installed my CSR that I created to make my Dev cert.
I verified this by examining the contents of my CSR as follows.
...
On Mac OS X Leopard - when I try and access a remote repository from Terminal it always asks for:
1. Password
2. Username
3. Password (again)
with the message: "Authentication realm: http://svn.myserver.com:80 Subversion"
I've checked and my credentials are being stored in Keychain and SVN has access to them. Why won't it use them?
...
I'm looking for a way to dump (export) the contents of an OS X keychain into a file that I can easily process elsewhere, such as tab-delimited plaintext or something of the sort.
The Keychain Access app does not offer any such functionality, and getting a key's data involves opening each in turn, and having to type in the keychain's pas...
I'm trying to use this class:
http://log.scifihifi.com/post/55837387/simple-iphone-keychain-code
to save data to the keychain on the iPhone. I've included the header and the .m file in my application and included the security framework, however I'm still getting these undeclared errors.
I can't seem to find any tutorials or help file ...
I'm writing a small program (a twitter client) in Java, aimed at Mac OS X. As part of its functionality, it needs to have a place to store the twitter username/password. The natural place would be the mac keychain, but I can't find any way of accessing it.
Is there any way of accessing the mac keychain from Java, or failing that, what i...
Hello everyone,
I'm trying to add a public and private RSA keys to the iPhone's keychain, so I can use the CommonCrypto library, but am not entirely sure how to do that. The MYCrypto library seems to only work for the Mac and not the iPhone right now. Can anyone help and explain how to add a private/public key to the keychain and get a ...
I need my application to use client's phone-number to generate unique ID for my web-service. Of course a phone-number is unique, but it must be secured. So it can be implemented with symmetric encryption (asymmetric will be later, because leak of resources), but I do not know where to store a encryption-key.
1.
I do not know why, but s...
I'm reposting my question from discussions.apple.com since it hasn't been answered, yet:
Certificates created with "/System/Library/CoreServices/Certificate Assistant.app" (verion 2.0, build 32175) lack many standard X509v3 extensions, not limited to but most notably:
Subject Key Identifier ( 2 5 29 14 )
Authority Key Identifier ( 2 5...
I'm trying to get the attributes of a keychain item. This code should look up all the available attributes, then print off their tags and contents.
According to the docs I should be seeing tags like 'cdat', but instead they just look like an index (i.e., the first tag is 0, next is 1). This makes it pretty useless since I can't tell whi...
How can I use a non-default keychain in XCode iPhone project.
I have already tried '--keychain mycerts.keychain' in 'Other Code Signing Flags' in 'Code signing' build settings.
...
I would like to generate public and private key pairs and then store them in a private store, instead of the iphone's key chain. Is there a way to use to use the security apis on the IPhone to generate key pairs and not store them in the keychain? When I looked at the SecKeyRef it is an opaque pointer.
...
I had an older mac mini that I had used to register the certifications and....etc.
I never really got to the stage for actually using them since i only tested on the iPhone simulator.
Today I have a new mac mini, and i am trying to deploy to a device.
Is there any gotchas here that im missing with this new mac mini?
When i Build & Go t...
I'm trying to do something similar to this code sample but in RubyCocoa. In particular, I'm having some trouble trying to build a SecKeychainAttributeList. I suspect I need to make use of Array#pack or something to build a suitable structure in Ruby. Any advice on how to build the equivalent of attributes in the following chunk of code w...
I'm trying to translate some of the following sample code into RubyCocoa :-
SecAccessRef createAccess(NSString *accessLabel)
{
OSStatus err;
SecAccessRef access=nil;
NSArray *trustedApplications=nil;
//Make an exception list of trusted applications; that is,
// applications that are allowed to access the item withou...
I am using trying to utilize some code found here to store and retrieve username and password. However, when I add the class (SFHFKeychainUtils) I get the following errors:
"_kSecAttrAccount", referenced from:
_kSecAttrAccount$non_lazy_ptr in SFHFKeychainUtils.o
"_SecItemDelete", referenced from:
+[SFHFKeychainUtils dele...
I have developed an iphone application in which i am encryptind and decrypting data using public and private key.
I want to see this keys in the keychain.
I got the keychain entry for mac applications under Applications/utilities,But what is the location for iphone simulator keychain and keychain for iphone Os itself on device.
...
My app connects to the Schwab OFX server using NSURLConnection . Unfortunately the server uses a very recent intermediate certificate that is trusted on the Mac desktop but not yet the iPhone. (Try the URL—you'll get a cert error on iPhone.)
There's no easy way to tell NSURLConnection to ignore an invalid cert that I know of. Thus I'm t...