RFC 8391, "XMSS: eXtended Merkle Signature Scheme", May 2018Source of RFC: IRTF
Errata ID: 6352
Publication Format(s) : TEXT
Reported By: Andreas Kretschmer
Date Reported: 2020-12-09
Section Appendix A says:
The WOTS+ signature and public key formats are formally defined using XDR [RFC4506] in order to provide an unambiguous, machine readable definition.
It should say:
The WOTS+ signature and public key formats are defined in a syntax similar to XDR [RFC4506].
The definition is not machine readable, e.g. github.com/stellar/xdrgen fails.
- some Identifiers contain "/" and "-", RFC4506 allows only letter, digits and underbars
- some enum bodies end with ",}", RFC4506 requests "}" here
- some discriminated union definitions have incomplete declarations in the case-spec, e.g. the union xmss_ots_signature refers to the wotsp-sha2_256 without giving a type.
- The encoding of some unions in the reference implementation is different to the encoding specified in RFC4506. The 4-byte discriminant is missing.