Verified Commit 9abdda39 authored by Andre Heinecke's avatar Andre Heinecke
Browse files

Add double dash for exec command for files

This prevents shenannigans with file names that might
inject command line options.
parent b4bd63c1
Pipeline #26253 passed with stage
in 23 minutes and 52 seconds
......@@ -102,4 +102,4 @@ Name[x-test]=xxDecrypt/Verify Filexx
Name[zh_CN]=解密/验证文件
Name[zh_TW]=解密/檢查檔案
Icon=kleopatra
Exec=kleopatra --decrypt-verify %F
Exec=kleopatra --decrypt-verify -- %F
......@@ -101,4 +101,4 @@ Name[x-test]=xxDecrypt/Verify All Files In Folderxx
Name[zh_CN]=文件夹中的全部解密/验证文件
Name[zh_TW]=解密/檢查所有資料夾中的檔案
Icon=kleopatra
Exec=kleopatra --decrypt-verify %F
Exec=kleopatra --decrypt-verify -- %F
[Desktop Entry]
Type=Application
Icon=kleopatra
Exec=kleopatra --import-certificate %F
Exec=kleopatra --import-certificate -- %F
MimeType=application/pkcs7-mime;application/x-x509-ca-cert;application/x-pkcs12;application/pgp-keys;
Categories=Qt;KDE;Utility;X-KDE-Utilities-PIM;
......
......@@ -103,7 +103,7 @@ Name[x-test]=xxSign & Encrypt Filexx
Name[zh_CN]=签名并加密文件
Name[zh_TW]=簽署並加密檔案
Icon=kleopatra
Exec=kleopatra --encrypt-sign %F
Exec=kleopatra --encrypt-sign -- %F
[Desktop Action kleoencryptfiles]
Name=Encrypt File
......@@ -159,7 +159,7 @@ Name[x-test]=xxEncrypt Filexx
Name[zh_CN]=加密文件
Name[zh_TW]=加密檔案
Icon=kleopatra
Exec=kleopatra --encrypt %F
Exec=kleopatra --encrypt -- %F
[Desktop Action kleosignfilesopenpgp]
Name=OpenPGP-Sign File
......@@ -211,7 +211,7 @@ Name[x-test]=xxOpenPGP-Sign Filexx
Name[zh_CN]=OpenPGP 签名文件
Name[zh_TW]=OpenPGP─簽署檔案
Icon=kleopatra
Exec=kleopatra --openpgp --sign %F
Exec=kleopatra --openpgp --sign -- %F
[Desktop Action kleosignfilescms]
Name=S/MIME-Sign File
......@@ -263,5 +263,5 @@ Name[x-test]=xxS/MIME-Sign Filexx
Name[zh_CN]=S/MIME 签名文件
Name[zh_TW]=S/MIME─簽署檔案
Icon=kleopatra
Exec=kleopatra --cms --sign %F
Exec=kleopatra --cms --sign -- %F
......@@ -100,7 +100,7 @@ Name[x-test]=xxArchive, Sign && Encrypt Folderxx
Name[zh_CN]=归档、签名并加密文件夹
Name[zh_TW]=歸檔,簽署與加密資料夾
Icon=kleopatra
Exec=kleopatra --encrypt-sign %F
Exec=kleopatra --encrypt-sign -- %F
[Desktop Action kleoencryptfolder]
Name=Archive && Encrypt Folder
......@@ -151,4 +151,4 @@ Name[x-test]=xxArchive && Encrypt Folderxx
Name[zh_CN]=归档并加密文件夹
Name[zh_TW]=歸檔並加密資料夾
Icon=kleopatra
Exec=kleopatra --encrypt %F
Exec=kleopatra --encrypt -- %F
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment