[pacman-dev] [PATCH 1/2] Add support for verifying pgp signatures to makepkg
Wieland Hoffmann
themineo at googlemail.com
Fri Jun 24 05:54:50 EDT 2011
Hallo, Dan McGee:
> >
> >> > + echo "$(gettext "NOT FOUND")" >&2
> >> > + errors=1
> >> > + found=0
> >> > + fi
> >> > +
> >> > + if (( found )); then
> >> > + if ! gpg --quiet --batch --verify "$file" 2> /dev/null; then
> >> > + echo "$(gettext "Verification failed")" >&2
> >> Any need to eat stderr? If things only show up in exceptional cases,
> >> I'd rather it come through.
> >
> > Oh, that's supposed to be a 1.
> I was suggesting no redirection at all.
That redirect is taken from pacman-key (the patch introducing it is
http://mailman.archlinux.org/pipermail/pacman-dev/2010-October/011724.html).
Maybe Denis (if he's still reading this list) can elaborate on why it's
there.
>
> >> This check should probably match how we do it elsewhere; e.g.,
> >> check_signature() the first two lines.
> >
> > Hm, check_signature()? Either grep is lying to me or that doesn't exist
> > anywhere.
> >
> >> I'd move it inside check_pgpsigs itself. Also declare it upfront where
> >> we set the rest of these.
>
> create_signature, whoops!
Will do.
--
Wieland
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/pacman-dev/attachments/20110624/bd0ff337/attachment.asc>
More information about the pacman-dev
mailing list