Re: GPG problem

2022-10-24 Thread Shaoping Xie via Gnupg-users
Hi Bernhard,     It seems that the problem was caused by "sudo su":    For some reason on Linux Redhad 8, "sodu su" does not behave as in the earlier version.     There is no difference between "sudo su - XYZ" and "sudo su XYZ".     Actually, I failed to generate the key pair when I l

Re: GPG problem

2022-10-24 Thread Bernhard Reiter
Hello Shaoping Xie, > gpg: public key decryption failed: Permission denied if your keypair has a passphrase set, did an interactive pinentry come up? (If you want to run unattended, one method is to not set a passphrase and secure the system accordingly.) > I was puzzled at the output from “gpg