Skip to content

Fix default certificate subject#166

Merged
JingMatrix merged 1 commit intomainfrom
merge
Mar 21, 2026
Merged

Fix default certificate subject#166
JingMatrix merged 1 commit intomainfrom
merge

Conversation

@JingMatrix
Copy link
Owner

The AOSP KeyMint reference implementation uses "CN=Android Keystore Key" (lowercase 's') as the default certificate subject when no CERTIFICATE_SUBJECT tag is provided.

Reference: https://cs.android.com/android/platform/superproject/main/+/main:frameworks/base/keystore/java/android/security/keystore/KeyGenParameterSpec.java;

The AOSP KeyMint reference implementation uses "CN=Android Keystore Key" (lowercase 's') as the default certificate subject when no CERTIFICATE_SUBJECT tag is provided.

Reference: https://cs.android.com/android/platform/superproject/main/+/main:frameworks/base/keystore/java/android/security/keystore/KeyGenParameterSpec.java;
@JingMatrix
Copy link
Owner Author

Also fixed independently in fork commit: Enginex0@8c395ed

@JingMatrix JingMatrix merged commit e82b982 into main Mar 21, 2026
1 check passed
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.

2 participants