Im developing a small C library that uses the GPGME API and a Nitrokey Pro. The purpose of this library is to decrypt files encrypted on another PC with RSA.
Since the library will be integrated with another application the decription should require no user interaction - just plugin the Nitrokey and call the library.
There is one problem though - PIN entry. Is there a way to disable PIN entry when accessing the Nitrokey?
Well gpgme doesn’t talk directly with Nitrokey but through gpg. And since gpg detects and works with Nitrokey (I had to make some additional configurations though) I have no problem decrypting with gpgme.