Sathya,

You can also refer to 
https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.c.
Some signature checking logic can be found at function 
DxeImageVerificationHandler(). 


Best Regards & Thanks,
LONG, Qin

-----Original Message-----
From: Prakash, Sathya [mailto:[email protected]] 
Sent: Tuesday, October 16, 2012 6:07 AM
To: [email protected]
Subject: Re: [edk2] Tool or interface to check whether a image is signed/not?

Andrew,
Thanks for the link, I am planning to make a shell application.

-Sathya

-----Original Message-----
From: Andrew Fish [mailto:[email protected]]
Sent: Monday, October 15, 2012 3:01 PM
To: [email protected]
Subject: Re: [edk2] Tool or interface to check whether a image is signed/not?

Are you trying to make an EFI Application or a build tool?

build tool:
https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/BaseTools/Source/C/Include/IndustryStandard/PeImage.h
https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/BaseTools/Source/C/Common/PeCoffLib.h

EFI Application:
https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/MdePkg/Include/IndustryStandard/PeImage.h
https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/MdePkg/Library/BasePeCoffLib/
https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/MdePkg/Library/BasePeCoffGetEntryPointLib/


Andrew Fish



On Oct 15, 2012, at 1:08 PM, Prakash, Sathya wrote:

> Hello All,
> For my local testing I am trying to develop or find a tool which can take a 
> .EFI or .ROM files as argument and return information about whether the image 
> is having valid signatures or not.  Thought of using it to differentiate 
> between Microsoft signed boot service driver image and unsigned image for our 
> internal maintenances. 
> If there is no such tool, is there any header and interface in UDK2010 to 
> parse the image and find out whether it contains a certificate or not?
> 
> Thanks
> Sathya
> 
> 
> 
> ----------------------------------------------------------------------
> -------- Don't let slow site performance ruin your business. Deploy 
> New Relic APM Deploy New Relic app performance management and know 
> exactly what is happening inside your Ruby, Python, PHP, Java, and 
> .NET app Try New Relic at no cost today and get our sweet Data Nerd 
> shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/edk2-devel


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM Deploy 
New Relic app performance management and know exactly what is happening inside 
your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and 
get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM Deploy 
New Relic app performance management and know exactly what is happening inside 
your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and 
get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to