[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

problem with gnupg 1.0.7 and debsign



Hello to the list.

I have this problem since my complete upgrade to testing.
When I tried to build my package, the process fails at debsign:

dh_builddeb
dpkg-deb: building package `darkstat' in `../darkstat_2.1-1_i386.deb'.
 signfile darkstat_2.1-1.dsc
gpg: skipped `Cédric Delfosse <cedric@debian.org>': secret key not
available
gpg: [stdin]: clearsign failed: secret key not available

If I tried this:

% LANG=C debsign
 signfile ../darkstat_2.1-1.dsc Cédric Delfosse <cedric@debian.org>
gpg: skipped `Cédric Delfosse <cedric@debian.org>': secret key not
available
gpg: [stdin]: clearsign failed: secret key not available
/usr/bin/debsign: GPG error occurred!

If you are using gpg version >= 1.0.3-2 and saw a gpg error message:
  error loading extension: /usr/lib/gnupg/rsa(ref)
above, please remove the load-extension rsa or load-extension rsaref
line in your ~/.gnupg/options file to ensure the correct functioning of
this (and possibly other) programs.

Aborting....


But if I use my fingerprint:

% LANG=C debsign -kF7E8BC63
 signfile ../darkstat_2.1-1.dsc F7E8BC63

You need a passphrase to unlock the secret key for
user: "Cédric Delfosse <cedric.delfosse@laposte.net>"
1024-bit DSA key, ID F7E8BC63, created 2002-01-12

Enter passphrase:
...

So it worked. My secret key is present. Here are the uid associated to
my fingerprint.

% gpg --list-keys F7E8BC63 
pub  1024D/F7E8BC63 2002-01-12 Cédric Delfosse
<cedric.delfosse@laposte.net>
uid                            Cédric Delfosse <cdelfosse@free.fr>
uid                            Cédric Delfosse <cedric@debian.org>
sub  1024g/1D9FC926 2002-01-12


I am not an expert of gnupg. Does someone have an idea of what is going
on ? All worked very well before my upgrade.

Regards,

-- Cédric

Attachment: signature.asc
Description: PGP signature


Reply to: