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
Apologies if I have missed some documentation that describes how to do this.
getStringMap() in credentials.go does strings.Split(s, " ") on the --cert-selector argument. If the Value is a DN that includes components with spaces, these get split incorrectly.
Perhaps either of these would be a way to approach the problem:
The --cert-selector argument provides some way to substitute spaces with another character, or,
The --cert-selector argument uses a different separator character (than space) for each key-value pair
A workaround exists by using the file:// argument with a JSON file, where a space in the Value field works as expected.
The text was updated successfully, but these errors were encountered:
You're right, the current workaround is to use a file as the selector as you said. I had started to address this issue in #66, but that requires some updates at this point. I'll discuss further with my colleagues and hopefully address it soon.
Apologies if I have missed some documentation that describes how to do this.
getStringMap()
incredentials.go
doesstrings.Split(s, " ")
on the--cert-selector
argument. If theValue
is a DN that includes components with spaces, these get split incorrectly.Perhaps either of these would be a way to approach the problem:
A workaround exists by using the
file://
argument with a JSON file, where a space in theValue
field works as expected.The text was updated successfully, but these errors were encountered: