mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 07:17:32 +09:00
Update NSS to 3.38
- Added HACL*Poly1305 32-bit (INRIA/Microsoft) - Updated to final TLS 1.3 draft version (28) - Removed TLS 1.3 prerelease draft limit check - Removed NPN code - Enabled dev/urandom-only RNG on Linux with NSS_SEED_ONLY_DEV_URANDOM for non-standard environments - Fixed several bugs with TLS 1.3 negotiation - Updated internal certificate store - Added support for the TLS Record Size Limit Extension. - Fixed CVE-2018-0495 - Various security fixes in the ASN.1 code.
This commit is contained in:
parent
0d5d154158
commit
d36d4eb674
197 changed files with 4873 additions and 7145 deletions
|
|
@ -105,6 +105,7 @@ tools_init()
|
|||
mkdir -p ${TOOLSDIR}/data
|
||||
cp ${QADIR}/tools/TestOldCA.p12 ${TOOLSDIR}/data
|
||||
cp ${QADIR}/tools/TestOldAES128CA.p12 ${TOOLSDIR}/data
|
||||
cp ${QADIR}/tools/TestRSAPSS.p12 ${TOOLSDIR}/data
|
||||
|
||||
cd ${TOOLSDIR}
|
||||
}
|
||||
|
|
@ -436,6 +437,23 @@ tools_p12_import_old_files()
|
|||
check_tmpfile
|
||||
}
|
||||
|
||||
tools_p12_import_rsa_pss_private_key()
|
||||
{
|
||||
echo "$SCRIPTNAME: Importing RSA-PSS private key from PKCS#12 file --------------"
|
||||
${BINDIR}/pk12util -i ${TOOLSDIR}/data/TestRSAPSS.p12 -d ${P_R_COPYDIR} -k ${R_PWFILE} -W '' 2>&1
|
||||
ret=$?
|
||||
html_msg $ret 0 "Importing RSA-PSS private key from PKCS#12 file"
|
||||
check_tmpfile
|
||||
|
||||
# Check if RSA-PSS identifier is included in the key listing
|
||||
${BINDIR}/certutil -d ${P_R_COPYDIR} -K -f ${R_PWFILE} | grep '^<[0-9 ]*> *rsaPss'
|
||||
ret=$?
|
||||
html_msg $ret 0 "Listing RSA-PSS private key imported from PKCS#12 file"
|
||||
check_tmpfile
|
||||
|
||||
return $ret
|
||||
}
|
||||
|
||||
############################## tools_p12 ###############################
|
||||
# local shell function to test basic functionality of pk12util
|
||||
########################################################################
|
||||
|
|
@ -448,6 +466,9 @@ tools_p12()
|
|||
tools_p12_export_with_none_ciphers
|
||||
tools_p12_export_with_invalid_ciphers
|
||||
tools_p12_import_old_files
|
||||
if [ "${TEST_MODE}" = "SHARED_DB" ] ; then
|
||||
tools_p12_import_rsa_pss_private_key
|
||||
fi
|
||||
}
|
||||
|
||||
############################## tools_sign ##############################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue