mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2026-03-01 06:23:26 +00:00
Due to a bug, a shorter hash could be selected, and signing would throw as a result. This change fixes the issue by automatically picking SHA-256, if needed. The same was already done for legacy EdDSA signatures.