Index: tests/ca.pem =================================================================== --- tests/ca.pem (revision 739) +++ tests/ca.pem (working copy) @@ -2,61 +2,56 @@ Data: Version: 3 (0x2) Serial Number: - d1:b6:bf:af:06:17:8c:bd + b4:7e:b2:de:87:00:03:0b Signature Algorithm: sha1WithRSAEncryption Issuer: C=US, ST=California, O=M2Crypto, CN=Heikki Toivonen Validity - Not Before: Jul 28 04:30:50 2009 GMT - Not After : Jul 27 04:30:50 2012 GMT + Not Before: Nov 21 15:31:30 2012 GMT + Not After : Nov 21 15:31:30 2015 GMT Subject: C=US, ST=California, O=M2Crypto, CN=Heikki Toivonen Subject Public Key Info: Public Key Algorithm: rsaEncryption - RSA Public Key: (1024 bit) - Modulus (1024 bit): - 00:c8:9b:59:18:c2:bf:21:68:dc:d4:62:30:1f:43: - 29:52:85:8d:36:fc:20:7f:11:1b:c6:f3:e6:c2:7a: - d0:17:0e:6e:78:43:21:e9:e2:df:9f:31:87:e8:7a: - 37:88:1f:a4:56:a1:e9:cb:13:7b:1b:c0:28:cf:5a: - db:a3:e7:50:6c:c6:55:76:e3:61:e8:73:4b:c2:8c: - ee:1c:29:c1:ee:2d:fd:e2:30:34:69:06:ea:d0:af: - bd:c5:db:86:70:92:26:0a:33:1b:70:a9:e7:6e:a4: - 2e:ee:4a:8a:f3:b2:6c:c9:97:28:39:28:28:3f:c5: - 90:4d:4e:83:0a:0e:cd:98:93 + Public-Key: (1024 bit) + Modulus: + 00:d2:2f:57:58:be:05:6d:45:14:d0:70:90:56:10: + 80:f6:e3:e6:8a:ff:1e:0b:58:fa:a1:e6:95:a1:23: + 8d:01:c6:48:85:99:ab:f9:1b:e0:9a:15:6a:d1:50: + 73:fb:8f:7c:d2:73:4e:4a:c0:88:f9:54:f9:86:d9: + 01:86:4e:02:68:bc:d0:1c:8d:d2:2e:ce:7e:54:ac: + 45:a5:b7:39:c6:e9:f4:e0:70:2c:57:e6:21:24:f6: + 52:f8:fa:0b:b3:63:53:ea:eb:11:ca:ef:90:32:9f: + 15:08:6b:2d:0e:3d:61:69:22:f2:0f:dc:08:65:45: + 34:a2:29:8e:66:5e:45:95:91 Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Subject Key Identifier: - AD:64:45:74:8F:83:C7:2C:D5:D7:A0:85:91:10:40:9A:9C:96:CF:EE + 80:D9:6A:1E:15:FE:8B:61:51:62:60:4D:B3:CC:95:44:78:2D:89:E6 X509v3 Authority Key Identifier: - keyid:AD:64:45:74:8F:83:C7:2C:D5:D7:A0:85:91:10:40:9A:9C:96:CF:EE - DirName:/C=US/ST=California/O=M2Crypto/CN=Heikki Toivonen - serial:D1:B6:BF:AF:06:17:8C:BD + keyid:80:D9:6A:1E:15:FE:8B:61:51:62:60:4D:B3:CC:95:44:78:2D:89:E6 X509v3 Basic Constraints: CA:TRUE Signature Algorithm: sha1WithRSAEncryption - c8:11:af:7d:6d:fb:1c:82:0d:c0:e7:41:f4:b2:a5:b0:69:6d: - 18:e3:04:aa:49:e6:4a:69:6d:c3:e3:8b:ab:d1:18:ac:72:ef: - 48:9e:49:c7:57:75:2d:00:1e:08:9f:c3:dc:ca:5f:91:38:0d: - ac:f8:1f:cc:fc:f7:c2:5b:ce:d7:0c:cf:b2:fe:c9:a9:ce:b8: - 07:45:17:1c:cf:b3:07:f9:1f:69:6a:94:03:be:62:62:9c:af: - a2:24:25:2d:1f:63:0a:91:6b:bb:e3:6c:ec:20:de:80:d3:04: - b4:5e:42:1f:27:bc:1f:79:98:18:ba:fb:8a:34:24:a9:40:1e: - b9:7b + b0:37:88:ab:56:c5:19:e7:1b:d2:d3:c0:00:98:ff:f0:0a:35: + 89:ff:a0:a8:14:bd:fc:84:b6:ee:6b:05:92:20:87:58:38:69: + b2:16:b8:89:f3:4f:3c:9d:0f:da:b6:ea:35:9f:cf:e9:4f:05: + 19:8b:6a:06:68:51:96:1c:0f:60:23:80:19:ff:cd:3e:2b:4b: + 0c:1a:ff:bd:f6:0d:6b:11:25:0f:ba:87:2c:46:47:c0:32:e8: + 8a:14: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H3mYGLr7ijQkqUAe -uXs= +MIICbDCCAdWgAwIBAgIJALR+st6HAAMLMA0GCSqGSIb3DQEBBQUAME8xCzAJBgNV +BAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMREwDwYDVQQKDAhNMkNyeXB0bzEY +MBYGA1UEAwwPSGVpa2tpIFRvaXZvbmVuMB4XDTEyMTEyMTE1MzEzMFoXDTE1MTEy +MTE1MzEzMFowTzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExETAP +BgNVBAoMCE0yQ3J5cHRvMRgwFgYDVQQDDA9IZWlra2kgVG9pdm9uZW4wgZ8wDQYJ +KoZIhvcNAQEBBQADgY0AMIGJAoGBANIvV1i+BW1FFNBwkFYQgPbj5or/HgtY+qHm +laEjjQHGSIWZq/kb4JoVatFQc/uPfNJzTkrAiPlU+YbZAYZOAmi80ByN0i7OflSs +RaW3Ocbp9OBwLFfmIST2Uvj6C7NjU+rrEcrvkDKfFQhrLQ49YWki8g/cCGVFNKIp +jmZeRZWRAgMBAAGjUDBOMB0GA1UdDgQWBBSA2WoeFf6LYVFiYE2zzJVEeC2J5jAf +BgNVHSMEGDAWgBSA2WoeFf6LYVFiYE2zzJVEeC2J5jAMBgNVHRMEBTADAQH/MA0G +CSqGSIb3DQEBBQUAA4GBALA3iKtWxRnnG9LTwACY//AKNYn/oKgUvfyEtu5rBZIg +h1g4abIWuInzTzydD9q26jWfz+lPBRmLagZoUZYcD2AjgBn/zT4rSwwa/732DWsR +JQ+6hyxGR8Ay6IoUTDAmNStYnGvGDtHjyGqwwOCCmHcHLme6DOWlBA2BylSStSf6 -----END CERTIFICATE----- Index: tests/recipient.pem =================================================================== --- tests/recipient.pem (revision 739) +++ tests/recipient.pem (working copy) @@ -2,26 +2,26 @@ Data: Version: 3 (0x2) Serial Number: - d1:b6:bf:af:06:17:8c:c1 + b4:7e:b2:de:87:00:03:0f Signature Algorithm: sha1WithRSAEncryption Issuer: C=US, ST=California, O=M2Crypto, CN=Heikki Toivonen Validity - Not Before: Jul 28 04:39:19 2009 GMT - Not After : Jul 26 04:39:19 2019 GMT + Not Before: Nov 21 15:39:34 2012 GMT + Not After : Jan 8 15:39:34 2023 GMT Subject: C=US, ST=California, O=M2Crypto, CN=Recipient/emailAddress=recipient@example.com Subject Public Key Info: Public Key Algorithm: rsaEncryption - RSA Public Key: (1024 bit) - Modulus (1024 bit): - 00:c2:21:a3:4f:64:59:9c:21:39:21:d2:3c:e7:0a: - 60:72:c8:39:b3:c3:27:4a:6d:56:8f:a0:5d:1b:c6: - e4:3e:26:61:09:a9:ae:04:83:69:3f:9d:2b:12:7e: - d4:f7:8e:d0:6e:a9:8c:9b:d1:bf:17:0c:bd:d0:73: - 99:02:6e:7e:cb:7a:80:2d:cf:b1:29:c0:30:36:3f: - 68:12:3e:4e:bf:f9:8b:3d:1d:56:af:24:94:ae:d5: - 59:b4:00:50:0c:c0:2b:59:c3:99:b3:8a:19:f1:86: - 14:bd:ee:e9:c4:f1:d7:6a:0c:e9:67:8a:94:9a:2d: - 2d:60:25:22:c6:72:68:c2:0d + Public-Key: (1024 bit) + Modulus: + 00:ac:b6:2e:f0:34:34:7d:d4:e6:63:79:60:53:b9: + fe:91:a5:bf:49:ec:99:4c:33:2f:85:96:55:e8:09: + dc:18:47:1a:72:49:04:a2:e8:78:73:57:c7:bb:e9: + c7:aa:c5:07:84:14:b6:01:1c:e3:8a:fd:f3:19:01: + 11:9d:48:bc:24:8a:0f:c6:40:ed:d7:30:b1:92:ab: + c2:61:8c:5d:ea:08:c6:c4:d6:a5:22:00:d9:aa:da: + 57:5d:cc:2f:1a:35:1b:31:de:dc:c7:3b:83:91:38: + d9:07:e1:c7:a7:54:bd:94:95:10:c6:2d:dc:00:e1: + 28:99:b5:3b:28:95:aa:4e:d5 Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Basic Constraints: @@ -29,33 +29,33 @@ Netscape Comment: OpenSSL Generated Certificate X509v3 Subject Key Identifier: - 11:CB:60:AC:55:85:52:84:C5:C8:20:5A:50:13:D0:89:C7:7A:B7:81 + CD:26:EB:42:79:6D:04:7F:95:23:46:1E:03:C9:40:2D:D2:00:AE:71 X509v3 Authority Key Identifier: - keyid:AD:64:45:74:8F:83:C7:2C:D5:D7:A0:85:91:10:40:9A:9C:96:CF:EE + keyid:80:D9:6A:1E:15:FE:8B:61:51:62:60:4D:B3:CC:95:44:78:2D:89:E6 Signature Algorithm: sha1WithRSAEncryption - 87:56:17:6d:ba:3b:a6:c4:22:af:20:f1:a0:e5:9d:27:c4:50: - bd:79:eb:d2:84:e5:9a:00:5f:5d:5a:c3:34:58:77:f5:a9:00: - f9:76:e9:2d:89:b4:3f:9d:e3:cf:15:0c:64:1b:0a:03:db:e4: - 6f:2b:ff:1c:82:89:1a:0f:7e:83:58:0f:e6:da:af:26:97:49: - 4a:59:d7:61:3f:4b:ed:1d:5b:51:00:3b:83:96:c7:1e:3d:84: - f4:91:1f:70:69:12:b9:a7:2c:5b:1b:05:cd:74:90:2b:a0:ba: - e7:70:cd:6b:7d:ac:be:d7:92:50:e9:f5:c0:42:29:04:ef:8f: - a1:68 + a9:5e:b2:4c:24:15:dd:49:d1:4d:e3:dd:e3:da:6b:23:99:45: + 2d:a1:84:f2:9b:6e:48:3c:e9:ce:f8:7f:f3:1f:d3:85:99:94: + 7e:19:8c:ca:be:3a:ca:97:b9:de:c8:4f:08:28:fc:7f:24:37: + 95:e1:d5:60:97:07:2b:be:62:f4:02:1d:27:8f:9e:0d:36:1a: + d5:45:6f:27:c3:34:21:13:1b:28:93:9d:cb:a6:30:0d:8f:4a: + 5f:4c:4a:97:7b:fe:ed:ce:18:84:5a:ec:4f:f8:84:2e:cb:72: + 28:90:cb:e3:5a:f4:83:16:bd:a8:ef:f0:f5:12:6c:26:3e:af: + c7:a8 -----BEGIN CERTIFICATE----- -MIICtzCCAiCgAwIBAgIJANG2v68GF4zBMA0GCSqGSIb3DQEBBQUAME8xCzAJBgNV -BAYTAlVTMRMwEQYDV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CBHZW5lcmF0ZWQgQ2Vy -dGlmaWNhdGUwHQYDVR0OBBYEFBHLYKxVhVKExcggWlAT0InHereBMB8GA1UdIwQY -MBaAFK1kRXSPg8cs1deghZEQQJqcls/uMA0GCSqGSIb3DQEBBQUAA4GBAIdWF226 -O6bEIq8g8aDlnSfEUL1569KE5ZoAX11awzRYd/WpAPl26S2JtD+d488VDGQbCgPb -5G8r/xyCiRoPfoNYD+baryaXSUpZ12E/S+0dW1EAO4OWxx49hPSRH3BpErmnLFsb -Bc10kCuguudwzWt9rL7XklDp9cBCKQTvj6Fo +dGlmaWNhdGUwHQYDVR0OBBYEFM0m60J5bQR/lSNGHgPJQC3SAK5xMB8GA1UdIwQY +MBaAFIDZah4V/othUWJgTbPMlUR4LYnmMA0GCSqGSIb3DQEBBQUAA4GBAKleskwk +Fd1J0U3j3ePaayOZRS2hhPKbbkg86c74f/Mf04WZlH4ZjMq+OsqXud7ITwgo/H8k +N5Xh1WCXByu+YvQCHSePng02GtVFbyfDNCETGyiTncumMA2PSl9MSpd7/u3OGIRa +7E/4hC7LciiQy+Na9IMWvajv8PUSbCY+r8eo -----END CERTIFICATE----- Index: tests/recipient_key.pem =================================================================== --- tests/recipient_key.pem (revision 739) +++ tests/recipient_key.pem (working copy) @@ -1,15 +1,15 @@ -----BEGIN RSA PRIVATE KEY----- -MIICXAIBAAKBgQDCIaNPZFmcITkh0jznCmByyDmzwydKbVaPoF0bxuQ+JmEJqa4E -g2k/nSsSftT3jtBuqYyb0b8XDL3Qc5kCbn7LeoAtz7EpwDA2P2gSPk6/+Ys9HVav -JJSu1Vm0AFAMwCtZw5mzihnxhhS97unE8ddqDOlnipSaLS1gJSLGcmjCDQIDAQAB -AoGAZlrJ+kAUpyc1Mkng5ogoFhzPn6ITg0Bm1U9eCBkzmjkuDKQ0JhkLUwkQ/q10 -qBnad55ZjoZmVEbZhaCNWiTcIIy0nKAMWNKRcg3vTgrnbmbjco1HECDStfJKogZl -7egoIImHnU1f/IeKQDUYU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HyGD6nrkijPDtAkJwnVtIhFiVqbVzcJQvPBrXfYuhtsajtUQJAHS50 +FpyL49uUhmmSJKLbsrqT2I4TF+K4hbDaPVkIuX4odBp9IFFZbJwPbfSLt650wPo2 +DXyql7C+/fhSw33+UwJAea5E2ZMIXMwPwVH/oOaeiUqwEcJ0hQ97Y3DkiI9USPBz +U3W9Nu/6eTEuFmadfPpT6SlwAbOTjEICpuOP3oPShg== -----END RSA PRIVATE KEY----- Index: tests/server.pem =================================================================== --- tests/server.pem (revision 739) +++ tests/server.pem (working copy) @@ -2,26 +2,26 @@ Data: Version: 3 (0x2) Serial Number: - d1:b6:bf:af:06:17:8c:be + b4:7e:b2:de:87:00:03:0c Signature Algorithm: sha1WithRSAEncryption Issuer: C=US, ST=California, O=M2Crypto, CN=Heikki Toivonen Validity - Not Before: Jul 28 04:31:41 2009 GMT - Not After : Jul 26 04:31:41 2019 GMT + Not Before: Nov 21 15:33:54 2012 GMT + Not After : Jan 8 15:33:54 2023 GMT Subject: C=US, ST=California, O=M2Crypto, CN=localhost Subject Public Key Info: Public Key Algorithm: rsaEncryption - RSA Public Key: (1024 bit) - Modulus (1024 bit): - 00:d4:99:6f:33:3f:e6:ac:0a:34:d8:0e:45:97:f3: - 2b:6a:50:2a:84:30:0a:52:9c:15:30:9f:05:29:3a: - 21:f4:c1:c3:01:9e:2f:55:56:4e:35:ac:f1:16:1e: - 26:8d:b5:26:b7:99:78:92:ea:1c:74:46:ab:41:12: - ef:cc:53:62:cc:59:5c:9e:c4:86:df:d9:25:35:55: - 05:4b:16:ff:d9:90:e3:f4:51:b4:b4:fa:c5:98:4b: - 60:f0:60:7f:14:4e:1e:dd:61:9b:22:a2:9c:21:17: - 43:a3:cb:07:80:f5:75:59:9c:55:1c:fe:e0:66:d4: - 70:77:5e:13:06:0c:05:c7:1f + Public-Key: (1024 bit) + Modulus: + 00:dd:9d:eb:7f:82:43:ed:f2:06:1c:1d:b3:fa:e1: + 41:8a:4b:bd:b4:1d:82:04:ee:63:b3:22:af:cf:94: + 88:36:52:18:3e:01:b6:37:15:59:93:7f:cc:88:5a: + 56:ea:02:c1:a2:bd:9f:c2:87:a4:f6:0e:cb:ca:e9: + b8:c6:50:3c:87:30:15:7e:e0:4b:1d:b9:5f:8e:4f: + 2b:af:64:9b:24:14:01:a7:6a:47:ab:72:f5:26:66: + a5:73:33:11:bf:81:28:4f:88:14:76:49:e1:7b:ce: + b8:11:fd:3c:ad:83:95:8f:be:30:ec:78:ab:d7:68: + b9:70:f5:87:7a:96:f7:35:dd Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Basic Constraints: @@ -29,47 +29,47 @@ Netscape Comment: OpenSSL Generated Certificate X509v3 Subject Key Identifier: - 04:05:3D:6A:A7:E8:D7:52:BD:2F:C4:52:30:7C:2C:BD:D3:81:46:C6 + 14:E4:DE:06:C8:F0:45:E8:3B:FD:48:7A:6C:9C:AC:14:1F:D5:DB:E0 X509v3 Authority Key Identifier: - keyid:AD:64:45:74:8F:83:C7:2C:D5:D7:A0:85:91:10:40:9A:9C:96:CF:EE + keyid:80:D9:6A:1E:15:FE:8B:61:51:62:60:4D:B3:CC:95:44:78:2D:89:E6 Signature Algorithm: sha1WithRSAEncryption - ac:2b:ad:86:36:96:5c:fb:34:2c:02:ca:d9:5f:a7:8e:b6:58: - 24:1d:27:b6:8e:81:aa:69:0e:60:26:64:2e:72:a1:ff:d8:ba: - bb:7e:5d:46:c7:07:2d:a8:c8:4c:df:1e:ba:c8:bc:21:5b:f2: - b3:01:4c:d6:3b:10:fd:49:70:e6:83:01:f3:24:e2:a9:97:d7: - c3:9c:5b:2d:d7:64:2b:e5:e2:0e:3e:d9:8c:e6:93:86:39:32: - 50:43:5f:36:4a:3b:b0:05:e7:65:a3:b3:ef:50:56:7f:7e:dc: - f0:65:83:ac:42:7e:97:a0:c0:7e:63:c6:c8:c6:35:d3:60:d1: - 4f:51 + 74:b4:9d:87:61:b0:e5:8e:7b:38:11:1b:26:18:ba:f6:03:38: + 1b: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ZmEBzaolKYfol392rDj7CTvVT5VQh5QzkVeU28iLOBVqUJ1fwh5gBvIy5iEXzo +O58M8y2IDyJ2W84UUtIav8LD3xGKDxD7k14FW5TIwXfCE4ECQQD8gAI7RHfViv0M +9qSsZ7MapR4wwJKolapfHJda8hM+uEaSanJ/2RwAe5mfn92VUubmAG+Xcoe9HR9x +dJQ5hAllAkEA4LBSq3T8+5wNUBE7V9OUP4Eh8ytbEviurNizfM4sBTrsXBVyDoBU ++ji9BCcDtbaB+GewnpsrXeqSJ/eKxMnvGQJALInH2vxwxtIFYMwAsAh6pzCI6sCN +Hf+IVc6NRBV/H4kRqbHtEHATaGJk7qscQsKkx9070dL57nm8mh6eJqcLoQJBALM0 +LltNrVBIQF3xwHDl8UFNDvTRSYwyB68YDt+l2Ho7arRu7k8ej6gahLbBHzZY4ARt +PvLhM49uPS/fQTB/FlECQHaIJA/MFMtpFpv2h0Vsq5Rq0kayzFy/1Cf7k+E9wVUg +gqcUvnEaT990We8Ffri/HlBtIuiuC7lVtv7zKu//VHU= -----END RSA PRIVATE KEY----- Index: tests/signer.pem =================================================================== --- tests/signer.pem (revision 739) +++ tests/signer.pem (working copy) @@ -2,26 +2,26 @@ Data: Version: 3 (0x2) Serial Number: - d1:b6:bf:af:06:17:8c:c0 + b4:7e:b2:de:87:00:03:0e Signature Algorithm: sha1WithRSAEncryption Issuer: C=US, ST=California, O=M2Crypto, CN=Heikki Toivonen Validity - Not Before: Jul 28 04:37:25 2009 GMT - Not After : Jul 26 04:37:25 2019 GMT + Not Before: Nov 21 15:37:55 2012 GMT + Not After : Jan 8 15:37:55 2023 GMT Subject: C=US, ST=California, O=M2Crypto, CN=Signer/emailAddress=signer@example.com Subject Public Key Info: Public Key Algorithm: rsaEncryption - RSA Public Key: (1024 bit) - Modulus (1024 bit): - 00:c3:9c:76:f3:21:aa:10:19:9f:77:e3:82:1d:9d: - c3:4a:da:bc:c3:83:71:d1:89:78:8b:82:a4:b9:c5: - 70:bb:e3:00:bf:49:b8:99:96:67:0b:bf:fe:72:cb: - d9:b6:63:85:f4:fb:86:55:32:22:1e:6e:ce:fd:88: - 5c:75:9d:77:3c:92:17:c5:b2:70:04:59:02:33:ef: - be:33:26:f1:e4:72:41:45:72:f1:bf:c4:21:b1:fe: - de:92:b9:f3:25:3e:1a:15:4b:26:47:29:cc:38:7f: - 58:3b:ae:b7:c5:69:e7:48:81:b6:55:61:45:c3:3f: - b6:9d:06:e5:17:41:f6:f2:e9 + Public-Key: (1024 bit) + Modulus: + 00:a1:f3:c0:4b:84:03:54:c4:db:dd:95:75:4b:d2: + e3:4b:63:5e:fb:e9:68:32:3a:79:3a:5b:3c:f1:ae: + 3c:65:11:a1:a2:86:d9:45:20:c1:a8:3c:e9:64:c6: + 5c:9a:58:ee:ae:d3:4e:af:07:95:80:5f:4c:fe:64: + bd:65:ae:2c:91:fc:fa:bf:dc:aa:5f:da:36:4c:0a: + 77:61:e6:a4:f6:a3:54:92:bf:39:12:84:44:d9:ab: + 12:da:78:43:20:b6:50:6c:9d:87:3a:27:86:95:14: + a7:9c:f2:d8:36:29:fb:1e:24:64:61:13:48:b5:de: + 17:61:49:6c:2a:61:da:03:b1 Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Basic Constraints: @@ -29,33 +29,33 @@ Netscape Comment: OpenSSL Generated Certificate X509v3 Subject Key Identifier: - 22:CA:29:B7:D7:39:B4:BF:35:F9:36:5E:EE:2B:E4:17:4E:F9:6E:EE + 07:7D:13:C0:AF:F5:E4:63:CD:7C:64:68:FF:D2:67:FC:27:46:DC:04 X509v3 Authority Key Identifier: - keyid:AD:64:45:74:8F:83:C7:2C:D5:D7:A0:85:91:10:40:9A:9C:96:CF:EE + keyid:80:D9:6A:1E:15:FE:8B:61:51:62:60:4D:B3:CC:95:44:78:2D:89:E6 Signature Algorithm: sha1WithRSAEncryption - 5f:a0:da:6b:37:b4:bb:25:34:a7:ed:f3:f7:2e:f2:85:aa:91: - 01:8f:c3:80:e5:44:87:df:9e:64:5e:5f:3e:5c:7f:c1:07:12: - 2a:46:cc:bb:9f:a4:a5:c8:3f:84:9a:a4:9e:d5:26:33:af:b4: - 5f:eb:8e:7d:81:65:f6:44:18:78:89:17:74:fb:07:dc:04:65: - fa:15:0c:b2:f3:e7:e7:af:1f:d9:02:c4:c4:44:b7:95:91:47: - fe:c0:2a:e1:7a:ae:dd:5f:f8:a9:fa:bb:dd:89:2d:0b:05:b6: - ce:ba:12:37:7f:97:4c:48:a9:fb:d4:b7:a5:d1:61:f6:85:ea: - 30:8c + 00:64:bc:be:4b:42:72:54:ca:7e:02:28:87:90:07:c8:cb:ad: + ac:18:fa:89:bb:1e:a8:20:c1:1a:39:d2:e3:ba:b6:d9:1c:b6: + bf:bb:c7:dc:46:3b:99:ac:81:13:99:f7:88:9f:b2:ae:19:ff: + d7:37:c2:83:aa:ca:c8:d2:03:1f:ce:00:b8:86:2a:b0:2d:80: + e8:83:c0:83:34:8a:dd:9f:75:c5:df:61:ff:cc:c1:8b:ab:e0: + e1:13:02:ff:63:4b:1d:58:0b:5d:3a:a4:e9:a3:b5:3a:19:2f: + dc:a4:c2:4a:b4:46:5e:0c:fa:59:4e:c5:31:5f:a2:18:aa:c8: + a4:92 -----BEGIN CERTIFICATE----- -MIICsTCCAhqgAwIBAgIJANG2v68GF4zAMA0GCSqGSIb3DQEBBQUAME8xCzAJBgNV -BAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMREwDwYDVQQKEwhNMkNyeXB0bzEY -MBYGA1UEAxMPSGVpa2tpIFRvaXZvbmVuMB4XDTA5MDcyODA0MzcyNVoXDTE5MDcy -NjA0MzcyNVowaTELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExETAP -BgNVBAoTCE0yQ3J5cHRvMQ8wDQYDVQQDEwZTaWduZXIxITAfBgkqhkiG9w0BCQEW +MIICsTCCAhqgAwIBAgIJALR+st6HAAMOMA0GCSqGSIb3DQEBBQUAME8xCzAJBgNV +BAYTAlVTM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dGUwHQYDVR0OBBYEFAd9E8Cv9eRjzXxkaP/SZ/wnRtwEMB8GA1UdIwQYMBaAFIDZ +ah4V/othUWJgTbPMlUR4LYnmMA0GCSqGSIb3DQEBBQUAA4GBAABkvL5LQnJUyn4C +KIeQB8jLrawY+om7HqggwRo50uO6ttkctr+7x9xGO5msgROZ94ifsq4Z/9c3woOq +ysjSAx/OALiGKrAtgOiDwIM0it2fdcXfYf/MwYur4OETAv9jSx1YC106pOmjtToZ +L9ykwkq0Rl4M+llOxTFfohiqyKSS -----END CERTIFICATE----- Index: tests/signer_key.pem =================================================================== --- tests/signer_key.pem (revision 739) +++ tests/signer_key.pem (working copy) @@ -1,15 +1,15 @@ -----BEGIN RSA PRIVATE KEY----- -MIICXAIBAAKBgQDDnHbzIaoQGZ9344IdncNK2rzDg3HRiXiLgqS5xXC74wC/SbiZ -lmcLv/5yy9m2Y4X0+4ZVMiIebs79iFx1nXc8khfFsnAEWQIz774zJvHkckFFcvG/ -xCGx/t6SufMlPhoVSyZHKcw4f1g7rrfFaedIgbZVYUXDP7adBuUXQfby6QIDAQAB -AoGAZL24JQ85XoFTt5Lb+BS/91Uf0jFn9Nov0um9nE8q+Bi40ctN3wuulkaS7Nw/ -i8dFvh2r2USwfavjvn7z3z7xoMG8V2c1ZFJCI2CKjocuWVkGwNnIsbO7/BOG03nu -vir/i7TXN0YbN8zMhfuFC9APmR8bdmMa2KgHXzQcLuAmI4ECQQDhDIkC97l6rMKG -QWbYrbc7GoMZNwCsPb/fasUknGmtPmq+s818i335u1yyhAk5pwKV7HF+WyZ76S2A -P1bZf9+FAkEA3oN98qoklVmWSK0qV+CKHjZHSqtt32q2eu6+eAO5fVZOWHwXhS/B -MkTtfKJbIDTLyUnwhKyht/hXOniVqHE5FQJAf99VgoArvc6oAQzsWTXrpQOddhhQ -o426lkHenrzZNvz+PjmACsJf5CRXuX9Ylo+U4ockvb0hEssddX+H47HK2QJBAIYr -aV1SJH79pvWpnLeiSAYRmok2tyiZMvELVkQNkuI1kUYfhRslAWxrTXvyddoEm8CC -2glWAqlokEhMf4kyxEUCQCIQbV+XFoEqkECchik34PPmcPi2ends32dv/sW+AKjQ -pxKpWbxVB4sEOPZzpmujP0LLxvCY4HOUJDlhENGQ8MM= +MIICXAIBAAKBgQCh88BLhANUxNvdlXVL0uNLY1776WgyOnk6WzzxrjxlEaGihtlF +IMGoPOlkxlyaWO6u006vB5WAX0z+ZL1lriyR/Pq/3Kpf2jZMCndh5qT2o1SSvzkS +hETZqxLaeEMgtlBsnYc6J4aVFKec8tg2KfseJGRhE0i13hdhSWwqYdoDsQIDAQAB +AoGAOAsY1UkWugPxrellkNqmq1T07qnj09XmU6p1GZFY9wS18X9GuqROP8DsZ2I5 +c3QpDLi09t7h/m18QGBuJjyy0Tk3iFsLZ1+F1nNCFOZTeRybWA2MS91P9bpYri63 +tarTxHaDe/RsMsaXe2HBp2rjw/jxT3y5DYwwWPQWjEIgf/0CQQDT7yeEtdj5LN1O +NW9Coj3MzAodjyz5Jz1bCRGvhXpnralaM8Oyl1Dix99wGM64VuHvE5Lg0gY1ySg2 +YJeYfuo/AkEAw6AmUTUrG8+axMkKX+rXz7LvaOR6Ad39uXO3S2lhbACQAy1Tn4W+ +gJ2x0zJY+lY8oRQpXqZi1wzdLI/JGL82DwJAQvZmcx0N8DUHu6VQgSpIAoRZkdti +J1sJnNDxwJaZBVcukiyW4b/Ds9PZOk7sSfxRqLtzhgt2INptFTlRzMIU+wJBALYc +1s7uoi0HvVrIlUHpy/Js73dEi1hForgMQ2yOs8TpWSe8AIcW6Nuu8iZcTnzt3w9N +R533Yzgzn4qmaF0DVH0CQGHvjKMwb63YsnyjiUHtjG/zlN7FZWAIr3wEPNoMl2dd +s33jU+euC2oKygr1tSUf1lSM+yLCvDTetzg+1uBNfmg= -----END RSA PRIVATE KEY----- Index: tests/test_ssl_offline.py =================================================================== --- tests/test_ssl_offline.py (revision 739) +++ tests/test_ssl_offline.py (working copy) @@ -16,7 +16,7 @@ def test_checker(self): check = Checker.Checker(host=srv_host, - peerCertHash='7B754EFA41A264AAD370D43460BC8229F9354ECE') + peerCertHash='6D5C51BF6C90686A87E015A07731B252B7638D93') x509 = X509.load_cert('tests/server.pem') assert check(x509, srv_host) self.assertRaises(Checker.WrongHost, check, x509, 'example.com') Index: tests/test_x509.py =================================================================== --- tests/test_x509.py (revision 739) +++ tests/test_x509.py (working copy) @@ -340,14 +340,14 @@ def test_fingerprint(self): x509 = X509.load_cert('tests/x509.pem') fp = x509.get_fingerprint('sha1') - expected = '8D2EB9E203B5FFDC7F4FA7DC4103E852A55B808D' + expected = 'B2522F9B4F6F2461475D0C6267911537E738494F' assert fp == expected, '%s != %s' % (fp, expected) def test_load_der_string(self): f = open('tests/x509.der', 'rb') x509 = X509.load_cert_der_string(''.join(f.readlines())) fp = x509.get_fingerprint('sha1') - expected = '8D2EB9E203B5FFDC7F4FA7DC4103E852A55B808D' + expected = 'B2522F9B4F6F2461475D0C6267911537E738494F' assert fp == expected, '%s != %s' % (fp, expected) def test_save_der_string(self): Index: tests/x509.der =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: tests/x509.pem =================================================================== --- tests/x509.pem (revision 739) +++ tests/x509.pem (working copy) @@ -2,26 +2,26 @@ Data: Version: 3 (0x2) Serial Number: - d1:b6:bf:af:06:17:8c:bf + b4:7e:b2:de:87:00:03:0d Signature Algorithm: sha1WithRSAEncryption Issuer: C=US, ST=California, O=M2Crypto, CN=Heikki Toivonen Validity - Not Before: Jul 28 04:34:34 2009 GMT - Not After : Jul 26 04:34:34 2019 GMT + Not Before: Nov 21 15:35:24 2012 GMT + Not After : Jan 8 15:35:24 2023 GMT Subject: C=US, ST=California, O=M2Crypto, CN=X509 Subject Public Key Info: Public Key Algorithm: rsaEncryption - RSA Public Key: (1024 bit) - Modulus (1024 bit): - 00:d3:62:55:12:30:b8:dc:84:7c:63:bd:80:1d:19: - 1a:72:f2:28:f8:59:0b:2a:6b:f2:2a:23:9d:bb:0f: - 7f:92:5e:dd:27:74:bc:78:0a:27:ab:1c:2e:23:1c: - 26:77:48:b6:8f:03:ef:57:1c:a0:54:ae:1a:e8:f5: - 24:a1:46:a1:27:48:55:33:98:fc:db:6a:83:2e:89: - 3f:e0:f3:91:9d:da:4f:db:74:90:9d:a6:8d:4a:46: - cb:9f:ba:b8:60:df:ae:ee:22:4b:3f:80:55:f7:1d: - 89:3c:2b:28:df:46:19:d5:18:ac:e9:07:4e:40:81: - 75:bc:da:5b:d5:e1:c2:04:15 + Public-Key: (1024 bit) + Modulus: + 00:ba:3b:21:75:3a:4f:78:99:14:56:ae:68:36:6f: + 52:f3:01:a4:c4:0c:cc:27:eb:e2:c5:e1:78:19:ba: + d4:47:05:35:df:d4:1c:10:8b:70:33:a2:f3:27:31: + 9e:1d:b7:2d:f8:ff:01:4a:4b:90:a7:29:4e:79:09: + ad:df:3a:85:96:fc:fd:cb:ea:8c:37:b6:e4:b2:67: + ec:fd:20:e1:0c:45:98:42:31:80:74:0e:78:fa:58: + 09:0d:2e:e5:82:38:8d:30:23:80:12:0c:40:c7:3f: + 26:94:e9:5b:43:f1:64:e2:1e:5d:fc:77:92:93:b4: + 4f:5f:8d:88:a0:03:b7:5e:a1 Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Basic Constraints: @@ -29,47 +29,47 @@ Netscape Comment: OpenSSL Generated Certificate X509v3 Subject Key Identifier: - B1:C4:6F:98:6F:E8:3B:8C:A1:26:11:81:97:9A:12:50:4A:1A:6C:88 + E8:C1:6E:60:19:13:82:40:65:B9:67:26:B7:8E:D6:7C:EE:33:8D:72 X509v3 Authority Key Identifier: - keyid:AD:64:45:74:8F:83:C7:2C:D5:D7:A0:85:91:10:40:9A:9C:96:CF:EE + keyid:80:D9:6A:1E:15:FE:8B:61:51:62:60:4D:B3:CC:95:44:78:2D:89:E6 Signature Algorithm: sha1WithRSAEncryption - 3f:0b:44:bc:d2:da:5f:a9:39:be:08:53:e6:fd:10:ff:d6:f0: - a3:51:f6:be:03:20:cc:b3:52:cf:0f:7c:3f:56:42:6f:9d:72: - 9b:09:a5:64:3f:43:29:24:2b:d6:79:94:54:2f:99:e8:ce:fe: - fd:de:bb:ca:43:28:16:ff:32:ac:3d:c5:56:db:87:23:3c:d4: - 69:f7:4e:1b:c4:be:c9:d8:27:99:2a:64:be:3a:6b:7e:51:85: - db:75:35:40:a5:6c:ae:53:c3:09:e7:00:35:17:64:1a:17:71: - c5:d5:59:e5:8f:fc:96:4a:f9:81:33:23:4c:c1:60:71:93:18: - 0a:c4 + cf:57:f4:f6:7d:be:e0:32:d1:44:ba:15:f7:44:2c:69:df:54: + a1:09:28:7f:7f:66:37:db:71:6f:2f:4b:b0:61:f5:96:09:56: + 50:e4:14:87:81:70:93:bb:9d:1e:8a:65:06:e8:67:c5:fb:24: + b1:17:b5:36:83:cb:53:88:0e:55:5c:91:80:26:56:f2:0b:50: + 19:86:6c:3b:1b:37:64:e1:64:2b:18:c3:5b:aa:d3:78:84:75: + 4f:59:c4:46:6e:9a:fb:a2:3b:86:79:87:09:a7:a6:e3:c8:91: + 5d:ea:2c:76:d4:ff:a3:3e:ad:6c:bd:bb:e2:c1:1d:1e:d3:81: + 6c:4a -----BEGIN CERTIFICATE----- -MIICjDCCAfWgAwIBAgIJANG2v68GF4y/MA0GCSqGSIb3DQEBBQUAME8xCzAJBgNV -BAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMREwDwYDVQQKEwhNMkNyeXB0bzEY -MBYGA1UEAxMPSGVpa2tpIFRvaXZvbmVuMB4XDTA5MDcyODA0MzQzNFoXDTE5MDcy -NjA0MzQzNFowRDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExETAP -BgNVBAoTCE0yQ3J5cHRvMQ0wCwYDVQQDEwRYNTA5MIGfMA0GCSqGSIb3DQEBAQUA -A4GNADCBiQKBgQDTYlUSMLjchHxjvYAdGRpy8ij4WQsqa/IqI527D3+SXt0ndLx4 -CierHC4jHCZ3SLa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