Skip to content

Commit

Permalink
Remove comment
Browse files Browse the repository at this point in the history
Signed-off-by: Byron Chien <byronc@ucla.edu>
  • Loading branch information
byronchien committed Feb 15, 2023
1 parent dee9625 commit cac9f1a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions internal/pkix/pkix.go
Expand Up @@ -9,9 +9,6 @@ import (

// ParseDistinguishedName parses a DN name and validates Notary V2 rules
func ParseDistinguishedName(name string) (map[string]string, error) {
// To circumvent an issue in go-asn1-ber/asn1-ber where it allocates large
// amount of memory for decoding ber.
// For more information please look at https://github.com/notaryproject/notation-go/issues/276
if strings.Contains(name, "=#") {
return nil, fmt.Errorf("unsupported distinguished name (DN) %q: notation does not support x509.subject identities containing \"=#\"", name)
}
Expand Down

0 comments on commit cac9f1a

Please sign in to comment.