Commit Graph
4 Commits
Author SHA1 Message Date
Dylan M. Taylor 497febe524 fix(ber): reject malformed SignedData field structure 2026-11-14 20:57:04 -05:00
Dylan M. Taylor 177f04768a fix(ber): bound metadata allocation for wide hostile inputs 2026-11-14 20:56:34 -05:00
Dylan M. Taylor 18ae39adcb fix(ber): validate CMS containers and integrate workspace crate 2026-11-14 20:50:46 -05:00
Dylan M. Taylor 93a7d13aa1 feat: add craft-ber (ASN.1 BER/DER reader)
Port from mailcraft: ASN.1 BER and DER (X.690) reader with:
- TLV parsing (tag, length, value)
- BER to DER conversion (indefinite lengths, constructed OCTET STRINGs)
- CMS signed_data content extraction

No external dependencies. Hostile-input bounded reading.
2026-11-14 19:10:34 -05:00