rnp icon indicating copy to clipboard operation
rnp copied to clipboard

FFI: add some API allowing to check whether signature is weak or why validation failed.

Open ni4 opened this issue 3 years ago • 1 comments

Description

Users may wish to know why signature is marked as invalid (including cases with weak hash algorithm/public key algorithm/wrong subpackets/whatever else).

ni4 avatar Apr 26 '22 09:04 ni4

This could be done via some vector as field of the signature, which includes specific signature invalidation error codes, and FFI API which would allow to return those from the signature.

ni4 avatar Sep 17 '24 11:09 ni4