Hi!

On Thu, 2015-12-03 at 22:08:56 +0100, Eduard Bloch wrote:
> Package: dpkg-dev
> Version: 1.18.3
> Severity: normal

> I have gnupg-agent installed, and gpg2. When I use gpg before running
> dpkg-buildpackage for some other work (like signing stuff symmetricaly)
> and run dpkg-buildpackage later, it tells me: "incorrect passphrase".
> 
> However, when I use debsign instead, it works as usual and displays the
> password query dialog. 
> 
> I guess debsign incorrectly uses a wrong cached password here?
> 
> To work around that, I have to kill gpg-agent and restart "gpg-agent
> --daemon" again.

Does this happen too if you use gpg, and then gpg2? That's what should
be happening here with dpkg-buildpackage which defaults to gpg2 if
present, compared to debsign which uses gpg.

I'd assume perhaps a local configuration problem or a weird
interaction problem between gpg, gpg2 and gpg-agent here, but not a
problem with dpkg-buildpackage in principle.

Thanks,
Guillem

Reply via email to