Skip to content

Enable KEM certificate issuance via CLI#5529

Open
falko-strenzke wants to merge 5 commits intorandombit:masterfrom
falko-strenzke:falko/mlkem-cert-cli
Open

Enable KEM certificate issuance via CLI#5529
falko-strenzke wants to merge 5 commits intorandombit:masterfrom
falko-strenzke:falko/mlkem-cert-cli

Conversation

@falko-strenzke
Copy link
Copy Markdown
Collaborator

Fixes #4516.

Comment thread src/cli/x509.cpp
}

// TODO(Botan4) remove --emsa option and this logic
const std::string padding = [&]() {
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems unnecessary to have any compatibility considerations here

Comment thread src/cli/x509.cpp

auto key = load_private_key(ca_key_file, passphrase);

Botan::X509_Cert_Options opts;
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't be used here, just write the subject DN directly

Copy link
Copy Markdown
Owner

@randombit randombit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Basic idea is fine, could be a lot simpler in implementation see prev comments

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.

Question: how to create a certificate for ML-KEM pubkey?

2 participants