Problem with rpmsign

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

 



I'm trying to sign an RPM file, but can't seem to get it to work.  I can
sign a file using gpg, but somehow this doesn't seem to translate to
RPMs.  Here's a transcript of a session from a RH EL 4 ES system.  It
shows signing a file with gpg and the failure using rpmsign.  I tried
twice, thinking I may have miss-typed my pass phrase.  I have also
provided the content of my .rpmmacro file.

Thanks in advance for any suggestions.

Steve


[roggenks@pixie1 ~]$ rpm --resign rpms/RPMS/i386/find-1.0-4.i386.rpm
Enter pass phrase:
Pass phrase check failed
[roggenks@pixie1 ~]$ rpm --resign rpms/RPMS/i386/find-1.0-4.i386.rpm
Enter pass phrase:
Pass phrase check failed
[roggenks@pixie1 ~]$ ls
pub-roggenks-oclc.asc  rpms  testfile  testfile.gpg
[roggenks@pixie1 ~]$ rm testfile.gpg
[roggenks@pixie1 ~]$ gpg --sign testfile

You need a passphrase to unlock the secret key for
user: "Steve Roggenkamp (OCLC) <roggenks@xxxxxxxx>"
1024-bit DSA key, ID 9130570D, created 2006-07-13

[roggenks@pixie1 ~]$ ll
total 16
-rw-rw-r--  1 roggenks roggenks 1344 Jul 13 09:21 pub-roggenks-oclc.asc
drwxrwxr-x  7 roggenks roggenks 4096 Jul 12 13:42 rpms
-rw-rw-r--  1 roggenks roggenks 1344 Jul 13 09:25 testfile
-rw-rw-r--  1 roggenks roggenks 1184 Jul 13 09:34 testfile.gpg
[roggenks@pixie1 ~]$ file testfile*
testfile:     PGP armored data public key block
testfile.gpg: data
[roggenks@pixie1 ~]$ gpg --verify testfile.gpg
gpg: Signature made Thu 13 Jul 2006 09:34:17 AM EDT using DSA key ID
9130570D
gpg: Good signature from "Steve Roggenkamp (OCLC) <roggenks@xxxxxxxx>"
[roggenks@pixie1 ~]$ cat .rpmmacros
#
# macros for building RPM files for Steve Roggenkamp
#

%_topdir          %(echo $HOME)/rpms
%debug_package    %{nil}
%_signature       gpg
%_gpg_path        $HOME/.gnupg
%_gpg_name        9130570D
[roggenks@pixie1 ~]$

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux