Re: How to locally sign a package that has been built on another machine?
On Thu, May 10, 2001 at 08:58:26AM +0200, Marc Haber wrote:
> On Mon, 7 May 2001 21:49:12 +0200, Filip Van Raemdonck
> <mechanix@debian.org> wrote:
> >The tools available for automatic changes signing seem to do this for you.
>
> Yes, they do. Judging from the debsign source, this is a gpg issue.
>
> However, debsign fails for me because gpg returns some strange error
> codes:
>
> |haber@paola[23/523]:~/tmp$ ( cat run_0.9.2-6.dsc ; echo "" ) | gpg
> |--local-user "Marc Haber <mh+debian-packages@zugschlus.de>"
> |--clearsign --armor --textmode --output - - > run_0.9.2-6.dsc.asc
> |gpg: /usr/lib/gnupg/rsa: error loading extension: /usr/lib/gnupg/rsa:
> |cannot open shared object file: No such file or directory
> |
> |You need a passphrase to unlock the secret key for
> |user: "Marc Haber <mh+debian-packages@zugschlus.de>"
> |1024-bit DSA key, ID 6BBA3C84, created 2000-02-15
> |
> |<passphrase is overwritten after pressing enter>
> |haber@paola[24/524]:~/tmp$ echo $?
> |2
>
> Is the return code 2 the result of rsa missing?
Recent versions of debsign gives the following message in this
situation (since version 2.5.13, December 2000):
/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....
Julian
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
Debian GNU/Linux Developer, see http://people.debian.org/~jdg
Donate free food to the world's hungry: see http://www.thehungersite.com/
Reply to: