Skip to content

KeyUnlockDataProvider: Make it work for both Key Agreement and Signing.#1801

Merged
sorotokin merged 1 commit into
mainfrom
1800-ecdh-key-agreement-unlock-data
Jul 8, 2026
Merged

KeyUnlockDataProvider: Make it work for both Key Agreement and Signing.#1801
sorotokin merged 1 commit into
mainfrom
1800-ecdh-key-agreement-unlock-data

Conversation

@davidz25

@davidz25 davidz25 commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

For the AndroidKeystoreSecureArea implementation of SecureArea the CryptoObject to create depends on whether we are signing or performing key agreement. To do this we need to pass the algorithm being used to KeyUnlockDataProvider.getKeyUnlockData()

Fixes #1800.

Test: Manually tested and all unit tests pass.

For the `AndroidKeystoreSecureArea` implementation of `SecureArea` the
`CryptoObject` to create depends on whether we are signing or
performing key agreement. To do this we need to pass the algorithm
being used to `KeyUnlockDataProvider.getKeyUnlockData()`

Fixes #1800.

Test: Manually tested and all unit tests pass.
Signed-off-by: David Zeuthen <zeuthen@google.com>
@davidz25
davidz25 requested a review from sorotokin July 8, 2026 14:55
@sorotokin
sorotokin merged commit 689af72 into main Jul 8, 2026
3 checks passed
@sorotokin
sorotokin deleted the 1800-ecdh-key-agreement-unlock-data branch July 8, 2026 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AndroidKeystoreSecureArea: Key Agreement for keys with timeout 0 is broken.

2 participants