Skip to content

Commit

Permalink
Update internal/pkix/pkix.go
Browse files Browse the repository at this point in the history
Co-authored-by: Pritesh Bandi <priteshbandi@gmail.com>
  • Loading branch information
byronchien and priteshbandi committed Feb 15, 2023
1 parent 9d094e5 commit 5fd1ccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pkix/pkix.go
Expand Up @@ -13,7 +13,7 @@ func ParseDistinguishedName(name string) (map[string]string, error) {
// 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("invalid distinguished name (DN) %q: notation does not support x509.subject identities containing \"=#\"", name)
return nil, fmt.Errorf("unsupported distinguished name (DN) %q: notation does not support x509.subject identities containing \"=#\"", name)
}

mandatoryFields := []string{"C", "ST", "O"}
Expand Down

0 comments on commit 5fd1ccb

Please sign in to comment.