summaryrefslogtreecommitdiffstats
path: root/cmds/keystore/keystore.c
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Don't chdir into the keystore directory"Chia-chi Yeh2010-06-191-39/+18
| | | | | The same functionality can be achieved by running "stop keystore". This reverts commit 831c6cc7c1cfcf1271c75dc960948ab6ce720b67.
* Don't chdir into the keystore directoryColin Cross2010-06-171-18/+39
| | | | | | | | If the keystore daemon chdir's into /data/misc/keystore, /data can never be unmounted. During bringup, it's helpful if we can umount /data and reformat it. Change-Id: Id5b93ee8a54846fd07e6e0e57bfd0a6fabf603ee
* keystore: add AID_ROOT into the user table.Chia-chi Yeh2010-03-091-5/+6
| | | | Change-Id: I4b9cf24d75ca79583d7913bbb2c33745a2316cde
* keystore: compute the padding in an intuitive way.Chia-chi Yeh2009-12-301-7/+3
|
* keystore: Add paddings before checksumming.Chia-chi Yeh2009-12-221-10/+13
| | | | | | Also fix a file descriptor leak when file system is nearly full. Bug: 2339184
* keystore: rename scan() to saw().Chia-chi Yeh2009-09-221-4/+4
|
* keystore: enable delete(), scan(), exist() when keystore is locked.Chia-chi Yeh2009-09-211-4/+14
| | | | Also check end-of-file explicitly.
* keystore: switch to multi-user version.Chia-chi Yeh2009-09-181-7/+7
|
* keystore: add multi-user support.Chia-chi Yeh2009-09-181-0/+532
| | | | Change-Id: I60268261110934a1d60efa341ff530f94415724f
* Implement the generic mini-keystore for security.Chung-yih Wang2009-07-021-315/+0
| | | | | | | | | | | | | | | 1. We will progressively migrate to this implementation. 2. For richc to have a quick review on the keymgmt part. 3. Add remove_key and make sure all functions are working. 4. Add permission check for get operation. 5. Return the retry count if unlock failed. 6. Add the reset operation for keystore reset. 7. Add the putfile shell command for putting the key value from file. 8. Fix the boundary issue during parsing command. 9. Use the ' ' as delimiter and reset the reply structure for each request. 10. Add change password retry count check. 11. Extract the read_marshal/write_marshal for certtool.h. 12. Remove the old implementation.
* Change the keystore APIs.Chung-yih Wang2009-06-171-20/+80
| | | | | 1. simplify the keypair selection in UI. 2. add the user certificate and key into the keystore for keygen feature.
* Provide the Keystore feature in the framework.Chung-yih Wang2009-06-111-19/+26
| | | | | -- added the keystore library for Java application. -- changed the marshalling of the keystore function return.
* First version of the keystore service.Chung-yih Wang2009-06-081-0/+248
The keystore service is protected by the user 'keystore'. Only keystore user/group can access the key content. All users are able to do the following commands from shell as well: listcerts listuserkeys installcert removecert installuserkey removeuserkey