Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parsec-cli-tests.sh: Request expected CSR output format. #126

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sebastianas
Copy link

OpenSSL 3.2 change the default format for subject and issuer. The obvious part is that a space is missing but the output also is now using UTF8.

To keep the format and simplify parsing, openssl can be taught which output format it should use. This is understood also by older openssl versions.

Use -nameopt to tell openssl to use UTF8 and a space which around `=' which is what the old parsing expected. Remove the conditional grep which was introduced to deal with the situation.

OpenSSL 3.2 change the default format for subject and issuer. The
obvious part is that a space is missing but the output also is now using
UTF8.

To keep the format and simplify parsing, openssl can be taught which
output format it should use. This is understood also by older openssl
versions.

Use -nameopt to tell openssl to use UTF8 and a space which around `='
which is what the old parsing expected. Remove the conditional grep
which was introduced to deal with the situation.

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant