Skip to content

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

Open
sebastianas wants to merge 1 commit intoparallaxsecond:mainfrom
sebastianas:openssl_32
Open

parsec-cli-tests.sh: Request expected CSR output format.#126
sebastianas wants to merge 1 commit intoparallaxsecond:mainfrom
sebastianas:openssl_32

Conversation

@sebastianas
Copy link
Copy Markdown

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>
@sebastianas
Copy link
Copy Markdown
Author

ping?

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