Review main Abandoned

64334[BUGFIX] Ensure correct ordering of config keys

Andreas Kienast CR 0 V 0 Easy +4 −1 updated 04/28/20, 08:22

Commit message

In case an IRRE configuration contains a mix of associative items and
numeric-indexed items, the validation of the hmac may fail due to the
order of items before and after the de/encoding.

To fix this rather rare use-case, the configuration is now decoded and
afterwards encoded again to make absolutely sure the order of all items
is still the same.

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1