Security: switch from component sha256 checking to certificate checking.
This commit is contained in:
parent
f548db82ed
commit
01d8349b1f
@ -42,8 +42,8 @@
|
|||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
SecurityMode SecurityGard::_securityMode = sm_sha256;
|
//SecurityMode SecurityGard::_securityMode = sm_sha256;
|
||||||
//SecurityMode SecurityGard::_securityMode = sm_certif;
|
SecurityMode SecurityGard::_securityMode = sm_certif;
|
||||||
|
|
||||||
SecurityGard::SecurityGard()
|
SecurityGard::SecurityGard()
|
||||||
{
|
{
|
||||||
|
@ -80,7 +80,7 @@ private:
|
|||||||
// Code signing certificate
|
// Code signing certificate
|
||||||
std::wstring _signer_display_name = TEXT("Notepad++");
|
std::wstring _signer_display_name = TEXT("Notepad++");
|
||||||
std::wstring _signer_subject = TEXT("C=FR, S=Ile-de-France, L=Saint Cloud, O=\"Notepad++\", CN=\"Notepad++\"");
|
std::wstring _signer_subject = TEXT("C=FR, S=Ile-de-France, L=Saint Cloud, O=\"Notepad++\", CN=\"Notepad++\"");
|
||||||
std::wstring _signer_key_id = TEXT("42C4C5846BB675C74E2B2C90C69AB44366401093");
|
std::wstring _signer_key_id = TEXT("ED255D9151912E40DF048A56288E969A8D0DAFA3");
|
||||||
bool _doCheckRevocation = false;
|
bool _doCheckRevocation = false;
|
||||||
bool _doCheckChainOfTrust = false;
|
bool _doCheckChainOfTrust = false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user