Skip to content

Commit

Permalink
clear stale sample entries from failures
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Nov 18, 2018
1 parent ea13cb0 commit 9ffd188
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ protected Boolean doInBackground(final Void... params) {
final KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore");
keyStore.load(null);

keyStore.deleteEntry(KEYSTORE_ALIAS_SAMPLE);
final KeyGenParameterSpec.Builder builder = new KeyGenParameterSpec.Builder(KEYSTORE_ALIAS_SAMPLE,
KeyProperties.PURPOSE_SIGN | KeyProperties.PURPOSE_VERIFY)
.setAlgorithmParameterSpec(new ECGenParameterSpec(AttestationProtocol.EC_CURVE))
Expand Down

0 comments on commit 9ffd188

Please sign in to comment.