Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Conversation

@pmarkowsky
Copy link
Contributor

This PR adds a helper function to format the Signing IDs in Santa and to ensure they're always handled and formatted the same way.

It's marked draft until we're sure that it's used everywhere it should be and that folks are happy with it.

@russellhancox russellhancox self-assigned this Jun 10, 2024
Copy link
Contributor

@mlw mlw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be more powerful if things like SID were made into their own type. Having a helper is nice, but there's no format enforcement mechanism by keeping it a string.

@russellhancox
Copy link
Contributor

I think it would be more powerful if things like SID were made into their own type. Having a helper is nice, but there's no format enforcement mechanism by keeping it a string.

Agree in principle but they'll be strings coming in from MOLCodesignChecker and need to be converted back to strings in several other places (syncservice, event database) so the type is only going to ensure that the code in this helper is used in the few places it should be and will make this change significantly bigger for a pretty small gain.

@pmarkowsky pmarkowsky marked this pull request as ready for review June 11, 2024 18:33
@pmarkowsky pmarkowsky requested a review from a team as a code owner June 11, 2024 18:33
@russellhancox russellhancox merged commit 4b0ad39 into google:main Jun 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants