You are not logged in.
Pages: 1
Hello,
I am trying to use gpg to edit one of my keys but when I execute
gpg --expert --edit-key key-idI get:
gpg (GnuPG) 2.2.21; Copyright (C) 2020 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.gpg: cannot open '/dev/tty': Permission denied
Clearly my user does not have permissions on that device which is owned by root, but the actual device that standard input is connected to as reported by the tty command is /dev/pts/1
It was specified in the manual that the env variable GPG_TTY should be set, which I have done in .bashrc, however, this has not made any difference. I also tried to restart the gpg-agent with -T to pass it the correct device but this does not help. Really stuck now so appreciate any advice, thanks.
Offline
Pages: 1