Ubuntu 12.04 - how to disable GUI for gpg ?
few minutes ago I have wrote a perl script to encrypt all tar files in the folder. Everything is fine, script running... but after execution on the screen apear stupid gpg GUI and asking me about password to gpg.
In my script I have defined password as variable. On the server without X Windows my perl script running like a charm but on Ubuntu all the time I have to close stupid GPG GUI (for 34000 files ... ). How to disable it ?
I dont get it... somebody executing command:
Please help, how to disable it ?
I just had this problem. In case you still need a solution, or anyone else finds this question on a search, the solution is
Additionally, the program pinentry is responsible for the GUI prompt. It is a symlink to /usr/bin/pinentry-gtk-2, but you can also change it to /usr/bin/pinentry-curses for a curses-based interface. There might be a way to set the default pinentry program in a configuration file, I'm not sure.
|All times are GMT -5. The time now is 11:39 PM.|