step-examples/12-1b-header/Lh036.stp
Sources
- 16-iso-spec ISO 10303-21 Ed.3 §9 (SIGNATURE section)
Description
Edition-3 SIGNATURE sections are intended to carry cryptographic signatures over file content. The spec does not mandate a specific algorithm, so producers and consumers must agree out-of-band. A consumer that does not implement SIGNATURE must skip, warn, or reject; what it must NOT do is parse the signature payload as DATA and fault on the unknown record format.
Reproducer recipe
SIGNATURE section with an opaque payload `'algo=unknown-future-1; payload=00112233..EEFF;'`.
Expected kernel behavior
Warn and accept: skip SIGNATURE sections by default if the algorithm is unsupported; never let signature payload bytes enter the DATA-section parser.
Notes
Cross-oracle: pure-Python Part-21 validator accepts (`accept`); OCCT rejects (`reject`). OCC enforces stricter framing than the spec text requires. Synonyms: "unknown SIGNATURE algorithm", "STEP SIGNATURE unrecognised", "SIGNATURE section algorithm unsupported", "STEP signature algorithm not known", "cryptographic signature in STEP unknown".
Expected validation
occt=reject/reject gmsh=reject ifc=schema_n/a
Byte assertions
contains(b'SIGNATURE;')contains(b'algo=unknown-future-1')contains(b'algo=unknown')
Tier-3 assertions
load != "ok"
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes (with defect highlighting)
1ISO-10303-21; 2/* Lh036 - SIGNATURE section present without integrity-check tooling 3 * support 4 * Defect: ISO 10303-21 Edition 3 SIGNATURE sections are intended 5 * to carry cryptographic signatures over the file content. The 6 * spec does not mandate a specific algorithm, so producers and 7 * consumers must agree out-of-band. A consumer that does not 8 * implement SIGNATURE must either skip, warn, or reject; what it 9 * must NOT do is parse the signature payload as DATA and fault on 10 * the unknown record format. */ 11HEADER; 12FILE_DESCRIPTION(('Lh036 - SIGNATURE section with unknown algorithm'),'2;1'); 13FILE_NAME('Lh036.stp','2026-04-26T00:00:00',(''),(''), 14 'cad-research-suite','',''); 15FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }')); 16ENDSEC; 17SIGNATURE; 18/* Defect: signature opaque-blob with no well-known algorithm tag. 19 * Receivers must skip; old readers may attempt to parse. */ 20'algo=unknown-future-1; payload=00112233445566778899AABBCCDDEEFF;'; 21ENDSEC; 22DATA; 23#1=APPLICATION_CONTEXT('automotive_design'); 24#10=CARTESIAN_POINT('origin',(0.0,0.0,0.0)); 25ENDSEC; 26END-ISO-10303-21;