fix: Properly truncate digests for ECDSA signing schemes

This is needed for OpenPGP and although it's uncanny to use longer digests with smaller curves it is possible.

Merge request reports

Loading