From 706ad7bf3622b216bf4d74cfdbe4d41a6d585f3d Mon Sep 17 00:00:00 2001 From: Tobias Wich Date: Thu, 6 Oct 2022 15:38:56 +0200 Subject: [PATCH] Add note where to find allowed PBE encryption schemes for PKCS12 --- lib/pki_pkcs12.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pki_pkcs12.cpp b/lib/pki_pkcs12.cpp index 2b714e0f..9a75f72b 100644 --- a/lib/pki_pkcs12.cpp +++ b/lib/pki_pkcs12.cpp @@ -151,6 +151,7 @@ void pki_pkcs12::writePKCS12(XFile &file, encAlgo &encAlgo) const } +// see https://www.rfc-editor.org/rfc/rfc8018 Appendix B.2 for possible encryption schemes const QList encAlgo::all_encAlgos( { NID_pbe_WithSHA1And3_Key_TripleDES_CBC, NID_aes_256_cbc