commit | cd7f7417e0dd22ec702bd08de46ed77ac2ea2ce9 | [log] [tgz] |
---|---|---|
author | Max Bires <jbires@google.com> | Fri Feb 11 13:47:36 2022 -0800 |
committer | Max Bires <jbires@google.com> | Wed Feb 16 22:12:40 2022 -0800 |
tree | 77a998bde4a884ceca0cf9077c008cfbf14b78b5 | |
parent | 55620ff9a82c0216b50d988541186f95091383d6 [diff] |
Adding additional call to delete expired keys Placing a call to delete all expired attestation keys directly in the function responsible for retrieving them. This guarantees that any key selected will be fresh. This also modifies delete_expired_attestation_keys to create a time buffer so that a key can't be milliseconds away from expiration when this call returns. Test: atest keystore2_tests Change-Id: I6f83eb65d02d8583d054c56ef6c572f3ee2e8e24