From e06b67718ce3402030dfcdae87a981a572d7982e Mon Sep 17 00:00:00 2001 From: Alex Stapleton Date: Sat, 15 Feb 2014 20:18:42 +0000 Subject: 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 --- .../vectors/asymmetric/OpenSSL/testrsa-encrypted.pem | 12 ++++++++++++ .../hazmat/primitives/vectors/asymmetric/OpenSSL/testrsa.pem | 9 +++++++++ 2 files changed, 21 insertions(+) create mode 100644 tests/hazmat/primitives/vectors/asymmetric/OpenSSL/testrsa-encrypted.pem create mode 100644 tests/hazmat/primitives/vectors/asymmetric/OpenSSL/testrsa.pem (limited to 'tests') 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----- -- cgit v1.2.3