Carlos E. R. wrote:
Why do I get this error? It happens if I use "su - user" to switch to a different user and then try to decrypt a file. I am pretty sure it used to work. And it will work if I log in on the console as the different user. It should prompt for the passphrase in a window.
gpg: CAST5 encrypted data gpg-agent[5394]: command get_passphrase failed: Operation cancelled gpg: cancelled by user gpg: encrypted with 1 passphrase gpg: decryption failed: No secret key
I'm on 42.2 64 bit.
gpg --version gpg (GnuPG) 2.0.24 libgcrypt 1.6.1 But what desktop? It makes a difference. I am not using one, I am using ctwm, and xdm. When you su to a user, no, you will not get a window prompting for the
On 2017-03-11 23:25, Richmond wrote: passphrase, because the desktop doesn't belong to that user. The gpg agent (which depends on the desktop and configuration used) does not act, it has not been started for the su-ed user.
You should get the prompt for the user passphrase in the same terminal.
I didn't though. If I had I would have been happy. It did not prompt me at all, it just caused an error. It works on the console though, where there is no DOE. p.s. I have just discovered that quite a large proportion of this list has been going into my spam folder. :( -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org