From d870afd192fb3205ccddd2634f8aa8a235a1566b Mon Sep 17 00:00:00 2001 From: DavidXanatos <3890945+DavidXanatos@users.noreply.github.com> Date: Sun, 27 Aug 2023 11:06:36 +0200 Subject: [PATCH] 1.11.0b --- Sandboxie/core/drv/verify.c | 5 ++++- SandboxiePlus/SandMan/Windows/OptionsGeneral.cpp | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Sandboxie/core/drv/verify.c b/Sandboxie/core/drv/verify.c index 55a3f30c..e8fcc10e 100644 --- a/Sandboxie/core/drv/verify.c +++ b/Sandboxie/core/drv/verify.c @@ -770,7 +770,10 @@ _FX NTSTATUS KphValidateCertificate() Verify_CertInfo.level = eCertMaxLevel; } else if (level && _wcsicmp(level, L"LARGE") == 0) { // 2 years - personal - Verify_CertInfo.level = eCertAdvanced; + if(CERT_IS_TYPE(Verify_CertInfo, eCertPatreon)) + Verify_CertInfo.level = eCertStandard2; + else + Verify_CertInfo.level = eCertAdvanced; expiration_date.QuadPart = cert_date.QuadPart + KphGetDateInterval(0, 0, 2); // 2 years } else if (level && _wcsicmp(level, L"MEDIUM") == 0) { // 1 year - personal diff --git a/SandboxiePlus/SandMan/Windows/OptionsGeneral.cpp b/SandboxiePlus/SandMan/Windows/OptionsGeneral.cpp index 246ba437..4e2480c4 100644 --- a/SandboxiePlus/SandMan/Windows/OptionsGeneral.cpp +++ b/SandboxiePlus/SandMan/Windows/OptionsGeneral.cpp @@ -98,7 +98,6 @@ void COptionsWindow::CreateGeneral() COptionsWindow__AddCertIcon(ui.chkConfidential, true); if (!CERT_IS_LEVEL(g_CertInfo, eCertAdvanced)) { COptionsWindow__AddCertIcon(ui.chkEncrypt, true); - COptionsWindow__AddCertIcon(ui.chkAllowEfs, true); }