Skip to content

Commit

Permalink
YAML tag extensions (#547)
Browse files Browse the repository at this point in the history
* add functionality for scanning OID matchers in a CT log entry

Signed-off-by: linus-sun <[email protected]>

* refactor extension functions to support x509 and google_x509

Signed-off-by: linus-sun <[email protected]>

* refactor extension functions to support x509 and google_x509

Signed-off-by: linus-sun <[email protected]>

* extend certMatchesPolicy to support google_x509

Signed-off-by: linus-sun <[email protected]>

* yaml tag oid extensions

Signed-off-by: linus-sun <[email protected]>

---------

Signed-off-by: linus-sun <[email protected]>
  • Loading branch information
linus-sun authored Nov 20, 2024
1 parent bc080b7 commit 6c2f5c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/fulcio/extensions/extensions.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,9 @@ type CustomExtension struct {

// OIDMatchers holds all FulcioExtensions, OIDMatchers, and CustomExtensions
type OIDMatchers struct {
OIDExtensions []OIDExtension
FulcioExtensions FulcioExtensions
CustomExtensions []CustomExtension
OIDExtensions []OIDExtension `yaml:"oidExtensions"`
FulcioExtensions FulcioExtensions `yaml:"fulcioExtensions"`
CustomExtensions []CustomExtension `yaml:"customExtensions"`
}

func (e FulcioExtensions) RenderFulcioOIDMatchers() []OIDExtension {
Expand Down

0 comments on commit 6c2f5c8

Please sign in to comment.