Re: Finding all files encrypted with a certain key

2023-10-26 Thread raf via Gnupg-users
On Thu, Oct 26, 2023 at 11:29:38AM +0800, "Felix E. Klee" wrote: > On Wed, Oct 25, 2023 at 9:23 PM Werner Koch wrote: > > > gpg: decryption failed: No secret key > > > > > > I wonder how to get rid of that. > > > > grep -v on stderr ;-). > > Thanks, I was thinking about that. But I think

Re: Finding all files encrypted with a certain key

2023-10-26 Thread raf via Gnupg-users
On Wed, Oct 25, 2023 at 09:38:55PM -0500, Jacob Bachmeyer via Gnupg-users wrote: > raf via Gnupg-users wrote: > > [...] > > While testing these, I just noticed that /usr/bin/file > > on my macOS-10.14 laptop shows a different keyid to > > what libmagic shows. That's bizarre. > > > > For some

Re: Pinentry problem with different home dir

2023-10-26 Thread Ingo Klöcker
On Mittwoch, 25. Oktober 2023 13:01:39 CEST Falko Strenzke wrote: > I am trying to run GnuPG with a different home directory by setting the > environment variable GNUPGHOME. However, in that case, for instance when > trying to generate a key, in that case I get the error > > gpg: DBG: chan_4 <-

Re: Pinentry problem with different home dir

2023-10-26 Thread Werner Koch via Gnupg-users
On Wed, 25 Oct 2023 18:51, Michael Richardson said: > The gpg-agent dependancy that came a few years ago has really been a PITA. a few years = 20 years [1] > I would really like some way to tell GPG that it really needs to ignore all > of *my* (personal) setup, because I'm wearing a different

Re: Pinentry problem with different home dir

2023-10-26 Thread Falko Strenzke
Hi Ingo, actually I could solve the problem now by placing the gpg-agent.conf with the specification of the pinentry program into the folder I specify as GNUPGHOME. I still don't understand why this is necessary, as my normal home directory doesn't contain this file. But it is working for me

Re: Pinentry problem with different home dir

2023-10-26 Thread Steffen Nurpmeso
Werner Koch via Gnupg-users wrote in <87r0lhzxgu@jacob.g10code.de>: |On Wed, 25 Oct 2023 18:51, Michael Richardson said: ... |Use a different home directory. Actually running | gpg --homedir /somewhere -s something |should be enough but the agent and dirmngr started on the fly won't be