| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
fsync!
Change-Id: Ie6c5397202579935ac69bf61d3e7b3081ecf269c
|
|
|
|
|
|
| |
http://b/issue?id=3020049
Change-Id: I429c5b2c9f3b876e6197894a9437952d71d5c472
|
|
|
|
|
| |
Bug: 2976294
Change-Id: I34b13cedbf1d2338163ef74454817c318a3a24f5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
By default, when java converts Strings to bytes, it uses the
default system locale. This can be specified by the -Dfile.encoding
option. If no file encoding is specified, java uses ISO8859_1.
Unfortunately, not all unicode characters can be mapped to
ISO8859_1. Unmappable characters may be replaced by a byte
within ISO8859_1, which may change the meaning of the String.
This is especially problematic for password strings, and has
been used to compromise the security of passwords in the
past.
Thankfully, Android uses UTF-8 by default, so this bug doesn't
effect Android devices. However, it's recommended to explicitly
list the character set when converting to/from bytes to
avoid the potential ambiguity.
Change-Id: Iec927e27ed3fc103696c439f6bd3e8779a37ade8
|
| |
|
|
|
|
|
| |
Make constants final.
Only converts ArrayLists to arrays when necessary.
|
|
|
|
| |
Added support for retrieving and generating keys as Hex Strings.
|
|
|
|
| |
A simple keystore to store system-only key material, by leveraging file system access permissions.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Change-Id: I9a550c6edc55d5c2c601223c011922b183cb4d30
|
|
|
|
| |
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.
|
|
|
|
| |
Also add the unlock action string to Keystore.
|
|
|
|
|
|
|
|
| |
+ 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.
|
|
|
|
| |
Extract all CA certificates in a PKCS12 keystore into a single entry in keystore with multiple PEMs.
|
| |
|
|
|
|
| |
This will fix the endian issue for heterogeneous architectures in keystore marshalling interface.
|
|
|
|
| |
+ add the log print if the browser give the incorrect data in addCertificate().
|
| |
|
|
|
|
| |
+ Fix the public key matching and intent parameter mismatch.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
The function will be called from the credential storage for decoding
the pkcs12 file and saving the certs/keys into mini-keystore.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
Keystore is reimplemented and it is mainly for storing
(key, value) pair generically. The certificate related
APIs are moved to the class CertTool instead.
Updates:
Provide the getInstance() which gives the singleton.
Fix the missing construction of the BIO in cert.c.
|
| |
|
|
|
|
|
|
| |
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. Have the new Keystore for mini-keystore impelemntation.
2. Add CertTool library and jni dll for handling keygen and certificates.
3. Make Reply hidden.
4. Revert some 'incorrect' change and correct the description.
|
|
|
|
|
|
| |
encoding.
In WebView, if we run into the certificate, we will save it to the Keystore instead of sending it to the WebKit.
|
|
|
|
|
| |
1. simplify the keypair selection in UI.
2. add the user certificate and key into the keystore for keygen feature.
|
|
|
|
|
|
| |
* changes
change the parameter to the index to the supported key strengths
remove the exception class as it is not useful now
|
| |
|
|
-- added the keystore library for Java application.
-- changed the marshalling of the keystore function return.
|