github-af / SmartPGP

SmartPGP is a JavaCard implementation of the OpenPGP card specifications
GNU General Public License v2.0
227 stars 47 forks source link

Does SmartPGP support RFC 6979 with (EC)DSA signing? #18

Closed persmule closed 3 years ago

persmule commented 5 years ago

Does SmartPGP support RFC 6979 in its (EC)DSA implementation, which makes them deterministic?

breard-r commented 5 years ago

As far as I know, SmartPGP relies on the JavaCard implementation of cryptographic primitives (cf. PGPKey.java) : in this case, the signPreComputedHash method. This makes the use of RFC 6979 dependent on the choices your card manufacturer made.