Package: dpkg-dev
Version: 1.14.25

I created a new GPG key and put it on a "default-key" line in gpg.conf, but
dpkg-buildpackage still uses the old one (which has the same email address).

I think this is because it seems to add the maintainer name if no -k
argument is given:

   if ($signinterface eq 'gpg') {
        system("(cat ../$qfile ; echo '') | ".
               "$signcommand --utf8-strings --local-user "
               .quotemeta($signkey||$maintainer).
               " --clearsign --armor --textmode  > ../$qfile.asc");
    }

Is this really the sensible thing to do?

I'm considering to use a wrapper in $HOME/bin which does this:

/usr/bin/dpkg-buildpackage -kMYNEWKEYID $@

but it seems like a hack.

Maybe dpkg-buildpackage could grep for ^default-key in gpg.conf and
act accordingly.

Thanks.




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to