Defensive Publication: CBOM Identifier Decomposition and Multi-Device Read By Epoch Invariants
Defensive publication. This technical note records, for prior-art purposes, two mechanisms implemented and measured in FIBEMATE before this note existed. It does not claim to be the first disclosure of either idea, and it makes no security claim. (1) CBOM identifier decomposition with context suppression. A CycloneDX BOM builder normally recognises an algorithm only when its canonical name is written out. Registered identifiers — IANA TLS cipher suites, supported groups, CNSA/RFC 7919 FFDHE groups, signature schemes, JWA alg values — are not canonical names, and enumerating whole strings does not scale. The disclosed method parses each identifier into constituents and emits one component per constituent, named <family>-<parameter>: TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 yields ECDH, RSA and AES; ffdhe2048 yields DH-ffdhe2048 with size 2048; X25519MLKEM768 yields X25519 and ML-KEM-768. A curve does not choose a role, and a bulk cipher outside the vocabulary is skipped rather than invented. Matching uses letter-only lookarounds because registered identifiers glue parts with underscores. The second half is suppression: CycloneDX has no "not a use" marker, so a mention must be omitted rather than annotated — comments, logging calls, deny-lists (BLOCKED_*, $rejected), a name that is the key of a False switch, negated prose, exclusion tokens (!ECDSA, DEFAULT:-X25519MLKEM768), and JSON policy statements whose Effect is Deny without Allow in the same block. Measured on the ShorList catalogue (1,429 positive forms): recognition 203 to 807, wrong-family rows 4 to 0, false alarms on 172 decoys 16 to 0, in one run. (2) Multi-device ReadBy epoch truncation. In a multi-device messenger the recipient's unread badge and the sender's read state are computed from different device sets, so applying an epoch rule to one side alone leaves the other permanently wrong. The invariants: the eligible device set for a message is the message's own epoch, so a device registered after the message was sent cannot block isRead; the badge excludes history that predates the requesting device; eligibility is recomputed on duplicate acknowledgements rather than latched; both sides share one 30-day activity window; and legacy clients without a device id keep bulk behaviour without ever writing an empty id into the read set. Both functions take the epoch floor as a parameter instead of reading the clock inside the comparison, which is what makes them testable. Seven tests accompany it, two of them controls: a device that existed at send time must still gate isRead, and a row with no creation time is never treated as younger than the message. Scope. Code is quoted verbatim from public commits: github.com/Lennonhaha/fibemate-tools/tree/a85a662fd584e74e6ac106e0798dcca52ed9ce30 and github.com/Lennonhaha/fibemate/tree/9589fde79858d33926f775f6295228ab718d3509. A third candidate, a render-token generation-fencing state machine, is deliberately excluded: no implementation was found in any repository at packaging time, and a disclosure with no code behind it would be a claim that cannot be supported.
Authors
- 天赫 刘
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-30
- DOI
- https://doi.org/10.5281/zenodo.24687656
- Primary Topic
- Cryptographic Implementations and Security
- Type
- article
- Field-Weighted Citation Impact
- 0.00