Suddenly, gpg won't ask for password when trying to decrypt file and instead says "cancelled by user". I have already tried..
GPG_TTY=$(tty)
export GPG_TTY
with no effect. I get the following..
gpg: AES256.CFB encrypted data
gpg: cancelled by user
gpg: encrypted with 1 passphrase
gpg: decryption failed: No secret key
I back up these files on multiple servers but I'm worried one day I will be bricked out of all of them. Sometimes they work over ssh and other times they don't.
/dev/pts/0
Sometimes they work over ssh and other times they don't
- it's not clear if the issue is occurring with a 'local' decrypt or a remote/ssh decrypt; the fact some ssh sessions work and others don't seems to imply different settings/configs on the remote hosts(?);cancelled by user
sounds like an issue with the (popup) window that prompts for a passphrasegpg "cancelled by user" "decryption failed" "no secret key" GPG_TTY ssh
? hits cover a few issues like settingpinentry-program
ingpg-agent.conf
,chmod o+rw $(tty)
, etcls -l /dev/tty
when it's broken. If it's a symlink I have a similar issue.export GPG_TTY
method although it didn't work. I don't quite understand gpg enough to parse this problem. Like where are the keys? Why does the password box not pop up on some ssh connections?