Re: decrypting to stdout does not work properly

2024-10-13 Thread Fourhundred Thecat via Gnupg-users
On 07/10/2024 08.40, jman wrote: > Fourhundred Thecat via Gnupg-users writes: > >> Also, is there a command for unlocking the agent without actually >> decrypting anything ? > > Hi, > > funny that I asked exactly the same question a few years ago. I wanted > to

decrypting to stdout does not work properly

2024-10-06 Thread Fourhundred Thecat via Gnupg-users
Hello, I have a script to decrypt a file and send it to another program: gpg -q -d "$filename" | mpv - this works fine when my gpg agent is already unlocked, ie the passphrase is alredy cached. But when the agent is not yet unlocked, I get some garbled passphrase prompt which breaks my termin

encryption failed: No dirmngr

2023-03-29 Thread Fourhundred Thecat via Gnupg-users
Hello, I am getting this error: $ gpg --lock-never --no-verbose --batch --yes --pinentry-mode loopback -e -r 'n...@domain.com' -o zz.gpg zz gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory gpg: connecting dirmngr at '/var/lib/asterisk/.gnupg/S.dirmngr' failed: No s

Re: symmetric encryption of '[stdin]' failed

2022-10-15 Thread Fourhundred Thecat via Gnupg-users
> On 15/10/2022 14.36, Robert J. Hansen via Gnupg-users wrote: Why does gpg-agent interject itself into symmetric encryption at all? Where in that command line do you specify a passphrase? You don't. gpg-agent is getting fired up in order to ask you what passphrase to use for the symmetric en

symmetric encryption of '[stdin]' failed

2022-10-14 Thread Fourhundred Thecat via Gnupg-users
Hello, I am trying to pipe output of tar command to gpg, and encrypt symmetrically: tar --zstd -cf - zz/ | gpg -c -o /tmp/zz.tar.zstd.gpg this fails with following errors: gpg: problem with the agent: Inappropriate ioctl for device gpg: error creating passphrase: Operation cancelled gp

gpg --list-packets asks for passphrase

2022-09-20 Thread Fourhundred Thecat via Gnupg-users
Hello, when I do: "gpg --list-packets file.gpg" on public key encrypted file, I am asked for passphrase. I am asking gpg to display info about encrypted message, not to decrypt it. Why am I prompted for passphrase? thank you, ___ Gnupg-users mailing

Re: use text pinentry in the console

2022-02-23 Thread Fourhundred Thecat via Gnupg-users
> On 2022-02-23 08:40, jman wrote: I think you can set that with an env var in your ~/.bashrc: export PINENTRY_USER_DATA=ncurses and the pinentry chooser will be `/usr/bin/pinentry-ncurses`. As a further option, I use the basic `tty` pinentry chooser and I set this in my ~/.bashrc: export PINE

Re: use text pinentry in the console

2022-02-23 Thread Fourhundred Thecat via Gnupg-users
> On 2022-02-23 11:40, Klaus Ethgen wrote: Am Di den 22. Feb 2022 um 17:28 schrieb Fourhundred Thecat via Gnupg-users: How can I confugure so that the ncurses (text based) dialog is used instead ? You should be able to call it this way: env -u DISPLAY gpg -c foo that works! thank

Re: use text pinentry in the console

2022-02-22 Thread Fourhundred Thecat via Gnupg-users
> On 2022-02-23 07:05, Fourhundred Thecat via Gnupg-users wrote: > On 2022-02-22 18:57, john doe via Gnupg-users wrote: On 2/22/2022 5:28 PM, Fourhundred Thecat via Gnupg-users wrote: $ update-alternatives --config pinentry What I would like to achieve is, that only when I call gog fr

Re: use text pinentry in the console

2022-02-22 Thread Fourhundred Thecat via Gnupg-users
> On 2022-02-22 18:57, john doe via Gnupg-users wrote: On 2/22/2022 5:28 PM, Fourhundred Thecat via Gnupg-users wrote: How can I confugure so that the ncurses (text based) dialog is used instead ? I am using gpg 2.2.12 on Debian 10 On Debian you need to use: $ update-alternatives --con

use text pinentry in the console

2022-02-22 Thread Fourhundred Thecat via Gnupg-users
Hello, when I type a gpg command in the terminal, such as: gpg -c foo the GUI pinentry dialog pops up to ask for password (I guess its pinentry-gtk-2) How can I confugure so that the ncurses (text based) dialog is used instead ? I am using gpg 2.2.12 on Debian 10 thank you ___