2007-06-13 20:16:01 +02:00
|
|
|
/* Copyright 2001-2004 Roger Dingledine.
|
|
|
|
* Copyright 2004-2007 Roger Dingledine, Nick Mathewson. */
|
|
|
|
/* See LICENSE for licensing information */
|
|
|
|
/* $Id: /tor/trunk/src/or/test.c 13338 2007-06-10T19:13:32.101740Z nickm $ */
|
|
|
|
const char test_data_c_id[] =
|
|
|
|
"$Id: /tor/trunk/src/or/test.c 13338 2007-06-10T19:13:32.101740Z nickm $";
|
|
|
|
|
|
|
|
const char AUTHORITY_CERT_1[] =
|
|
|
|
"dir-key-certificate-version 3\n"
|
|
|
|
"fingerprint F810C0CB4974A9C407A8D8F5B0394E3D87BF4794\n"
|
|
|
|
"dir-key-published 2007-06-13 16:52:25\n"
|
|
|
|
"dir-key-expires 2008-06-13 16:52:25\n"
|
|
|
|
"dir-identity-key\n"
|
|
|
|
"-----BEGIN RSA PUBLIC KEY-----\n"
|
|
|
|
"MIIBigKCAYEAwqvEOhA+aSNp0JQFd0bZ2OIdamIS6EGVuhOHFkmIS4P2hw99Nkx/\n"
|
|
|
|
"YJGXPbHB5uLxMYE539DHKuGztIHOanIqczG8P501F+sGfi1q00rzjYfliGuGnQRQ\n"
|
|
|
|
"5+A7Iu6am+KeEP/cnWZt63kiPV2Jt9D8qwlnZTKqMQvnhOz10QCApV0LgFHr/2VO\n"
|
|
|
|
"1jEO/Ve+EMO/+fZf8a6graw4ur1foVjLAwUW1fo0QUo0342WSlTA1VouyhZv1LsH\n"
|
|
|
|
"LTmA0VFTQnsNnG9V1sPAuqaPDeNntSS3bAWmCAUA6eQS4LF7Pz4OAsRtAurMf98z\n"
|
|
|
|
"Pz/thkNa9OBJfLH1zaAmaiUTdEqMNwoT1YHwqav4994tyO7oadV6PdVIAcXD2I4S\n"
|
|
|
|
"9tf0NPfaIHwfJPDUY9loKIrGNbrfBLTECrQ3QLNtU3yrYkEyQjcgT8FlBGDcDGqj\n"
|
|
|
|
"r8diBPlz+K5iXfl0lIudie4hAFZK+uDu7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jYn7wTngIm312A37pHUU=\n"
|
|
|
|
"-----END RSA PRIVATE KEY-----\n";
|
|
|
|
|
|
|
|
const char AUTHORITY_CERT_2[] =
|
|
|
|
"dir-key-certificate-version 3\n"
|
|
|
|
"fingerprint 4D44AE0470B9E88FD4558EFEC82698FB33715400\n"
|
|
|
|
"dir-key-published 2007-06-13 16:52:32\n"
|
|
|
|
"dir-key-expires 2008-06-13 16:52:32\n"
|
|
|
|
"dir-identity-key\n"
|
|
|
|
"-----BEGIN RSA PUBLIC KEY-----\n"
|
|
|
|
"MIIBigKCAYEAqukDwQRm1Oy1pPY+7GNRnRNFJzEVPUBfJwC4tBH19tkvdRQPuIGI\n"
|
|
|
|
"2jiTy/rmZ6CLcl1G0oulSgxfKEX75QdptOasZu+rKUrRRSxx0QrXhs9a7up0rpXh\n"
|
|
|
|
"13fw3mh1Vl/As3rJYF30Hjk01BTOJMxi/HY2y0ALQytFWjiMGY74A9Y6+uDcHkB2\n"
|
|
|
|
"KflBjxIl8zpCsXsTTnUhN5kXqaOOnK46XaUShSpXsyOxTMJXuJEtgLz9XCyA8XjW\n"
|
|
|
|
"d75QLHucEnlTqxUAdI5YSN2KIlIJiySCVnAorDpJey2mE9VncpHQWMCv/FPFdnSU\n"
|
|
|
|
"EMMPUc4bBShcoNFf0mMJeV2sv+dBkgKAL0GLM19PuJIThJhfN/B6+YQTxw4HEpPV\n"
|
|
|
|
"plfUqYRN0fYC+5hCTS6rroO/uCfDR7NBtoeDNm9dQrvjfk3b/Mywah1rdWNjnVqs\n"
|
|
|
|
"tPJaz3fc/CVBOUUexhmyktgLuwSNEYIQilQ+BydkWN/4RObhV+YSV5BgekEDVaoS\n"
|
|
|
|
"RHw4IbYBDHVxAgMBAAE=\n"
|
|
|
|
"-----END RSA PUBLIC KEY-----\n"
|
|
|
|
"dir-signing-key\n"
|
|
|
|
"-----BEGIN RSA PUBLIC KEY-----\n"
|
|
|
|
"MIGJAoGBAOu3dgrQth3iqvi/UzfywaANw0bBUuM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n"
|
|
|
|
"dir-key-published 2007-06-13 16:52:40\n"
|
|
|
|
"dir-key-expires 2008-06-13 16:52:40\n"
|
|
|
|
"dir-identity-key\n"
|
|
|
|
"-----BEGIN RSA PUBLIC KEY-----\n"
|
|
|
|
"MIIBigKCAYEAtB+yw4BNxtZAG4cPaedkhWNmeij7IuNWmXjh58ZYEGurvGyHs1w4\n"
|
|
|
|
"QlwNYI2UftSIeIGdWZ5fJ17h9P3xvO6eeJuOt4KPrNOxUbSGrELEx1Lje1fDAJ1X\n"
|
|
|
|
"SvN+dvptusxtyFUr8afgTPrFIvYuazQ6q/Rw+NDagjmDx3h/A/enihpBnjwzeH8j\n"
|
|
|
|
"Xzu7b+HKnzFnNfveTDdvSy0NSC6tCOnrfXo31XbXRXtlesnMIpbJClUcAv55eyai\n"
|
|
|
|
"/PrVPCCUz8mk0sQnn2Xhv1YJmwOlQTGMfg0a0kWLmh+UWcHsGQ4VWxBZJcuzgFHG\n"
|
|
|
|
"hu2/Fz6DXSpX5Q6B9HKoGmnH1oBh24l0kUW1jL8BxPY4YDU1Lt5t3qgcDn9dXYcI\n"
|
|
|
|
"o8VvyI0ecSc26Q2PYFWX1hpN4VIBZ8uGaW3IpyTdNiRq0g3iMGRFEXcDlWuyMB9E\n"
|
|
|
|
"EbSM7m/79V/z7SjDd75EP8Z0qDPESEVB8a8LbuSJtzFVE0KHd7RzkIEN5sorXspZ\n"
|
|
|
|
"/THukftSmkIvAgMBAAE=\n"
|
|
|
|
"-----END RSA PUBLIC KEY-----\n"
|
|
|
|
"dir-signing-key\n"
|
|
|
|
"-----BEGIN RSA PUBLIC KEY-----\n"
|
|
|
|
"MIGJAoGBANrSZlUq38Boz3iuUOydYTJV57rTbq1bz805FP2QG2Z+2bwpgKIOZag/\n"
|
|
|
|
"gN2A1ySJaIYLgZIg9irxrLkqlY/UAjC23y6V9fJXP1S3TXoqLmHleW8PsaDLuwTo\n"
|
|
|
|
"hCWaR61Mx9WG7IXcodn2Z7RiCfZpSW4Rztbk5WtjQa5jPXSFOuBJAgMBAAE=\n"
|
|
|
|
"-----END RSA PUBLIC KEY-----\n"
|
|
|
|
"dir-key-certification\n"
|
|
|
|
"-----BEGIN SIGNATURE-----\n"
|
|
|
|
"UNXZy+4OQ8iat+gw+vg2ynvKj2BYbqZt+EAZAV3rmw6gux44U9TLRECRd6LsA08N\n"
|
|
|
|
"4+Vz01TU81xqMgfrUy94ei2YvcfpO8art9/muWHTP9SmOX8S1uqDqLWA+n723C9A\n"
|
|
|
|
"HyVXn4aINncO2081gJcIW5+Ul8WTCeZe/n3LVPTCKbTdqxvmrPUdCWlJTQUmb19M\n"
|
|
|
|
"T+kcCjaEfgQGLC+Y2MHqYe/nxz+aBKqpjiWUDdjc35va6r/2e3c0jGi1B1xRZxN1\n"
|
|
|
|
"xThPZ+CifjDoWBxJdDGlIfZRK1lMnOCJY9w9ibTXQ1UnvE4whFvmB55/t9/XLq4q\n"
|
|
|
|
"3pnZz0H7funey3+ilmTxDohoAYT1GX+4a+3xYH07UmAFqlTzqKClj84XEHn+Cer7\n"
|
|
|
|
"Nun9kJlJFuBgUpQjwCkzedFZKKLOHgB2h7trJfnqcBpAM8Rup1Bb5u/RcBx9gy1q\n"
|
|
|
|
"pMc65FviIrc/Q5TUku6NNbCbnGll1599PvWuUzkG42lJ17V6psKHIsqGtVdHlCUc\n"
|
|
|
|
"-----END SIGNATURE-----\n";
|
|
|
|
|
|
|
|
const char AUTHORITY_SIGNKEY_3[] =
|
|
|
|
"-----BEGIN RSA PRIVATE KEY-----\n"
|
|
|
|
"MIICXgIBAAKBgQDa0mZVKt/AaM94rlDsnWEyVee6026tW8/NORT9kBtmftm8KYCi\n"
|
|
|
|
"DmWoP4DdgNckiWiGC4GSIPYq8ay5KpWP1AIwtt8ulfXyVz9Ut016Ki5h5XlvD7Gg\n"
|
|
|
|
"y7sE6IQlmketTMfVhuyF3KHZ9me0Ygn2aUluEc7W5OVrY0GuYz10hTrgSQIDAQAB\n"
|
|
|
|
"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