Venafi / vcert

Go client SDK and command line utility designed to simplify integrations by automating key generation and certificate enrollment using Venafi machine identity services.
https://support.venafi.com/hc/en-us/articles/217991528
Apache License 2.0
88 stars 64 forks source link

BUGFIX: cloud toPolicy SAN regex processing #449

Closed inteon closed 4 months ago

inteon commented 5 months ago

The addStartEndToArray function was missing for the p.IpSanRegExs p.EmailSanRegExs ct.SanRfc822NameRegexes and ct.SanUniformResourceIdentifierRegexes fields.

addStartEndToArray also changed the policy because it created an empty slice for a nil input (instead of just returning nil instead).

rvelaVenafi commented 5 months ago

@inteon can you please rebase your branch?

inteon commented 5 months ago

@inteon can you please rebase your branch?

Done

inteon commented 4 months ago

I re-signed the commits, since the signature got lost when I clicked the rebase button.