gpg

How to add a GPG key to RPM

I always forget the syntax for retrieving GPG keys from a key server, e.g. to add them to RPM. Here the reminder:

gpg --keyserver pgp.mit.edu --recv-key 0xde95bc1f
gpg -a --export 0xde95bc1f > key.gpg
rpm --import key.gpg
rm key.gpg

P.S. the example key is used to sign Libvirt RPM's for Fedora

GnuPG public key

Tagged:



In order to send me encrypted mail or to validate the packages in my repository, here's my GPG public key:


-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.10 (GNU/Linux)

mQGiBEhzglsRBACNVmDSr3m7afxLx9ugrPm3Lo53MSGsH3hQfWDzyXKoRuOF1aed
fT4zPny/l9ZAd4h3wAhgANLlAvbJDPYW0VJL0yXuih8TFh1RfK244CNCUx5EI9vo
9Im3KUubg3944wDT9xei9mFY+OHhgv31HahRmzZA12zVFm0FJuXjxIZxgwCgtiVQ
RKX6kWXcARa0EoixLmkMF/0D/219Pd2lP+73BhnMZCdjLzQrxMRpWnng8njuLdhB
5kmHYwhvyXvjim4nmxioZEFsgL5OY2Gl2dJdjMI99Rcxv/XjjQdYX+OEY6P2Xn69

Syndicate content