-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes for Android Keystore Capabilities on older Android devices. (#398)
Android devices shipping with versions before Android 12 are not required to set their KeyMint version number in the properties android.hardware.hardware_keystore and android.hardware.strongbox_keystore. Add code to work around this. In the Secure Area Test App, show name for API level and also show the First API Level and its name (the First API level is the API level the device shipped with). Also add code to work around Android Keystore creating software-backed keys if its Keymint version does not support the requested features. Test: Manually tested on Pixels 4XL, 4a, 7a, 7 Pro, 8 Pro.
- Loading branch information
Showing
2 changed files
with
99 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters