Removes a 2-bytes trailer to the private key template, fitting in the 2-bytes length (which itself lacked an hexadecimal escape specifier, but without effect on the result). Fixes the length of the DigestInfo outermost list, from 25 to the intended 49. Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>
Here is a test suite for OpenPGP card.
For now, only TPDU card reader is supported for OpenPGP card.
Gnuk Token is supported as well.
You need to install:
$ sudo apt install python3-pytest python3-usb python3-cffi
Please run test by typing:
$ py.test-3 -x