aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives
diff options
context:
space:
mode:
authorAlex Stapleton <alexs@prol.etari.at>2014-02-15 20:18:42 +0000
committerAlex Stapleton <alexs@prol.etari.at>2014-02-19 20:50:29 +0000
commite06b67718ce3402030dfcdae87a981a572d7982e (patch)
treefe34c2b765e4eefb2832eaf56e239ef4d6a2d979 /tests/hazmat/primitives
parent90e9de13ffa9496f14728d92d90fb54f92ebf9ae (diff)
downloadcryptography-e06b67718ce3402030dfcdae87a981a572d7982e.tar.gz
cryptography-e06b67718ce3402030dfcdae87a981a572d7982e.tar.bz2
cryptography-e06b67718ce3402030dfcdae87a981a572d7982e.zip
Add testrsa.pem from the OpenSSL repo
Found in test/testrsa.pem. Has been around since the SSLeay fork. testrsa-encrypted.pem was encrypted with AES128 using OpenSSL 1.0.1e-3ubuntu1.1 under the password `password`. The command used was: openssl rsa -in testrsa.pem -out testrsa-encrypted.pem -aes128
Diffstat (limited to 'tests/hazmat/primitives')
-rw-r--r--tests/hazmat/primitives/vectors/asymmetric/OpenSSL/testrsa-encrypted.pem12
-rw-r--r--tests/hazmat/primitives/vectors/asymmetric/OpenSSL/testrsa.pem9
2 files changed, 21 insertions, 0 deletions
diff --git a/tests/hazmat/primitives/vectors/asymmetric/OpenSSL/testrsa-encrypted.pem b/tests/hazmat/primitives/vectors/asymmetric/OpenSSL/testrsa-encrypted.pem
new file mode 100644
index 00000000..cacab087
--- /dev/null
+++ b/tests/hazmat/primitives/vectors/asymmetric/OpenSSL/testrsa-encrypted.pem
@@ -0,0 +1,12 @@
+-----BEGIN RSA PRIVATE KEY-----
+Proc-Type: 4,ENCRYPTED
+DEK-Info: AES-128-CBC,5E22A2BD85A653FB7A3ED20DE84F54CD
+
+hAqtb5ZkTMGcs4BBDQ1SKZzdQThWRDzEDxM3qBfjvYa35KxZ54aic013mW/lwj2I
+v5bbpOjrHYHNAiZYZ7RNb+ztbF6F/g5PA5g7mFwEq+LFBY0InIplYBSv9QtE+lot
+Dy4AlZa/+NzJwgdKDb+JVfk5SddyD4ywnyeORnMPy4xXKvjXwmW+iLibZVKsjIgw
+H8hSxcD+FhWyJm9h9uLtmpuqhQo0jTUYpnTezZx2xeVPB53Ev7YCxR9Nsgj5GsVf
+9Z/hqLB7IFgM3pa0z3PQeUIZF/cEf72fISWIOBwwkzVrPUkXWfbuWeJXQXSs3amE
+5A295jD9BQp9CY0nNFSsy+qiXWToq2xT3y5zVNEStmN0SCGNaIlUnJzL9IHW+oMI
+kPmXZMnAYBWeeCF1gf3J3aE5lZInegHNfEI0+J0LazC2aNU5Dg/BNqrmRqKWEIo/
+-----END RSA PRIVATE KEY-----
diff --git a/tests/hazmat/primitives/vectors/asymmetric/OpenSSL/testrsa.pem b/tests/hazmat/primitives/vectors/asymmetric/OpenSSL/testrsa.pem
new file mode 100644
index 00000000..aad21067
--- /dev/null
+++ b/tests/hazmat/primitives/vectors/asymmetric/OpenSSL/testrsa.pem
@@ -0,0 +1,9 @@
+-----BEGIN RSA PRIVATE KEY-----
+MIIBPAIBAAJBAKrbeqkuRk8VcRmWFmtP+LviMB3+6dizWW3DwaffznyHGAFwUJ/I
+Tv0XtbsCyl3QoyKGhrOAy3RvPK5M38iuXT0CAwEAAQJAZ3cnzaHXM/bxGaR5CR1R
+rD1qFBAVfoQFiOH9uPJgMaoAuoQEisPHVcZDKcOv4wEg6/TInAIXBnEigtqvRzuy
+oQIhAPcgZzUq3yVooAaoov8UbXPxqHlwo6GBMqnv20xzkf6ZAiEAsP4BnIaQTM8S
+mvcpHZwQJdmdHHkGKAs37Dfxi67HbkUCIQCeZGliHXFa071Fp06ZeWlR2ADonTZz
+rJBhdTe0v5pCeQIhAIZfkiGgGBX4cIuuckzEm43g9WMUjxP/0GlK39vIyihxAiEA
+mymehFRT0MvqW5xAKAx7Pgkt8HVKwVhc2LwGKHE0DZM=
+-----END RSA PRIVATE KEY-----