RalphTro / epcis-event-hash-generator

ALGORITHM and SOFTWARE PROTOTYPE to uniquely identify/validate the integrity of any EPCIS event through a common, syntax-agnostic approach based on hashing. Takes an EPCIS Document (formatted in either XML or JSON-LD) and returns the corresponding hash value(s).
MIT License
8 stars 4 forks source link

bizTransaction type missing in prehash string #29

Closed Echsecutor closed 3 years ago

Echsecutor commented 3 years ago

The test newly added in https://github.com/RalphTro/epcis-event-hash-generator/commit/03d74635f316014a75b770181fde6584432dc7a7 spottet that urn:epcglobal:cbv:btt:desadv is not contained in the prehash for file examples/epcisDocWithVariousEventTypes.json

i.e. we might be missing the bizTransaction -> type field.

Echsecutor commented 3 years ago

Same problem for source and destination (value not included)