You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I create an SPDX document with multiple hashes on a package, the order of the hashes in the output json varies.
The hashes should follow a deterministic ordering.
Please let us know whether we shall prepare an PR for this. Perhaps it must be generalized to other output formats as well to produce comparable outputs.
Regards,
Karsten
The text was updated successfully, but these errors were encountered:
@karsten-klein - Thanks for raising the issue. I agree, it should be deterministic.
There is already a sorting in the JSON output, it must somehow miss the hash algorithms.
Since there are substantial changes to the SPDX 3 version, I would prefer to make the changes there to avoid merge conflicts unless you consider this to be a serious enough issue for a patch release.
When I create an SPDX document with multiple hashes on a package, the order of the hashes in the output json varies.
The hashes should follow a deterministic ordering.
Please let us know whether we shall prepare an PR for this. Perhaps it must be generalized to other output formats as well to produce comparable outputs.
Regards,
Karsten
The text was updated successfully, but these errors were encountered: