Hello there.
I'm running gpg 2.1.23/ libgcrypt 1.8.0 on 32-bit WinXP SP3 and I can't seem to delete any secret key with "--delete-secret-key mysecretkey".
Deleting a public key with "--delete-key somepublickey" works perfectly fine.
The error I'm getting is "deleting secret key failed: No pinentry", though I have "pinentry-mode loopback" set in gpg.conf (and for the record, setting it directly from the command line doesn't make a difference either).
What could possibly be the cause of this problem?
Best regards and a big thank you to the developers of this most excellent piece of software.