summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Eran Messeri <eranm@google.com> 2022-03-31 11:06:30 +0100
committer Eran Messeri <eranm@google.com> 2022-03-31 11:06:30 +0100
commitdfe33810c0ecefaa7e132ff170ec15b7f39194ff (patch)
treeca6aadf6029db2bb2649521344b6f3da6ffa0a4e /api/api.go
parentc32215ee947b6eba406fc55920a5700494da2173 (diff)
KeyStore: Surface RKP failures
On systems that rely solely on remotely-provisioned keys (RKP), the attestation keys may run out or be unavailable for attesting a newly-generated key. This could happen when: * the device first connects to the Internet * The device had all the keys used and: ** It hadn't yet completed obtaining new ones. ** The RKP server declines to issue new keys. In these cases, the caller must be informed that their key generation request failed (likely temporarily), and that they should retry it. The retry policy returned tells the caller when to re-try. Bug: 227306369 Test: atest android.keystore.cts.KeyStoreExceptionTest Merged-In: Ief30a3ab97da95b68d172e725c38acbefab92fa9 Change-Id: I0b2619fcbcb3ac4d94ed85f3ce5934e015c0828c
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions