How to use *.pub/*.sec files to encrypt/decrypt another file?

2018-12-28 Thread Kynn Jones
I created a pair of *.pub and *.sec files using the instructions and code given here: https://www.gnupg.org/documentation/manuals/gnupg/Unattended-GPG-key-generation.html (I am using this documentation because the ultimate application I have in mind is an automated encryption/decryption pipeline.

Unblocking the user PIN does not work with a new PIN

2018-12-28 Thread Robin Krahl
Hi, according to the documentation [0], the unblock PIN command for a OpenPGP smart card allows the user to choose a new user PIN. But on my smart card, the command fails with the error message “Error unblocking the PIN: Conditions of use not satisfied” if I choose a new PIN. It succeeds if I en