gpg: [don't know]: invalid packet (ctb=00)
Charles Moulliard
cmoullia at redhat.com
Wed Mar 3 09:17:09 CET 2021
As the file was present on the filesystem, I suspect another error then.
Anyway, GPG should report a more user friendly message explaining what we
should investigate to fix it.
On Tue, Mar 2, 2021 at 11:20 PM Ángel <angel at pgp.16bits.net> wrote:
> On 2021-02-11 at 18:24 +0100, Charles Moulliard via Gnupg-users wrote:
> > Hi
> >
> > We experience a very weird problem when the following command
> > is executed on macos using gpg 2.2.27 (installed by homebrew tool).
> >
> > (...)
> >
> > Do you know what is the problem ("gpg: [don't know]: invalid packet
> > (ctb=00)")and how to fix it ?
> >
> > Cheers
> >
> > Charles Moulliard
>
> That secring.gpg file is corrupt.
>
> It's trying to automatically migrate /Users/cmoullia/.jenkins/
> workspace/50_ReleaseBOMUpstream/.gnupg/secring.gpg to the new secret
> keyring format, but in doing so it is finding a NUL byte (at the
> beginning of the file, presumably), where it was expecting a secret
> key.
>
> Best regards
>
>
>
>
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20210303/f9291c0b/attachment.html>
More information about the Gnupg-users
mailing list