Override issuer encoding used in early implementations - #143
Merged
Conversation
cjpatton
commented
Sep 10, 2025
| For example, the distinguished name for a log named `32473.1` would be represented in syntax of {{?RFC4514}} as: | ||
|
|
||
| ~~~ | ||
| 1.3.6.1.4.1.44363.47.1=#0c0733323437332e31 |
Contributor
Author
There was a problem hiding this comment.
As in:
var tv pkix.AttributeTypeAndValue
tv.Type = asn1.ObjectIdentifier{1, 3, 6, 1, 4, 1, 44363, 47, 1}
tv.Value = asn1.RawValue{Tag: asn1.TagUTF8String, Bytes: []byte("32473.1")}
var name pkix.Name
name.Names = append(name.Names, tv)
fmt.Println(name.String())
davidben
approved these changes
Sep 14, 2025
RELATIVE-OID isn't yet widely implemented. For example, see <golang/go#75260>. To unblock early deployments, we'll go with UTF8String instead.
cjpatton
force-pushed
the
cjpatton/142
branch
from
September 15, 2025 14:13
b5e6c48 to
3659eab
Compare
Contributor
Author
|
@davidben I took your suggestion and squashed. I don't have the merge button, but feel free at your convenience. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #142.
RELATIVE-OID isn't yet widely implemented. For example, see golang/go#75260. To unblock
early deployments, we'll go with UTF8String instead.