commit | df1adeba7fdff6ae1556f647efb155c71918fa76 | [log] [tgz] |
---|---|---|
author | Shawn Willden <swillden@google.com> | Mon Apr 25 08:56:27 2016 -0600 |
committer | Shawn Willden <swillden@google.com> | Fri Apr 29 23:19:56 2016 +0000 |
tree | aa061f2c11b1a84366958cac3334c24d41466066 | |
parent | 637dd8429285bfdc0b89622476ea94d782b1eb14 [diff] |
Reject too-large key attestation challenges. Attestation certificates include an app-provided challenge value, which is defined in the documentation as an arbitrary byte array between 0 and 128 bytes in length, inclusive. SoftKeymaster does not restrict the length of challenge values during key attestation, and it should. Bug: 28369352 Change-Id: Ibf16fb93f3bc82783bcc7736eb6de789be70d7a8