Re: decrypting to stdout does not work properly

2024-10-18 Thread jman via Gnupg-users
Fourhundred Thecat via Gnupg-users writes: thank you, but what is actually the command to unlock the agent without decrypting or signing a dummy file? I'm not sure. I suspect that if you pipe the output of gpg-agent straight into something else it's difficult to catch a clean prompt for a pa

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 check if my keyring was unlocked

Re: decrypting to stdout does not work properly

2024-10-10 Thread Werner Koch via Gnupg-users
On Wed, 9 Oct 2024 09:45, Matthias Apitz said: > Could this tool be backported to 2.2 ? No. 2.2's end-of-life is Dezember 31 this year. Salam-Shalom, Werner -- The pioneers of a warless world are the youth that refuse military service. - A. Einstein openpgp-digital-signatu

Re: decrypting to stdout does not work properly

2024-10-09 Thread Matthias Apitz
El día miércoles, octubre 09, 2024 a las 08:51:22 +0200, Werner Koch via Gnupg-users escribió: > Hi! > > Just a short remark: > > On Mon, 7 Oct 2024 08:40, jman said: > > > In the end I have scripted the unlocking of a smartcard but the > > resulting script is a bit convoluted because the out

Re: decrypting to stdout does not work properly

2024-10-08 Thread Werner Koch via Gnupg-users
Hi! Just a short remark: On Mon, 7 Oct 2024 08:40, jman said: > In the end I have scripted the unlocking of a smartcard but the > resulting script is a bit convoluted because the output of > gpg-connect-agent is not super useful. meanwhile (since 2.4) we have the gpg-card tool. This is bette

Re: decrypting to stdout does not work properly

2024-10-06 Thread jman via Gnupg-users
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 check if my keyring was unlocked before doing any actual operation. Apparently the

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