haikuwebkit/LayoutTests/crypto/subtle/aes-cbc-generate-key-encryp...

17 lines
884 B
Plaintext
Raw Permalink Normal View History

Add console logging to encourage the use of authenticated encryption in WebCrypto https://bugs.webkit.org/show_bug.cgi?id=228879 <rdar://problem/80655397> Reviewed by Brent Fulgham. Source/WebCore: Warn about risks of using AES-CBC and AES-CTR modes in WebCrypto, based on recommendations in https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/encrypt. We should encourage authenticated encryption instead. * crypto/SubtleCrypto.cpp: (WebCore::SubtleCrypto::encrypt): (WebCore::SubtleCrypto::decrypt): LayoutTests: Update layout tests. * crypto/subtle/aes-cbc-cfb-decrypt-malformed-parameters-expected.txt: * crypto/subtle/aes-cbc-cfb-encrypt-malformed-parameters-expected.txt: * crypto/subtle/aes-cbc-generate-key-encrypt-decrypt-expected.txt: * crypto/subtle/aes-cbc-import-key-decrypt-expected.txt: * crypto/subtle/aes-cbc-import-key-encrypt-expected.txt: * crypto/subtle/aes-ctr-encrypt-malformed-parameters-expected.txt: * crypto/subtle/aes-ctr-generate-key-encrypt-decrypt-expected.txt: * crypto/subtle/aes-ctr-import-key-decrypt-expected.txt: * crypto/subtle/aes-ctr-import-key-encrypt-expected.txt: * crypto/subtle/decrypt-malformed-parameters-expected.txt: * crypto/subtle/encrypt-malformed-parameters-expected.txt: * TestExpectations: We should probably not change imported test expectations, this marks those tests as having console logging go to stderr. Additionally, some tests call encrypt/decrypt functions up to 1000 times to test for crashing, we should probably not log console to stdout in that case. Canonical link: https://commits.webkit.org/240369@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@280790 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-08-09 20:06:31 +00:00
CONSOLE MESSAGE: AES-CBC and AES-CTR do not provide authentication by default, and implementing it manually can result in minor, but serious mistakes. We recommended using authenticated encryption like AES-GCM to protect against chosen-ciphertext attacks.
CONSOLE MESSAGE: AES-CBC and AES-CTR do not provide authentication by default, and implementing it manually can result in minor, but serious mistakes. We recommended using authenticated encryption like AES-GCM to protect against chosen-ciphertext attacks.
Update SubtleCrypto::decrypt to match the latest spec https://bugs.webkit.org/show_bug.cgi?id=164739 <rdar://problem/29257848> Reviewed by Brent Fulgham. LayoutTests/imported/w3c: * WebCryptoAPI/encrypt_decrypt/test_aes_cbc-expected.txt: * WebCryptoAPI/idlharness-expected.txt: Source/WebCore: This patch does following few things: 1. It updates the SubtleCrypto::decrypt method to match the latest spec: https://www.w3.org/TR/WebCryptoAPI/#SubtleCrypto-method-decrypt. It also refers to the latest Editor's Draft to a certain degree: https://w3c.github.io/webcrypto/Overview.html#SubtleCrypto-method-decrypt. 2. It implements decrypt operations of the following algorithms: AES-CBC, RSAES-PKCS1-V1_5, and RSA-OAEP. Tests: crypto/subtle/aes-cbc-decrypt-malformed-parameters.html crypto/subtle/aes-cbc-generate-key-encrypt-decrypt.html crypto/subtle/aes-cbc-import-key-decrypt.html crypto/subtle/decrypt-malformed-parameters.html crypto/subtle/rsa-oaep-decrypt-malformed-parameters.html crypto/subtle/rsa-oaep-generate-key-encrypt-decrypt-label.html crypto/subtle/rsa-oaep-generate-key-encrypt-decrypt.html crypto/subtle/rsa-oaep-import-key-decrypt-label.html crypto/subtle/rsa-oaep-import-key-decrypt.html crypto/subtle/rsaes-pkcs1-v1_5-generate-key-encrypt-decrypt.html crypto/subtle/rsaes-pkcs1-v1_5-import-key-decrypt.html crypto/workers/subtle/aes-cbc-import-key-decrypt.html crypto/workers/subtle/rsa-oaep-import-key-decrypt.html crypto/workers/subtle/rsaes-pkcs1-v1_5-import-key-decrypt.html * bindings/js/JSSubtleCryptoCustom.cpp: (WebCore::normalizeCryptoAlgorithmParameters): (WebCore::toCryptoKey): (WebCore::toVector): (WebCore::jsSubtleCryptoFunctionEncryptPromise): (WebCore::jsSubtleCryptoFunctionDecryptPromise): (WebCore::jsSubtleCryptoFunctionExportKeyPromise): (WebCore::JSSubtleCrypto::decrypt): * crypto/CryptoAlgorithm.cpp: (WebCore::CryptoAlgorithm::decrypt): * crypto/CryptoAlgorithm.h: * crypto/SubtleCrypto.idl: * crypto/algorithms/CryptoAlgorithmAES_CBC.cpp: (WebCore::CryptoAlgorithmAES_CBC::decrypt): * crypto/algorithms/CryptoAlgorithmAES_CBC.h: * crypto/algorithms/CryptoAlgorithmRSAES_PKCS1_v1_5.cpp: (WebCore::CryptoAlgorithmRSAES_PKCS1_v1_5::decrypt): * crypto/algorithms/CryptoAlgorithmRSAES_PKCS1_v1_5.h: * crypto/algorithms/CryptoAlgorithmRSA_OAEP.cpp: (WebCore::CryptoAlgorithmRSA_OAEP::decrypt): * crypto/algorithms/CryptoAlgorithmRSA_OAEP.h: * crypto/gnutls/CryptoAlgorithmAES_CBCGnuTLS.cpp: (WebCore::CryptoAlgorithmAES_CBC::platformDecrypt): * crypto/gnutls/CryptoAlgorithmRSAES_PKCS1_v1_5GnuTLS.cpp: (WebCore::CryptoAlgorithmRSAES_PKCS1_v1_5::platformDecrypt): * crypto/gnutls/CryptoAlgorithmRSA_OAEPGnuTLS.cpp: (WebCore::CryptoAlgorithmRSA_OAEP::platformDecrypt): * crypto/mac/CryptoAlgorithmAES_CBCMac.cpp: (WebCore::CryptoAlgorithmAES_CBC::platformDecrypt): * crypto/mac/CryptoAlgorithmRSAES_PKCS1_v1_5Mac.cpp: (WebCore::decryptRSAES_PKCS1_v1_5): (WebCore::CryptoAlgorithmRSAES_PKCS1_v1_5::platformDecrypt): * crypto/mac/CryptoAlgorithmRSA_OAEPMac.cpp: (WebCore::decryptRSA_OAEP): (WebCore::CryptoAlgorithmRSA_OAEP::platformDecrypt): LayoutTests: * crypto/subtle/aes-cbc-decrypt-malformed-parameters-expected.txt: Added. * crypto/subtle/aes-cbc-decrypt-malformed-parameters.html: Added. * crypto/subtle/aes-cbc-generate-key-encrypt-decrypt-expected.txt: Added. * crypto/subtle/aes-cbc-generate-key-encrypt-decrypt.html: Added. * crypto/subtle/aes-cbc-import-key-decrypt-expected.txt: Added. * crypto/subtle/aes-cbc-import-key-decrypt.html: Added. * crypto/subtle/decrypt-malformed-parameters-expected.txt: Added. * crypto/subtle/decrypt-malformed-parameters.html: Added. * crypto/subtle/rsa-oaep-decrypt-malformed-parameters-expected.txt: Added. * crypto/subtle/rsa-oaep-decrypt-malformed-parameters.html: Added. * crypto/subtle/rsa-oaep-generate-key-encrypt-decrypt-expected.txt: Added. * crypto/subtle/rsa-oaep-generate-key-encrypt-decrypt-label-expected.txt: Added. * crypto/subtle/rsa-oaep-generate-key-encrypt-decrypt-label.html: Added. * crypto/subtle/rsa-oaep-generate-key-encrypt-decrypt.html: Added. * crypto/subtle/rsa-oaep-import-key-decrypt-expected.txt: Added. * crypto/subtle/rsa-oaep-import-key-decrypt-label-expected.txt: Added. * crypto/subtle/rsa-oaep-import-key-decrypt-label.html: Added. * crypto/subtle/rsa-oaep-import-key-decrypt.html: Added. * crypto/subtle/rsaes-pkcs1-v1_5-generate-key-encrypt-decrypt-expected.txt: Added. * crypto/subtle/rsaes-pkcs1-v1_5-generate-key-encrypt-decrypt.html: Added. * crypto/subtle/rsaes-pkcs1-v1_5-import-key-decrypt-expected.txt: Added. * crypto/subtle/rsaes-pkcs1-v1_5-import-key-decrypt.html: Added. * crypto/workers/subtle/aes-cbc-import-key-decrypt-expected.txt: Added. * crypto/workers/subtle/aes-cbc-import-key-decrypt.html: Added. * crypto/workers/subtle/resources/aes-cbc-import-key-decrypt.js: Added. * crypto/workers/subtle/resources/rsa-oaep-import-key-decrypt.js: Added. * crypto/workers/subtle/resources/rsaes-pkcs1-v1_5-import-key-decrypt.js: Added. * crypto/workers/subtle/rsa-oaep-import-key-decrypt-expected.txt: Added. * crypto/workers/subtle/rsa-oaep-import-key-decrypt.html: Added. * crypto/workers/subtle/rsaes-pkcs1-v1_5-import-key-decrypt-expected.txt: Added. * crypto/workers/subtle/rsaes-pkcs1-v1_5-import-key-decrypt.html: Added. Canonical link: https://commits.webkit.org/182627@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@208918 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-11-19 04:38:59 +00:00
Test encrypting&decrypting using AES-CBC algorithm with a generated 256bit key
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Generating a key...
Encrypting...
Update SubtleCrypto::verify to match the latest spec https://bugs.webkit.org/show_bug.cgi?id=164741 <rdar://problem/29257935> Reviewed by Brent Fulgham. LayoutTests/imported/w3c: * WebCryptoAPI/idlharness-expected.txt: Source/WebCore: This patch does following few things: 1. It updates the SubtleCrypto::verify method to match the latest spec: https://www.w3.org/TR/WebCryptoAPI/#SubtleCrypto-method-verify. It also refers to the latest Editor's Draft to a certain degree: https://w3c.github.io/webcrypto/Overview.html#SubtleCrypto-method-verify. 2. It implements verify operations of the following algorithms: HMAC, and RSASSA-PKCS1-V1_5. Tests: crypto/subtle/hmac-generate-key-sign-verify.html crypto/subtle/hmac-import-key-verify-sha1.html crypto/subtle/hmac-import-key-verify-sha224.html crypto/subtle/hmac-import-key-verify-sha256.html crypto/subtle/hmac-import-key-verify-sha384.html crypto/subtle/hmac-import-key-verify-sha512.html crypto/subtle/rsassa-pkcs1-v1_5-generate-key-sign-verify.html crypto/subtle/rsassa-pkcs1-v1_5-import-key-verify-sha1.html crypto/subtle/rsassa-pkcs1-v1_5-import-key-verify-sha224.html crypto/subtle/rsassa-pkcs1-v1_5-import-key-verify-sha256.html crypto/subtle/rsassa-pkcs1-v1_5-import-key-verify-sha384.html crypto/subtle/rsassa-pkcs1-v1_5-import-key-verify-sha512.html crypto/subtle/verify-malformed-parameters.html crypto/workers/subtle/hmac-import-key-verify.html crypto/workers/subtle/rsassa-pkcs1-v1_5-import-key-verify.html * bindings/js/JSSubtleCryptoCustom.cpp: (WebCore::normalizeCryptoAlgorithmParameters): (WebCore::jsSubtleCryptoFunctionVerifyPromise): (WebCore::JSSubtleCrypto::verify): * crypto/CryptoAlgorithm.cpp: (WebCore::CryptoAlgorithm::verify): * crypto/CryptoAlgorithm.h: * crypto/SubtleCrypto.idl: * crypto/algorithms/CryptoAlgorithmHMAC.cpp: (WebCore::CryptoAlgorithmHMAC::verify): * crypto/algorithms/CryptoAlgorithmHMAC.h: * crypto/algorithms/CryptoAlgorithmRSASSA_PKCS1_v1_5.cpp: (WebCore::CryptoAlgorithmRSASSA_PKCS1_v1_5::verify): * crypto/algorithms/CryptoAlgorithmRSASSA_PKCS1_v1_5.h: * crypto/gcrypt/CryptoAlgorithmHMACGCrypt.cpp: (WebCore::CryptoAlgorithmHMAC::platformVerify): * crypto/gnutls/CryptoAlgorithmHMACGnuTLS.cpp: (WebCore::CryptoAlgorithmHMAC::platformVerify): * crypto/gnutls/CryptoAlgorithmRSASSA_PKCS1_v1_5GnuTLS.cpp: (WebCore::CryptoAlgorithmRSASSA_PKCS1_v1_5::platformVerify): * crypto/mac/CryptoAlgorithmHMACMac.cpp: (WebCore::CryptoAlgorithmHMAC::platformVerify): * crypto/mac/CryptoAlgorithmRSASSA_PKCS1_v1_5Mac.cpp: (WebCore::verifyRSASSA_PKCS1_v1_5): (WebCore::CryptoAlgorithmRSASSA_PKCS1_v1_5::platformVerify): LayoutTests: Besides adding tests for SubtleCrypto::verify, it also enhances *generate-key-encrypt-decrypt tests. * crypto/subtle/aes-cbc-generate-key-encrypt-decrypt-expected.txt: * crypto/subtle/aes-cbc-generate-key-encrypt-decrypt.html: * crypto/subtle/hmac-generate-key-sign-verify-expected.txt: Added. * crypto/subtle/hmac-generate-key-sign-verify.html: Added. * crypto/subtle/hmac-import-key-verify-sha1-expected.txt: Added. * crypto/subtle/hmac-import-key-verify-sha1.html: Added. * crypto/subtle/hmac-import-key-verify-sha224-expected.txt: Added. * crypto/subtle/hmac-import-key-verify-sha224.html: Added. * crypto/subtle/hmac-import-key-verify-sha256-expected.txt: Added. * crypto/subtle/hmac-import-key-verify-sha256.html: Added. * crypto/subtle/hmac-import-key-verify-sha384-expected.txt: Added. * crypto/subtle/hmac-import-key-verify-sha384.html: Added. * crypto/subtle/hmac-import-key-verify-sha512-expected.txt: Added. * crypto/subtle/hmac-import-key-verify-sha512.html: Added. * crypto/subtle/rsa-oaep-generate-key-encrypt-decrypt-expected.txt: * crypto/subtle/rsa-oaep-generate-key-encrypt-decrypt-label-expected.txt: * crypto/subtle/rsa-oaep-generate-key-encrypt-decrypt-label.html: * crypto/subtle/rsa-oaep-generate-key-encrypt-decrypt.html: * crypto/subtle/rsaes-pkcs1-v1_5-generate-key-encrypt-decrypt-expected.txt: * crypto/subtle/rsaes-pkcs1-v1_5-generate-key-encrypt-decrypt.html: * crypto/subtle/rsassa-pkcs1-v1_5-generate-key-sign-verify-expected.txt: Added. * crypto/subtle/rsassa-pkcs1-v1_5-generate-key-sign-verify.html: Added. * crypto/subtle/rsassa-pkcs1-v1_5-import-key-verify-sha1-expected.txt: Added. * crypto/subtle/rsassa-pkcs1-v1_5-import-key-verify-sha1.html: Added. * crypto/subtle/rsassa-pkcs1-v1_5-import-key-verify-sha224-expected.txt: Added. * crypto/subtle/rsassa-pkcs1-v1_5-import-key-verify-sha224.html: Added. * crypto/subtle/rsassa-pkcs1-v1_5-import-key-verify-sha256-expected.txt: Added. * crypto/subtle/rsassa-pkcs1-v1_5-import-key-verify-sha256.html: Added. * crypto/subtle/rsassa-pkcs1-v1_5-import-key-verify-sha384-expected.txt: Added. * crypto/subtle/rsassa-pkcs1-v1_5-import-key-verify-sha384.html: Added. * crypto/subtle/rsassa-pkcs1-v1_5-import-key-verify-sha512-expected.txt: Added. * crypto/subtle/rsassa-pkcs1-v1_5-import-key-verify-sha512.html: Added. * crypto/subtle/verify-malformed-parameters-expected.txt: Added. * crypto/subtle/verify-malformed-parameters.html: Added. * crypto/workers/subtle/hmac-import-key-verify-expected.txt: Added. * crypto/workers/subtle/hmac-import-key-verify.html: Added. * crypto/workers/subtle/resources/hmac-import-key-verify.js: Added. * crypto/workers/subtle/resources/rsassa-pkcs1-v1_5-import-key-verify.js: Added. * crypto/workers/subtle/rsassa-pkcs1-v1_5-import-key-verify-expected.txt: Added. * crypto/workers/subtle/rsassa-pkcs1-v1_5-import-key-verify.html: Added. Canonical link: https://commits.webkit.org/182836@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@209150 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-11-30 21:19:20 +00:00
PASS bytesToASCIIString(cipherText) is not "Hello, World!"
Update SubtleCrypto::decrypt to match the latest spec https://bugs.webkit.org/show_bug.cgi?id=164739 <rdar://problem/29257848> Reviewed by Brent Fulgham. LayoutTests/imported/w3c: * WebCryptoAPI/encrypt_decrypt/test_aes_cbc-expected.txt: * WebCryptoAPI/idlharness-expected.txt: Source/WebCore: This patch does following few things: 1. It updates the SubtleCrypto::decrypt method to match the latest spec: https://www.w3.org/TR/WebCryptoAPI/#SubtleCrypto-method-decrypt. It also refers to the latest Editor's Draft to a certain degree: https://w3c.github.io/webcrypto/Overview.html#SubtleCrypto-method-decrypt. 2. It implements decrypt operations of the following algorithms: AES-CBC, RSAES-PKCS1-V1_5, and RSA-OAEP. Tests: crypto/subtle/aes-cbc-decrypt-malformed-parameters.html crypto/subtle/aes-cbc-generate-key-encrypt-decrypt.html crypto/subtle/aes-cbc-import-key-decrypt.html crypto/subtle/decrypt-malformed-parameters.html crypto/subtle/rsa-oaep-decrypt-malformed-parameters.html crypto/subtle/rsa-oaep-generate-key-encrypt-decrypt-label.html crypto/subtle/rsa-oaep-generate-key-encrypt-decrypt.html crypto/subtle/rsa-oaep-import-key-decrypt-label.html crypto/subtle/rsa-oaep-import-key-decrypt.html crypto/subtle/rsaes-pkcs1-v1_5-generate-key-encrypt-decrypt.html crypto/subtle/rsaes-pkcs1-v1_5-import-key-decrypt.html crypto/workers/subtle/aes-cbc-import-key-decrypt.html crypto/workers/subtle/rsa-oaep-import-key-decrypt.html crypto/workers/subtle/rsaes-pkcs1-v1_5-import-key-decrypt.html * bindings/js/JSSubtleCryptoCustom.cpp: (WebCore::normalizeCryptoAlgorithmParameters): (WebCore::toCryptoKey): (WebCore::toVector): (WebCore::jsSubtleCryptoFunctionEncryptPromise): (WebCore::jsSubtleCryptoFunctionDecryptPromise): (WebCore::jsSubtleCryptoFunctionExportKeyPromise): (WebCore::JSSubtleCrypto::decrypt): * crypto/CryptoAlgorithm.cpp: (WebCore::CryptoAlgorithm::decrypt): * crypto/CryptoAlgorithm.h: * crypto/SubtleCrypto.idl: * crypto/algorithms/CryptoAlgorithmAES_CBC.cpp: (WebCore::CryptoAlgorithmAES_CBC::decrypt): * crypto/algorithms/CryptoAlgorithmAES_CBC.h: * crypto/algorithms/CryptoAlgorithmRSAES_PKCS1_v1_5.cpp: (WebCore::CryptoAlgorithmRSAES_PKCS1_v1_5::decrypt): * crypto/algorithms/CryptoAlgorithmRSAES_PKCS1_v1_5.h: * crypto/algorithms/CryptoAlgorithmRSA_OAEP.cpp: (WebCore::CryptoAlgorithmRSA_OAEP::decrypt): * crypto/algorithms/CryptoAlgorithmRSA_OAEP.h: * crypto/gnutls/CryptoAlgorithmAES_CBCGnuTLS.cpp: (WebCore::CryptoAlgorithmAES_CBC::platformDecrypt): * crypto/gnutls/CryptoAlgorithmRSAES_PKCS1_v1_5GnuTLS.cpp: (WebCore::CryptoAlgorithmRSAES_PKCS1_v1_5::platformDecrypt): * crypto/gnutls/CryptoAlgorithmRSA_OAEPGnuTLS.cpp: (WebCore::CryptoAlgorithmRSA_OAEP::platformDecrypt): * crypto/mac/CryptoAlgorithmAES_CBCMac.cpp: (WebCore::CryptoAlgorithmAES_CBC::platformDecrypt): * crypto/mac/CryptoAlgorithmRSAES_PKCS1_v1_5Mac.cpp: (WebCore::decryptRSAES_PKCS1_v1_5): (WebCore::CryptoAlgorithmRSAES_PKCS1_v1_5::platformDecrypt): * crypto/mac/CryptoAlgorithmRSA_OAEPMac.cpp: (WebCore::decryptRSA_OAEP): (WebCore::CryptoAlgorithmRSA_OAEP::platformDecrypt): LayoutTests: * crypto/subtle/aes-cbc-decrypt-malformed-parameters-expected.txt: Added. * crypto/subtle/aes-cbc-decrypt-malformed-parameters.html: Added. * crypto/subtle/aes-cbc-generate-key-encrypt-decrypt-expected.txt: Added. * crypto/subtle/aes-cbc-generate-key-encrypt-decrypt.html: Added. * crypto/subtle/aes-cbc-import-key-decrypt-expected.txt: Added. * crypto/subtle/aes-cbc-import-key-decrypt.html: Added. * crypto/subtle/decrypt-malformed-parameters-expected.txt: Added. * crypto/subtle/decrypt-malformed-parameters.html: Added. * crypto/subtle/rsa-oaep-decrypt-malformed-parameters-expected.txt: Added. * crypto/subtle/rsa-oaep-decrypt-malformed-parameters.html: Added. * crypto/subtle/rsa-oaep-generate-key-encrypt-decrypt-expected.txt: Added. * crypto/subtle/rsa-oaep-generate-key-encrypt-decrypt-label-expected.txt: Added. * crypto/subtle/rsa-oaep-generate-key-encrypt-decrypt-label.html: Added. * crypto/subtle/rsa-oaep-generate-key-encrypt-decrypt.html: Added. * crypto/subtle/rsa-oaep-import-key-decrypt-expected.txt: Added. * crypto/subtle/rsa-oaep-import-key-decrypt-label-expected.txt: Added. * crypto/subtle/rsa-oaep-import-key-decrypt-label.html: Added. * crypto/subtle/rsa-oaep-import-key-decrypt.html: Added. * crypto/subtle/rsaes-pkcs1-v1_5-generate-key-encrypt-decrypt-expected.txt: Added. * crypto/subtle/rsaes-pkcs1-v1_5-generate-key-encrypt-decrypt.html: Added. * crypto/subtle/rsaes-pkcs1-v1_5-import-key-decrypt-expected.txt: Added. * crypto/subtle/rsaes-pkcs1-v1_5-import-key-decrypt.html: Added. * crypto/workers/subtle/aes-cbc-import-key-decrypt-expected.txt: Added. * crypto/workers/subtle/aes-cbc-import-key-decrypt.html: Added. * crypto/workers/subtle/resources/aes-cbc-import-key-decrypt.js: Added. * crypto/workers/subtle/resources/rsa-oaep-import-key-decrypt.js: Added. * crypto/workers/subtle/resources/rsaes-pkcs1-v1_5-import-key-decrypt.js: Added. * crypto/workers/subtle/rsa-oaep-import-key-decrypt-expected.txt: Added. * crypto/workers/subtle/rsa-oaep-import-key-decrypt.html: Added. * crypto/workers/subtle/rsaes-pkcs1-v1_5-import-key-decrypt-expected.txt: Added. * crypto/workers/subtle/rsaes-pkcs1-v1_5-import-key-decrypt.html: Added. Canonical link: https://commits.webkit.org/182627@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@208918 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-11-19 04:38:59 +00:00
Decrypting...
PASS bytesToASCIIString(decryptedText) is plainText
PASS successfullyParsed is true
TEST COMPLETE