Skip to content

Add and fix XMSS(^MT) Certificate Algorithm OIDs - #5690

Closed
falko-strenzke wants to merge 9 commits into
randombit:masterfrom
falko-strenzke:xmss-cert-oid
Closed

Add and fix XMSS(^MT) Certificate Algorithm OIDs#5690
falko-strenzke wants to merge 9 commits into
randombit:masterfrom
falko-strenzke:xmss-cert-oid

Conversation

@falko-strenzke

@falko-strenzke falko-strenzke commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

This is a pull request on top of xmssmt-dev, which introduces XMSS^MT. It adds the missing certificate validation for XMSS^MT and adds the official XMSS OID from RFC 9802.

@TJ-91 I got the test certificates from RFC 9802 to run with

./botan-test x509_path_xmss

However, I had to modify the public key decoding. I assume it was previously simply arbitrary to have the OCTET STRING encoding around it. However, the existing XMSS^MT tests are now failing, probably due to

  • ncompatible public key encoding ((naturally, since I fixed only the decoding)
  • existing test data.

Please review this and fix the tests.

(Public key encoding and tests are fixed now.)

I also added the XMSS test certificate from RFC 9802 for which I had to add the official XMSS OID. Probably that should become the default one, i.e., be registered as "XMSS". But I don't know who or what is dependend on the inofficial XMSS OID that is currently registered as "XMSS", so I left it as it is.

TJ-91 and others added 8 commits March 31, 2026 09:29
XMSS^MT: implement pubkey and verify

XMSS^MT: implement keygen and sign

XMSS^MT: refactor common XMSS and XMSS^MT code
adjust for leaf idx >32 bit in the index registry
add test vector files to git

clang tidy

XMSS^MT: add some tests and documentation
various small fixes

Remove XMSS^MT private key shared mutable state (see randombit#5366), disabled for now (see randombit#5369)
@falko-strenzke
falko-strenzke marked this pull request as ready for review July 9, 2026 08:01
@TJ-91

TJ-91 commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

I have cherry-picked your commits to #5358

@TJ-91 TJ-91 mentioned this pull request Jul 9, 2026
8 tasks
@falko-strenzke

Copy link
Copy Markdown
Collaborator Author

I have cherry-picked your commits to #5358

So we can close this one.

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.

2 participants