Skip to content

Comments

Override hardware attest keys#130

Merged
JingMatrix merged 1 commit intomainfrom
refactor
Feb 9, 2026
Merged

Override hardware attest keys#130
JingMatrix merged 1 commit intomainfrom
refactor

Conversation

@JingMatrix
Copy link
Owner

@JingMatrix JingMatrix commented Feb 8, 2026

Modify Keystore2Interceptor to detect hardware-backed attestation keys during the getKeyEntry post-hook. If an attestation key is found, generate a software-backed replacement, update the certificate chain, and cache the key in KeyMintSecurityLevelInterceptor.

@JingMatrix JingMatrix force-pushed the refactor branch 2 times, most recently from 394a6d0 to 3c2cd2b Compare February 9, 2026 12:18
Detect and override hardware-backed attestation keys in `Keystore2Interceptor` during the `getKeyEntry` post-hook. This addresses scenarios where a target application successfully requested an attest key before TEESimulator was installed. By parsing the response, we identify these pre-existing keys, replace them with software-generated alternatives, update the certificate chain, and register them in `KeyMintSecurityLevelInterceptor` to ensure future operations remain under control.
@JingMatrix JingMatrix changed the title Override hardware attest keys and extend parameter logging Override hardware attest keys Feb 9, 2026
@JingMatrix JingMatrix merged commit 0485379 into main Feb 9, 2026
1 check passed
@JingMatrix JingMatrix deleted the refactor branch February 9, 2026 12:47
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.

1 participant