Skip to content

Instantly share code, notes, and snippets.

@jhunt
Created August 15, 2016 14:28
Show Gist options
  • Save jhunt/363da89f44228984ae2786598772e442 to your computer and use it in GitHub Desktop.
Save jhunt/363da89f44228984ae2786598772e442 to your computer and use it in GitHub Desktop.
[builder@b582d798647a tmp]$ curl -LO http://pkg.niftylogic.com/centos/el5/x86_64/bolo-0.2.18-1.nifty1.x86_64.rpm
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 76645 100 76645 0 0 657k 0 --:--:-- --:--:-- --:--:-- 712k
[builder@b582d798647a tmp]$ rpm -K bolo-0.2.18-1.nifty1.x86_64.rpm
bolo-0.2.18-1.nifty1.x86_64.rpm: rsa sha1 (md5) pgp md5 OK
[builder@b582d798647a tmp]$ rpm -Kv bolo-0.2.18-1.nifty1.x86_64.rpm
bolo-0.2.18-1.nifty1.x86_64.rpm:
Header V3 RSA/SHA1 Signature, key ID 7b576eff: OK
Header SHA1 digest: OK (2ee537ef7e3b335788c8e26f863211ce92ad8c73)
V3 RSA/SHA1 Signature, key ID 7b576eff: OK
MD5 digest: OK (dda3091d932fe5e3ce83c55116f6098d)
@teancom
Copy link

teancom commented Aug 15, 2016

I prefer to modify .rpmmacros purely for personal reasons (I keep that in sync across build envs moreso than my gpg.conf) but whatever fits best for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment