Open Bug 711015 Opened 14 years ago Updated 2 years ago

Defer PKCS#12 (libsmime) initialization so that it doesn't occur during startup (during nsNSSComponent::Init)

Categories

(Core :: Security: PSM, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: briansmith, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Keywords: perf, Whiteboard: [ts][psm-backlog])

+++ This bug was initially created as a clone of Bug #711014 +++ http://hg.mozilla.org/mozilla-central/annotate/beac16509534/security/manager/ssl/src/nsNSSComponent.cpp#l1753 PKCS#12 support is almost never used in any Gecko-based product, and SMIME support is basically never used in Firefox. By moving the following calls out of nsNSSCompoennt::Init, we may be able to completely defer the loading of libsmime in Gecko (and especially Firefox) until well after startup. 1806 // Enable ciphers for PKCS#12 1807 SEC_PKCS12EnableCipher(PKCS12_RC4_40, 1); 1808 SEC_PKCS12EnableCipher(PKCS12_RC4_128, 1); 1809 SEC_PKCS12EnableCipher(PKCS12_RC2_CBC_40, 1); 1810 SEC_PKCS12EnableCipher(PKCS12_RC2_CBC_128, 1); 1811 SEC_PKCS12EnableCipher(PKCS12_DES_56, 1); 1812 SEC_PKCS12EnableCipher(PKCS12_DES_EDE3_168, 1); 1813 SEC_PKCS12SetPreferredCipher(PKCS12_DES_EDE3_168, 1);
See Also: → 711014
Summary: Defer SSL initialization so that it doesn't occur during startup (during nsNSSComponent::Init) → Defer PKCS#12 (libsmime) initialization so that it doesn't occur during startup (during nsNSSComponent::Init)
Whiteboard: [ts]
Whiteboard: [ts] → [ts][psm-backlog]
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.