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

Signing the RPM



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 barc gov in>
%_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


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