Linux Driver RPM Signature Verification - Shell Script

I would like a script that will check if the Linux driver RPM is signed or not

- rpm -qp --checksig

- --info will print out everything about it and there is a field for Signature. Which will say None if not signed...or else will mention the key

The script should able to process as an input an individual RPM file, an archived file, folder location, or if the script is run without an input is should check all the RPMs of the directory it is in.

If the script detects an archived file as an input, the script should be able to extract, traverse the content, and validate only the RPM files contained within the archived file. Similar, if the user just provides a folder location.

Need two scripts one that just returns the RPM names that are unsigned after checking if no RPMs are unsigned then return "all RPMs signed".

The other needs to display all the RPMs and the the signature if signed and if not it needs to say none for the respective RPM (just like the info command does).

Have a script that can be used as a base.

Compétences : Linux, Script Shell, UNIX

en voir plus : linux shell script print server migration, linux shell script log parsing, shell script linux memory usage remote monitoring, linux shell script replace line, linux shell script current date time, shell script delete lines starting file linux, shell script disk capacity linux, linux shell script virtuozzo, pdf creator linux shell script, shell script monitor linux server activity

Concernant l'employeur :
( 3 commentaires ) Riverside, United States

Nº du projet : #8480364

Décerné à:


I'm in expert in shell scripting and can do it for you in the shortest terms. Contact me for details please and I'm ready to start as soon as possible

%selectedBids___i_sum_sub_7% %project_currencyDetails_sign_sub_8% USD en 2 jours
(36 Commentaires)

2 freelance font une offre moyenne de $183 pour ce travail


A proposal has not yet been provided

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(24 Commentaires)