History log of /frameworks/base/core/java/android/security/keystore/recovery/KeyDerivationParams.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
86f5bb1a8cfe2d169767fb723d315955dda3a0e6 28-Mar-2018 Dmitry Dementyev <dementyev@google.com> Remove deprecated generateAndStoreKey method implementation

Bug: 77156834
Test: GTS, apct.
Change-Id: I23791fced21308467afc60cc16efc4aee7074134
/frameworks/base/core/java/android/security/keystore/recovery/KeyDerivationParams.java
3cda0f298934526d95e8ed1f2d10610febdf5015 30-Mar-2018 Bo Zhu <bozhu@google.com> Merge "Minor correction to the javadoc to match implementation" into pi-dev
ba94b9ab002758a19e016f7c06f003def5b61ad4 30-Mar-2018 Bo Zhu <bozhu@google.com> Minor correction to the javadoc to match implementation

Change the number of bytes for the length prefix for salted hash to be
4-byte instead of 1-byte

Bug: 77294103
Test: None
Change-Id: Ifa2739c757539e9b7d2aaa1ea702de0148a311ba
/frameworks/base/core/java/android/security/keystore/recovery/KeyDerivationParams.java
52c15f1699e60c0701cc21a69847a005efe87bc9 29-Mar-2018 Robert Berry <robertberry@google.com> Add warning comment about serialization

As it's important we do not break serialization of KeyChainSnapshot
(as it could fail in weird and mysterious ways if we did), add
comments warning anybody editing those files to also update the
serializer and deserializer, as well as appropriate tests.

Test: none, just adding comments
Bug: 73921897
Change-Id: If73162b8fb2a0b44fd954b72c9030cd9e042282b
/frameworks/base/core/java/android/security/keystore/recovery/KeyDerivationParams.java
fd4ae0b2ddd58f6acbb19632f20e40024e3d85b1 23-Mar-2018 Dmitry Dementyev <dementyev@google.com> Add NonNull annotation to more parameters in Recovery Controller.

Use Builder instead of deprecated constructor for KeyDerivationParams.
Bug: 75952916
Test: adb shell am instrument \
-w -e package com.android.server.locksettings.recoverablekeystore \
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I223e4dc1aa92cbde60e53b364ed74a452d3f6bbd
/frameworks/base/core/java/android/security/keystore/recovery/KeyDerivationParams.java
40d8a45b23fef543f183bfc2a061ec7d96b6e252 22-Mar-2018 Bo Zhu <bozhu@google.com> Unhide the enum/function for the password hashing algorithm scrypt

Bug: 75024420
Test: none, it's just unhiding APIs
Change-Id: I9cbb327678d334079e2c660d85013f3073d4cb87
/frameworks/base/core/java/android/security/keystore/recovery/KeyDerivationParams.java
e066a59436579f8d7961e97e4aef6e26e5e1c659 20-Mar-2018 Bo Zhu <bozhu@google.com> Minor changes to the API to align the choice of password hashing
algorithm

The password hashing algorithm has existing implementation in AOSP.

Bug: 75024420
Test: None
Change-Id: If1b07dadf21837af1cb2835df3f12c234894f57e
/frameworks/base/core/java/android/security/keystore/recovery/KeyDerivationParams.java
c1742e51378c3ec99a0e5df14dc0c77bcca0d16a 12-Mar-2018 Aseem Kumar <aseemk@google.com> Unhide getKey() and importKey() and the whole class of RecoveryController.
Added @RequiresPermission(android.permission.RECOVER_KEYSTORE) on all
public APIs of RecoveryController.

Bug: 73900159
Test: adb shell am instrument -w -e package \
com.android.server.locksettings.recoverablekeystore \
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner

Change-Id: I1047c038603869307d7a2462a2e5635fcd1c94c2
/frameworks/base/core/java/android/security/keystore/recovery/KeyDerivationParams.java
f8ae5deba2911b7bc8441df31c0504eaaa687add 09-Jan-2018 Dmitry Dementyev <dementyev@google.com> Unhide RecoverableKeyStoreLoader API.

Bug: 66499222
Test: GTS tests under development
Change-Id: I4285beaa26bc94d92f6213a34eb1e41ad0994d7a
/frameworks/base/core/java/android/security/keystore/recovery/KeyDerivationParams.java
0916e7ca44aba5e6c89d75007da805697fdace9e 23-Jan-2018 Dmitry Dementyev <dementyev@google.com> Prepare KeyStore RecoveryController API for review.

- set/get recovery status simplification
- adding account to WrappedKey
- moving recovery methods to the Session class.

There are small cosmetical changes to .aidl which don't affect
implementation logic.

Bug: 72299798
Test: adb shell am instrument -w -e package
com.android.server.locksettings.recoverablekeystore
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner

Change-Id: I9efaa4cde42cf778bb97ed13f62750a65d8c6cb5
/frameworks/base/core/java/android/security/keystore/recovery/KeyDerivationParams.java
81ee34bf957dffe020442e3f0c6c06817397ebf0 23-Jan-2018 Robert Berry <robertberry@google.com> Move APIs to final location in preparation for API review

Leave old APIs in current location for backwards compatibility reasons.

Bug: 72298565
Test: Tried flow with current versions of GMSCore to ensure they work still
Change-Id: Iafc2b8ad8a574460dbb2482a67935debe71f1113
/frameworks/base/core/java/android/security/keystore/recovery/KeyDerivationParams.java