Re: Marshal update checker
Tamás Cservenák <[email protected]> Sun, 5 Jul 2026 12:20:55 +0200
| Newsgroups | gmane.comp.jakarta.turbine.maven.devel |
|---|---|
| Message-ID | <CADL+C36E1t-oXKBZLc6S09Zt2Bs-pjH2uWhEs5j+BtYwWMX8-w@mail.gmail.com> |
More on progress, I have a working example that using the artifact (from central), the asc file (from central) and KEYS from ASF Maven site verifies signature just fine: ``` signature verified. Tamas Cservenak <[email protected]> ``` The problem is that our KEYS file as is needs cleanup before being usable: * the test at its beginning must be filtered out * the encoding is totally off (is not ASCII nor UTF-8) Once these cleanups are done, the file becomes usable. T On Sat, 4 Jul 2026 at 21:49, Tam=C3=A1s Cserven=C3=A1k <[email protected]= > wrote: > > Howdy, > > Doing that should not be a problem, I was toying today with BC but > could not get it to parse our KEYS file. > In fact, any Java code (that is based/using BC) is making the same > error. Here is sqv compared to pgpainless: > > "invalid armor" > > https://gist.github.com/cstamas/c7556c5f57f4dbd2a14756a1cc60b30e > > We may want to fix up (clean up) our KEYS files: > https://gist.github.com/cstamas/72076d48aa9fcdbfa91dee11ce0e185e > > T > > On Sat, 4 Jul 2026 at 17:40, Sylwester Lachiewicz <[email protected]>= wrote: > > > > yes, my bad, thanks for correction > > > > https://github.com/s4u/pgpverify-maven-plugin > > > > Features > > - check signature of artifacts during each build, not only during > > artifact download from the remote repository to local > > - possibility to map PGP key fingerprint to artifacts, so we can > > detect if correct key was used for making signature > > - possibility to check signature of maven plugins used during build > > - there is no external software need to install - plugin uses Bouncy > > Castle library to manage PGP operations > > - works on many operating system and JDK versions - confirmed by CI > > builds - Linux, Windows, Mac OS, JDK 8, 11, 14 > > > > On Sat, Jul 4, 2026 at 5:16=E2=80=AFPM Piotr =C5=BBygie=C5=82o <piotr.z= [email protected]> wrote: > > > > > > On Sat, 4 Jul 2026 at 16:23, Sylwester Lachiewicz <slachiewicz@gmail.= com> wrote: > > > > > > > > To check we may use maven-gpg-plugin to check if gpg sign key was k= nown to > > > > us before and plugin goes though all dependencies. > > > > > > I don't think maven-gpg-plugin can do that. > > > Did you mean org.simplify4u.plugins:pgpverify-maven-plugin? > > > > > > -- > > > Piotrek > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [email protected] > > > For additional commands, e-mail: [email protected] > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > >