On Thu, Oct 26, 2023 at 11:29:38AM +0800, "Felix E. Klee" <felix.k...@inka.de> wrote:
> On Wed, Oct 25, 2023 at 9:23 PM Werner Koch <w...@gnupg.org> 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 simply using find, as > suggested by Andrew and raf, is sufficient and simple. rh intead of find+n*(sh+file+grep) is even simpler (but I'm biased). :-) > > I think it is time to make things like this easier. Actually > > re-encrypt support has been on our feature list for many years. > > That would be fancy. Personally, I’m happy with a bit of shell > scripting. My use case is rather simple, and I don’t need to do > re-encryption very often. Yeah. I think gpg -d ... | gpg -e -r ... is simple enough. I use that (in a "recrypt" python script) for annual key rollover re-encryptions of many database backups. cheers, raf _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org https://lists.gnupg.org/mailman/listinfo/gnupg-users