The crypto refresh introduces a new SaltedHash header in signed cleartext messages, which prevents a new message from being parsed by the library. This pull request updates the parsing function to accept the new header and ensures that a cleartext message containing multiple signatures with different versions can be verified.
For example, the following cleartext message with a v4 and a v6 signature
can now be successfully verified with a v4 key.
The crypto refresh introduces a new
SaltedHash
header in signed cleartext messages, which prevents a new message from being parsed by the library. This pull request updates the parsing function to accept the new header and ensures that a cleartext message containing multiple signatures with different versions can be verified.For example, the following cleartext message with a v4 and a v6 signature can now be successfully verified with a v4 key.