From e2cba29379e3caa7237f149d4fa1e8b72328544a Mon Sep 17 00:00:00 2001 From: PIKACHUIM Date: Thu, 19 Sep 2024 19:33:32 +0800 Subject: [PATCH] add create csr & add pem ui(not finish) fix some display issue --- SmartCardAPP.py | 3 ++- request.inf | 15 --------------- 2 files changed, 2 insertions(+), 16 deletions(-) delete mode 100644 request.inf diff --git a/SmartCardAPP.py b/SmartCardAPP.py index 273f2d7..c06f027 100644 --- a/SmartCardAPP.py +++ b/SmartCardAPP.py @@ -748,7 +748,8 @@ def search(): file_path = filedialog.askopenfilename( filetypes=[ ("PFX Files", "*.pfx;*.p12") if flag == "pfx" \ - else ("Cert Files", "*.cer;*.crt;*.pem;*.der;*.p7b") + else ("Cert Chains", "*.p7b") + # else ("Cert Files", "*.cer;*.crt;*.pem;*.der;*.p7b") ] ) if file_path: diff --git a/request.inf b/request.inf deleted file mode 100644 index 12b37f9..0000000 --- a/request.inf +++ /dev/null @@ -1,15 +0,0 @@ -[Version] -Signature="$Windows NT$" -[NewRequest] -RequestType = PKCS10 -ProviderName = "Microsoft Base Smart Card Crypto Provider" -ProviderType = 0 -Exportable = FALSE -MachineKeySet = TRUE -Subject = "CN=11,2.5.4.15=Private" -KeySpec = AT_KEYEXCHANGE -KeyUsage = "0x0000" -FriendlyName= "11" -KeyContainer= "C-86357" -HashAlgorithm= sha256 -KeyLength= 2048