| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I529ca7ed443060089c95fe96dd230288be4b6c96
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I4b9cf24d75ca79583d7913bbb2c33745a2316cde
|
|/
|
|
| |
Change-Id: I0af6ed7c5d51ce4ca39cb837e475942800cf6e2d
|
| |
|
|
|
|
|
|
| |
Also fix a file descriptor leak when file system is nearly full.
Bug: 2339184
|
|
|
|
| |
The new tests will be implemented in java.
|
| |
|
| |
|
|
|
|
| |
Also check end-of-file explicitly.
|
| |
|
|
|
|
| |
Change-Id: I60268261110934a1d60efa341ff530f94415724f
|
|
|
|
| |
and remove some verbose logging
|
|
|
|
|
|
|
|
|
| |
* Refactor netkeystore.c to make client and server code testable.
* Add a client test for setting new passwd and changing passwd.
* Exclude "." and ".." from reset_keystore().
* Change ServerCommand.executeCommand() to accept variable length of
arguments and add convert() to marshalling the args to bytes.
* Keystore.java is revised accordingly.
|
|
|
|
|
|
|
|
| |
+ Use '\0' as the delimiter.
+ Allow whitespace character for keystore password.
In previous implementation, we use space as the delimiter. That
will stop user from using passphrase with whitespace character.
|
|
|
|
| |
This will fix the endian issue for heterogeneous architectures in keystore marshalling interface.
|
|\
| |
| |
| |
| | |
* changes:
Change some log.i to log.d.
|
| | |
|
|/
|
|
| |
+ some boundary checks.
|
| |
|
| |
|
|\
| |
| |
| |
| | |
* changes:
keystore: Provide a generic getter for native components.
|
| | |
|
|/
|
|
|
|
|
| |
1. the certtool.h is modified for avoiding the side effect,
for saving the configuration with wpa_supplicant.
2. put the loadLibrary back in CertTool.java
3. Fix incorrect JNI declarations.
|
|
|
|
|
| |
1. Enforce the state check in listkey().
2. Enforce the password length check.
|
|
|
|
|
|
| |
1. Also change the keyname delimiter in CertTool.java.
2. Return NOTFOUND if the result.len==0 in the listKeys().
3. Define the keystore states in the class Keystore.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
1. simplify the keypair selection in UI.
2. add the user certificate and key into the keystore for keygen feature.
|
|
|
|
|
| |
-- added the keystore library for Java application.
-- changed the marshalling of the keystore function return.
|
|
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
|