Repository navigation
IFC5 Data Integrity Extension - Hashing for Secure BIM Exchange #129
Replies: 1 comment
|
For IFC4 there is a reasonable approach established, based on the official ISO 10303-21 signature block https://www.steptools.com/stds/step/p21e3_final_review.pptx but then as a comment (due to the fact that IFC is on an earlier SPF edition). Validated for example in https://github.com/buildingSMART/validate/blob/main/backend/apps/ifc_validation/checks/signatures/check_signatures.py But for IFC5 and JSON it's probably worthwhile to do an exploration at what approaches exist in this ecosystem and how invariant we expect this to be against non-semantic serialisation changes (e.g do you verify the pre- or post- composition data in the exchange, do you want to be invariant against object key order, so that they key is still valid in unordered JSON storage (I think postgres)). At this stage these investigations have not been conducted. Workflows are not really well established so the requirements for digital signatures are also not really articulated yet. |
Uh oh!
There was an error while loading. Please reload this page.
Is there any recommended way to add a built‑in integrity check inside an IFC file itself - specifically by embedding a SHA256/MD5 hash (e.g., via a custom IfcPropertySet) - so that the file can detect manual edits?
The motif here is to have the file behave as a self-validating artifact: compute the hash at export time, store it in the IFC (excluding the hash field), and then recompute it during validation. If someone edits property set values or any other content using a text editor, the hash mismatch should clearly indicate the file has been tampered with.
Has anyone tried this approach, or is there a known convention in the IFC ecosystem for handling this kind of inline integrity validation?
All reactions