You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: address PR review comments for OtherName SAN generation
Resolves review findings from PR #74:
- ERR-4: lowercase error strings in ResolveOtherNameOID and csr.go
- ERR-2: add ErrUnknownOtherNameType sentinel error, use errors.Is in tests
- ERR-5: add slog.Debug before continue in parseOtherNameEntriesFromSANBytes
- Fix marshalOtherNameGN encoding UTF8String via explicit RawValue tag
- Add IP address length and nil URI validation in MarshalSANExtension
- T-9: remove stdlib-testing assertions from TestMarshalSANExtension_mTLSUserCert
- Refactor OtherName SAN parsing to share walkOtherNameSANs callback
- CL-3/CL-4: add [#74] refs to all Unreleased changelog entries
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+20-12Lines changed: 20 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,25 +9,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
10
10
### Added
11
11
12
-
- Add `MarshalSANExtension` for building complete SAN extensions with OtherName support (UPN, XMPP, SRV, SmtpUTF8Mailbox, arbitrary OIDs)
13
-
- Add `ResolveOtherNameOID` for resolving OtherName labels or dotted-decimal OID strings
14
-
- Add `OtherNameSAN` and `MarshalSANExtensionInput` types for OtherName SAN generation
15
-
- Add `other_names` field to `CSRTemplate` for mTLS user identity certificate CSRs
16
-
- Add OtherName SAN preservation in `GenerateCSRFromCSR` — OtherName entries survive CSR-to-CSR key rotation
12
+
- Add `MarshalSANExtension` for building complete SAN extensions with OtherName support (UPN, XMPP, SRV, SmtpUTF8Mailbox, arbitrary OIDs) ([#74])
13
+
- Add `ResolveOtherNameOID` for resolving OtherName labels or dotted-decimal OID strings ([#74])
14
+
- Add `OtherNameSAN` and `MarshalSANExtensionInput` types for OtherName SAN generation ([#74])
15
+
- Add `other_names` field to `CSRTemplate` for mTLS user identity certificate CSRs ([#74])
16
+
- Add OtherName SAN preservation in `GenerateCSRFromCSR` — OtherName entries survive CSR-to-CSR key rotation ([#74])
17
+
- Add `ErrUnknownOtherNameType` sentinel error for invalid OtherName type strings ([#74])
17
18
18
19
### Fixed
19
20
20
21
- Fix AIA proxy rejecting `cacerts.geotrust.com` and `cacerts.thawte.com` — consolidate all per-host CA entries into suffix matches for broader coverage of CA subdomains
22
+
- Fix `marshalOtherNameGN` encoding non-SRV OtherName values as PrintableString instead of UTF8String ([#74])
23
+
- Fix `MarshalSANExtension` accepting nil URI entries and invalid IP addresses without validation ([#74])
0 commit comments