On Tue, Oct 24, 2023 at 5:12 PM Andrew Gallagher
wrote:
> GNU `file` will print the encryption key ID:
Interesting. I wonder if there is any disadvantage of using `file` over
Werner’s proposal.
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
https:/
On Wed, Oct 25, 2023 at 10:08 AM raf via Gnupg-users
wrote:
> > How do I do that for a massive directory tree?
>
> With my rawhide (rh) program (github.com/raforg/rawhide) you can do it
> with something like this:
>
> rh /path '"*.gpg" && "*PGP*encrypted*BEF6EFD3 8FE8DCA0*".what'
Very interestin
On Tue, Oct 24, 2023 at 5:21 PM Werner Koch wrote:
> encrypted-to-me-p.sh
> --8<---cut here---start->8---
> #/bin/sh
> gpg -d --status-fd 1 -o /dev/null 2>/dev/null "$1" | awk '
> $1=="[GNUPG:]" && $2=="ENC_TO" && $3=="BEF6EFD38FE8DCA0" {print $1; exit 0}'
> --
On Tue, Oct 24, 2023 at 11:38:52AM +0800, "Felix E. Klee"
wrote:
> For the purpose of re-encryption with a new key, I’d like to find all
> files that are encrypted with my key BEF6EFD38FE8DCA0. All encrypted
> files, independent of key, have the extension `.gpg`.
>
> How do I do that for a mass
On Tue, 24 Oct 2023 11:38, Felix E. Klee said:
> For the purpose of re-encryption with a new key, I’d like to find all
> files that are encrypted with my key BEF6EFD38FE8DCA0. All encrypted
> files, independent of key, have the extension `.gpg`.
>
> How do I do that for a massive directory tree?
A
Apologies to the `file` authors, it’s a BSD utility, not GNU.
A
On 24 Oct 2023, at 10:11, Andrew Gallagher via Gnupg-users
wrote:
>
> Signed PGP part
> On 24 Oct 2023, at 04:38, Felix E. Klee wrote:
>>
>> For the purpose of re-encryption with a new key, I’d like to find all
>> files that are
On 24 Oct 2023, at 04:38, Felix E. Klee wrote:
>
> For the purpose of re-encryption with a new key, I’d like to find all
> files that are encrypted with my key BEF6EFD38FE8DCA0. All encrypted
> files, independent of key, have the extension `.gpg`.
>
> How do I do that for a massive directory tre