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
We only want one of each signature subpacket per signature, and we need to preserve ordering when parsing in order to compute correct hashes.
An ordered map of some sort would make this easier, and would get rid of the List.filter/List.for_all/List.exists mess. Typed functions to retrieve subpackets of a certain kind would also get rid of a lot of warnings.
TODO find some module that exposes a usable Map module, or write one.
The text was updated successfully, but these errors were encountered:
you mean ordering as "the binary data received"? I presume keeping the binary data around for hashing purposes might be a valid way to deal with that (but then, you have both subpackets which are parts of the signature and some which are not -- are they mixed?).
We only want one of each signature subpacket per signature, and we need to preserve ordering when parsing in order to compute correct hashes.
An ordered map of some sort would make this easier, and would get rid of the
List.filter
/List.for_all
/List.exists
mess. Typed functions to retrieve subpackets of a certain kind would also get rid of a lot of warnings.TODO find some module that exposes a usable Map module, or write one.
The text was updated successfully, but these errors were encountered: