[dput-ng-maint] Bug#769598: dput-ng: Not finding configured secret key

micah micah at riseup.net
Fri Nov 14 21:28:32 UTC 2014


Package: dput-ng
Version: 1.8
Severity: normal

Hello,

I tried to add access to a DM to upload a package, but it wasn't working, the
user is in the keyring package, I verified the one that I have on the system.

I tried this:

dcut dm --uid 0x965089CE6B95F882 --allow util-vserver 

that told me:

Uploading commands file to ftp.upload.debian.org (incoming: /pub/UploadQueue/)

There was an error looking up the DM's key

 dput-ng uses the DM keyring in /usr/share/keyrings/
 as the keyring to pull full fingerprints from.

 Please ensure your keyring is up to date:

   sudo apt-get install debian-keyring

 Or, if you can not get the keyring, you may use their
 full fingerprint (without spaces) and pass the --force
 argument in. This goes to dak directly, so try to
 pay attention to formatting.


DM fingerprint lookup for argument 0x965089CE6B95F882 failed. GnuPG returned error: gpg: error reading key: public key not found

When I tried with force and the full fingerprint, I got this:

$ dcut --force dm --uid B5D2B50BC48EC7F1EE90D9AB965089CE6B95F882 --allow util-vserver 

Uploading commands file to ftp.upload.debian.org (incoming: /pub/UploadQueue/)
Failed to make cleartext signature to commands file:
gpg: no default secret key: secret key not available
gpg: /tmp/tmpcKOzdj: clearsign failed: secret key not available

I have default-key set in my gpg.conf....

I was able to get it to work by passing -k and my keyid before the dm.



-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dput-ng depends on:
ii  python-dput  1.8
pn  python:any   <none>

Versions of packages dput-ng recommends:
ii  bash-completion  1:2.1-4

dput-ng suggests no packages.

-- no debconf information



More information about the dput-ng-maint mailing list