gpgme can't find keys

2022-03-04 Thread William Yu via Gnupg-users
Hello, I am running Ubuntu 20.04.4 LTS, I installed libgpgme11 from Ubuntu with version 1.13.1-7ubuntu2 and I installed gpg2 with gpg 2.2.19, libgcrypt 1.8.5. My problem is this, I try to use keys on my computer in a C program and sign something with it. Currently my program can't find any

Re: gpg: decryption failed: No secret key

2018-08-07 Thread Yu
t 7:59 PM Dirk Gottschalk < dirk.gottschalk1...@googlemail.com> wrote: > Hi. > > Am Dienstag, den 07.08.2018, 19:38 -0400 schrieb Yu: > > Hi Dirk > > > Thank you very much. I just want to make sure I am doing the right > > thing, > > so please excuse m

Re: gpg: decryption failed: No secret key

2018-08-07 Thread Yu
Hi Dirk Thank you very much. I just want to make sure I am doing the right thing, so please excuse me if I am asking too much. You should delete the complete secret key set from you keyring. Then > import the PUBLIC keys for the card keys and then do a gpg --card- > status. > > Do I just call

gpg: decryption failed: No secret key

2018-08-07 Thread Yu
Hi I setup my gpg and keyed to Yubikey. My SSH works flawlessly. I have the master key and subkeys. So my authentication key, encryption key, and signing key should be totally fine. John-Wong:tmp jwong$ gpg --list-secret-keys /Users/jwong/.gnupg/pubring.kbx --- sec#