KEK: Update the get_auth_var_signing_certificate and kek_update_map.json#325
Merged
Flickdm merged 4 commits intomicrosoft:mainfrom Dec 10, 2025
Merged
Conversation
This was referenced Nov 29, 2025
Member
Author
There was a problem hiding this comment.
Pull request overview
This PR updates the get_auth_var_signing_certificate.py script to handle non-standard certificate serial numbers and adds functionality to automatically generate JSON mappings from directories of authenticated files. The key improvement is removing the assumption that certificate serial numbers are valid positive 128-bit integers.
Key Changes:
- Removed the 128-bit positive integer conversion for certificate serial numbers in the matching logic
- Added new directory processing mode that generates JSON mappings for bulk certificate processing
- Extended the return value of
process_auth_fileto include SHA1 and SHA256 thumbprints for convenience
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
37d0de3 to
d9151b0
Compare
apop5
approved these changes
Dec 4, 2025
Javagedes
approved these changes
Dec 9, 2025
8dac934 to
a3bb863
Compare
Javagedes
approved these changes
Dec 10, 2025
Updates the get_auth_var_signing_certificate.py script to not assume that the certificates uses valid positive integers for the serial of the certificate. Also updates the kek_update_map.json to be script created rather than by hand. This should help reduce human error in the future.
a3bb863 to
a8ef663
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Updates the get_auth_var_signing_certificate.py script to not assume that the certificates uses valid positive integers for the serial of the certificate.
Also updates the kek_update_map.json to be script created rather than by hand. This should help reduce human error in the future.
For details on how to complete these options and their meaning refer to CONTRIBUTING.md.
How This Was Tested
N/A
Integration Instructions
N/A