Permalink
Browse files

This is v1, it is all I need currently.

  • Loading branch information...
1 parent 1877001 commit 3253d2570939b094dc07e4e1bd23f934625eb0a3 @torsten committed Nov 4, 2008
Showing with 14 additions and 10 deletions.
  1. +1 −0 .gitignore
  2. +1 −1 Makefile
  3. +9 −6 README.md
  4. +3 −3 keychain_access.c
View
@@ -1,2 +1,3 @@
*.o
keychain_access
+.DS_Store
View
@@ -1,5 +1,5 @@
TARGET = keychain_access
-VERSION = v0
+VERSION = v1
REV = $(shell git rev-parse --short=4 HEAD || cat git-rev)
DEBUG = -g
View
@@ -1,16 +1,19 @@
# keychain_access
-The idea behind keychain_access is to provide Keychain features to the command
-line. Apples security(1) command already does some of this.
+The idea behind keychain_access is to provide Keychain features in the command line. Apples security(1) command does already some work of this. Unfortunately there is no convenient way to to access public/private key pairs stored in the Keychain via security(1).
-Unfortunately there is no convenient way to to access public/private key pairs
-stored in the Keychain over security(1). This is why I wrote keychain_access,
-I wanted to use private keys stored in my keychain in command line scripts.
+This is why I wrote keychain_access. I wanted to use private keys stored in my keychain in command line scripts. This is helpful for signing builds for
+Sparkle without having to type my password all the time. But at the same time you do not have to worry that your private keys are stored in plaintext on your harddrive.
## Installing
-Type <code>make</code> and then copy the executable named "keychain_access" to wherever you like.
+Type <code>make</code> and then copy the executable named "keychain_access" to wherever you like in your $PATH.
+
+
+## License
+
+MIT.
## Author
View
@@ -57,8 +57,8 @@ int kca_print_private_key(SecKeychainItemRef p_keyItem,
// cssmKeyPtr->KeyHeader.LogicalKeySizeInBits);
- CFDataRef exportKey;
- exportKey = CFDataCreate(NULL, "1234", 4);
+ // CFDataRef exportKey;
+ // exportKey = CFDataCreate(NULL, "1234", 4);
SecKeyImportExportParameters keyParams;
@@ -198,7 +198,7 @@ int main(int argc, char const *argv[])
{
if(argc != 2)
{
- fprintf(stderr, "Usage: keychain_access [-vh] item_name\n");
+ fprintf(stderr, "Usage: keychain_access [-v] item_name\n");
return 1;
// TODO:

0 comments on commit 3253d25

Please sign in to comment.