From f7f3cdacad5bec9c8b16aac4e046910194d8579d Mon Sep 17 00:00:00 2001 From: Giancarlos Salas Date: Tue, 2 Jan 2018 22:37:37 -0500 Subject: [PATCH] fix tests, exclude files --- .gitignore | 1 + tests/mycert.pem | 26 ++++++++++++++++++++++++++ tests/privkey.pem | 27 +++++++++++++++++++++++++++ 3 files changed, 54 insertions(+) create mode 100644 tests/mycert.pem create mode 100644 tests/privkey.pem diff --git a/.gitignore b/.gitignore index ce7a48c..fd2bc8e 100644 --- a/.gitignore +++ b/.gitignore @@ -3,5 +3,6 @@ tests/sign-c14-comments.xml tests/sign-empty-uri.xml tests/sign-sha256-rsa-sha256-test.xml tests/sign-subject.xml +tests/sign-basic-test.xml vendor/ .idea/ diff --git a/tests/mycert.pem b/tests/mycert.pem new file mode 100644 index 0000000..35a732e --- /dev/null +++ b/tests/mycert.pem @@ -0,0 +1,26 @@ +-----BEGIN CERTIFICATE----- +MIIEVDCCAzygAwIBAgIJAPTrkMJbCOr1MA0GCSqGSIb3DQEBBQUAMHkxCzAJBgNV +BAYTAlVTMQ4wDAYDVQQIEwVNYWluZTESMBAGA1UEBxMJTGltaW5ndG9uMR8wHQYD +VQQKExZ4bWxzZWNsaWJzLnBocCBMaWJyYXJ5MSUwIwYDVQQDExx4bWxzZWNsaWJz +L3d3dy5jZGF0YXpvbmUub3JnMB4XDTA4MDcwNzIwMjIzMVoXDTE4MDcwNTIwMjIz +MVoweTELMAkGA1UEBhMCVVMxDjAMBgNVBAgTBU1haW5lMRIwEAYDVQQHEwlMaW1p +bmd0b24xHzAdBgNVBAoTFnhtbHNlY2xpYnMucGhwIExpYnJhcnkxJTAjBgNVBAMT +HHhtbHNlY2xpYnMvd3d3LmNkYXRhem9uZS5vcmcwggEiMA0GCSqGSIb3DQEBAQUA +A4IBDwAwggEKAoIBAQDttdMyM5ISVD1Uz+BHAPrxVJ6N1eZonfg3DMvZVT0Zy64+ +qcXj8zuHC6lolDsfGnD8LUttraQ7qCL+bHKps+hjAhCRdx5Wcn4iDrlFpxFL7INn +r6vekzsCQ45BPUrvksF9FKa7yX4iSDButmPfoT14gPnIuSe8Y5UeGe6Lk6sF0WgH +yL+JmxOu377Kuhah2pXZ1+z7V4JIlNgemJtKlqrvgGeuE9TagfGHUL9BuZK5fUx/ +RSDUjqxUeKU3fft9fGIAZl0dduitC2Otv4dr1gxLrUmI+ZZ75FmtfKQT7SmS92QV +I2B5WAPlL1bnbvhkZiyw7nFE+Q/wGJ2myE4RIFjdAgMBAAGjgd4wgdswHQYDVR0O +BBYEFEC5iG0uGXLpQG/zMj/4TuDWfTpHMIGrBgNVHSMEgaMwgaCAFEC5iG0uGXLp +QG/zMj/4TuDWfTpHoX2kezB5MQswCQYDVQQGEwJVUzEOMAwGA1UECBMFTWFpbmUx +EjAQBgNVBAcTCUxpbWluZ3RvbjEfMB0GA1UEChMWeG1sc2VjbGlicy5waHAgTGli +cmFyeTElMCMGA1UEAxMceG1sc2VjbGlicy93d3cuY2RhdGF6b25lLm9yZ4IJAPTr +kMJbCOr1MAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBACmSKrte07Vr +GB8dtrN5mrt28ILickQjguu46h6vChgQ4YfIAoA1KWNsZJUuuIzTDjE5xz2hsW37 +CI0yrNesv2ho2hhP+fIaxCGmcwLYXL80UaPRglYk5+wPWFOt3QFAVoEgwjLX9+y+ +c2Gu7xLgHAFZVRjQ5hhKT0Nj3vhnt0k8LcognNl1wKuWda7VL4tODp/2IOXr5o5v +/OL3UesGfeWfvr8LVmMc5f7/vLAu1+2Yk+/C9/EZyf3BDZQ4z8ae/iwqprCTUIEj +hUDcq4+0YN2EIw6suGE2FtWlsIywNErmoOhdrmntU61n3nFCQBi7QDUnZrAFrl4/ +bmk3eRJ00nE= +-----END CERTIFICATE----- diff --git a/tests/privkey.pem b/tests/privkey.pem new file mode 100644 index 0000000..9633129 --- /dev/null +++ b/tests/privkey.pem @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----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