Re: "gpg: decryption failed: No secret key" after export-import to another host

2021-06-08 Thread sergio via Gnupg-users
Thank you anon85786376!! -- sergio. ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users

Re: "gpg: decryption failed: No secret key" after export-import to another host

2021-06-06 Thread anon85786376 via Gnupg-users
‐‐‐ Original Message ‐‐‐ On Sunday, June 6, 2021 2:24 PM, sergio via Gnupg-users wrote: > I found the sequence to reproduce my problem: > > $ rm -rf .gnupg > $ gpg --gen-key --batch < %echo Generating a 25519 key > Key-Type: eddsa > Key-Curve: Ed25519 > Key-Usage: cert > Subkey-Type:

Re: "gpg: decryption failed: No secret key" after export-import to another host

2021-06-06 Thread sergio via Gnupg-users
I found the sequence to reproduce my problem: $ rm -rf .gnupg $ gpg --gen-key --batch

Re: "gpg: decryption failed: No secret key" after export-import to another host

2021-05-31 Thread sergio via Gnupg-users
I tried the same sequence on the same host A but for new test user with clean ~/.gnupg without success. Could you help me to debug this, please. -- sergio. ___ Gnupg-users mailing list Gnupg-users@gnupg.org

Re: "gpg: decryption failed: No secret key" after export-import to another host

2021-05-20 Thread sergio via Gnupg-users
> --export-secret-keys Sorry, this is a typo, or course. And to be absolutely sure, I re-checked: B $ gpg --import secret.key gpg: key : public key "name (comment) " imported gpg: key : secret key imported gpg: Total number processed: 1 gpg: imported: 1 gpg: secret keys

Re: "gpg: decryption failed: No secret key" after export-import to another host

2021-05-20 Thread Erich Eckner via Gnupg-users
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, have a look at the manpage at --export-secret-keys: "Same as --export, but exports the secret keys instead. ..." regards, Erich On Thu, 20 May 2021, sergio via Gnupg-users wrote: I have generated a key on host A and it works fine: A $

Re: gpg: decryption failed: No secret key

2018-08-07 Thread Dirk Gottschalk via Gnupg-users
Hi. Am Mittwoch, den 08.08.2018, 00:03 -0400 schrieb Yu: > WOW! That works. > > To document this, if anyone ever run into this situation: > > > sec# rsa4096/0xC9E7221DAFCE6539 created: 2018-08-07 expires: > > never > > This is the key I need to delete from the card/yubikey. > > 1. gpg

Re: gpg: decryption failed: No secret key

2018-08-07 Thread Yu
WOW! That works. To document this, if anyone ever run into this situation: > sec# rsa4096/0xC9E7221DAFCE6539 created: 2018-08-07 expires: never This is the key I need to delete from the card/yubikey. 1. gpg --delete-key 0xC9E7221DAFCE6539 2. gpg --card-status should return NONE and gpg

Re: gpg: decryption failed: No secret key

2018-08-07 Thread Dirk Gottschalk via Gnupg-users
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 me if I am asking too much. > > You should delete the complete secret key set from you keyring. > Then > > import the PUBLIC keys

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

Re: gpg: decryption failed: No secret key

2018-08-07 Thread Dirk Gottschalk via Gnupg-users
Hello John. Am Dienstag, den 07.08.2018, 16:27 -0400 schrieb 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