Signing the RPM

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

 



Hi All,

I want to sign every RPM that I build. I got a bit confused to read
'man rpm'. it says there are two ways 01. rpm --addsign 2. make
entries in .rpmmacros file..

I added these entries in my .rpmmacros file

%_signature gpg
%_gpg_path /etc/rpm/.gpg
%_gpg_name Rohitashva Sharma <Rohitashva.Sharma@xxxxxxxxxxx>
%_gpgbin /usr/bin/gpg

and then build the RPM. When I query the built RPM like rpm -qpi
<rpm>, it shows signature field as (none).

Am I doing something wrong or missing something. I do not get any
error while building the rpm.

regards
Sharma

_______________________________________________
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