platform_system_security/keystore/tests
Eran Messeri 2ba77c303c KeyStore: Fix key name decoding
The key name is encoded into the filename containing the (encrypted) key
material.

Since the key name might contain characters that are not valid in a
filename, the name is encoded using a multi-character custom encoding
scheme.

However, the decoding function did not decode the key name correctly -
in particular, spaces were decoded to 'P', causing CtsVerifier tests
that install a key with a space in the name to fail (due to internal
inconsistency between the key names in KeyChain's DB and key names
obtained from Keystore).

Fix by correctly compensating for the "carrier" character.

Test: atest keystore_unit_tests
Bug: 116716944
Change-Id: I0326a9d9e6912b04bb13b3b350ead8ddcfcc12f8
2018-12-04 12:35:27 +00:00
..
aaid_truncation_test.cpp KeyStore: Limit the Attestation Application ID 2018-08-16 18:53:15 +01:00
Android.bp KeyStore: Fix key name decoding 2018-12-04 12:35:27 +00:00
auth_token_formatting_test.cpp Move some HIDL support utils to KM4 support 2018-01-25 21:00:51 -07:00
auth_token_table_test.cpp Multithreaded Keystore 2018-10-31 14:31:26 -07:00
blob_test.cpp KeyStore: Fix key name decoding 2018-12-04 12:35:27 +00:00
confirmationui_rate_limiting_test.cpp Implement rate limiting on a per app basis for confirmationui 2018-03-14 13:36:56 -07:00
gtest_main.cpp Fix AuthTokenTable tests. 2016-03-25 12:34:28 -06:00
list_auth_bound_keys_test.sh Added listUidsOfCredentialBoundKeys method to AIDL 2018-11-14 19:16:03 -07:00
Makefile Fix AuthTokenTable tests. 2016-03-25 12:34:28 -06:00