-
Notifications
You must be signed in to change notification settings - Fork 295
Add a Signing ID Format Helper #1365
Add a Signing ID Format Helper #1365
Conversation
There was a problem hiding this 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.
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. |
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.