[buildd-tools-devel] Bug#722103: sbuild: Pass --no-options to gpg when creating temporary archive key
Geoffrey Thomas
geofft at ldpreload.com
Sat Sep 7 23:11:57 UTC 2013
Package: sbuild
Version: 0.64.0-1
Tags: patch
Hi maintainer,
Jeffrey Hutzelman mentioned to me that `sbuild-update --keygen` was
creating ASCII-armored archive keys instead of a binary keyring, which
caused the process of signing the archive to fail. After some confusion on
my part because it totally works for me, we found that he had the armor
option set in his ~/.gnupg/gpg.conf, and that sbuild was respecting this
configuration file.
In order to get consistent scripted behavior out of the gpg command, you
need to pass --no-options. See also apt-key.
Very simple patch attached; you can also pull the single commit from the
gpg-no-options branch of https://github.com/geofft/sbuild if that's easier
. Jeff has confirmed that it fixes his problem.
--
Geoffrey Thomas
http://ldpreload.com
geofft at ldpreload.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gpg-no-options.patch
Type: text/x-diff
Size: 805 bytes
Desc:
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20130907/7df61c3d/attachment.patch>
More information about the Buildd-tools-devel
mailing list