[Mageia-sysadm] fix ing unsigned packages upload

Pascal Terjan pterjan at gmail.com
Thu Jan 31 19:06:38 CET 2013

On Thu, Jan 31, 2013 at 5:35 PM, Thierry Vignaud
<thierry.vignaud at gmail.com> wrote:
> Hi
> >From times to times, packages are not signed on upload.
> Could we run the following before uploading packages (after they've
> been supposed to be signed) in order to check wheter they're signed or
> not?
> If key id is not set, a mail should be sent...
> LC_ALL=C LC_TIME=C rpm -qp --qf
> "%|DSAHEADER?{%{DSAHEADER:pgpsig}}:{%|RSAHEADER?{%{RSAHEADER:pgpsig}}:{(none}|}|
> %{NVRA}\n" *.rpm|cut -d, -f3

There is already some script checking n times if the signature
succeeded and retrying, but it seems it doesn't reject the package
after failing n times.

More information about the Mageia-sysadm mailing list