PDA

View Full Version : Is it possible to import all the gpg keys?



PryGuy
12th December 2010, 11:52 AM
Good day!
I build my own Fedora spin and I have a question, is it possible to import gpg keys for all the enabled repos with one command in it?

Thank you in advance!

DBelton
13th December 2010, 08:55 AM
I guess you could put all the gpg keys into one folder and then run rpm --import /foldername/*

Is that what you were looking for?

PryGuy
13th December 2010, 02:58 PM
Well, partly. It'd be better if the tool would scan the /etc/yum.repos.d contents and download the gpg keys. Thanks for your answer, that does the trick as well! ;)