1 /* This one actually succeeds */
2 static const char EX_RI_MINIMAL[] =
3 "router fred 127.0.0.1 9001 0 9002\n"
5 "-----BEGIN RSA PUBLIC KEY-----\n"
6 "MIGJAoGBAObzT4opT9uaThByupbb96tYxVpGxzL9CRPKUcU0beGpHyognD9USHWc\n"
7 "SpSpKfBL5P3xr2i/XTs34M4UTbT9PE7bVyxv7RD/BZmI4gc8R3PMU77xxbpEU5bK\n"
8 "LF3QUPpuB88m/2fXUGgMNVDc5MIq6pod2NRoDpeU7WA8T3ewXzK5AgMBAAE=\n"
9 "-----END RSA PUBLIC KEY-----\n"
11 "-----BEGIN RSA PUBLIC KEY-----\n"
12 "MIGJAoGBAM1QKsQiup9DNMCgNeE2FkAhCWzpMZKCn1nNlZbDGfE3Z22ex6bdWWY6\n"
13 "ocEZ3JZDsZsnaZrdYxrL3Mquq7MbHdfx90EdlOvDRP1SAIbZ55mLR77fZTu4BKd/\n"
14 "h9BC6I26uZE0QavFq3+BhoVVhVn5Mqv05nR9CeUMSSZLxw/RJm4DAgMBAAE=\n"
15 "-----END RSA PUBLIC KEY-----\n"
16 "published 2014-10-05 12:00:00\n"
17 "bandwidth 1000 1000 1000\n"
20 "-----BEGIN SIGNATURE-----\n"
21 "Ft/y3JXowjItgfTHwYcZzuUgXrskluoINW5sr+GQoNYE2F4sT8o0tBBJwqJ6FwKd\n"
22 "fkIprv9UXqkv5iY+pXSYSI12mY1K5GMNkXiObk46NjuoNNP9l8oidhO6eNfcE+k3\n"
23 "CRIYS4FbBaD0fWUSwgMuo0Bp83/Wzp3B9ytEBh0/624=\n"
24 "-----END SIGNATURE-----\n";
26 /* So does this, and it's bigger. */
27 static const char EX_RI_MAXIMAL[] =
28 "router fred 127.0.0.1 9001 0 9002\n"
30 "-----BEGIN RSA PUBLIC KEY-----\n"
31 "MIGJAoGBANNI56H+b7SW5LMzvXyY5NJzXszsHZZ4O1CPm4CePhBsAz1r0s1JYJ1F\n"
32 "Anrc0mEcLtmj0c5+HnhPBNrfpjO6G94Wp3NZMVykHDhfNVDBRyFZMroG8/GlysYB\n"
33 "MQPGQYR0xBgiuclNHoyk/vygQhZekumamu2O86EIPcfg9LhGIgEbAgMBAAE=\n"
34 "-----END RSA PUBLIC KEY-----\n"
36 "-----BEGIN RSA PUBLIC KEY-----\n"
37 "MIGJAoGBALvuNVSmg6R9USFbQcNbRjMCJAV0Rwdv0DlS6Rl02ibJgb01G7v391xE\n"
38 "d9Njzgf93n8gOrE195bkUbvS6k/DM3HFGgArq6q9AZ2LTbu3KbAYy1YPsSIh07kB\n"
39 "/8kkvRRGx37X9WGZU3j5VUEuzqI//xDE9lbanlnnFXpnb6ymehDJAgMBAAE=\n"
40 "-----END RSA PUBLIC KEY-----\n"
41 "published 2014-10-05 12:00:00\n"
42 "bandwidth 1000 1000 1000\n"
43 "reject 127.0.0.1:*\n"
46 "ipv6-policy accept 80,100,101\n"
47 "ntor-onion-key s7rSohmz9SXn8WWh1EefTHIsWePthsEntQi0WL+ScVw\n"
50 "unrecognized-keywords are just dandy in this format\n"
51 "platform Tor 0.2.4.23 on a Banana PC Jr 6000 Series\n"
53 "fingerprint CC43 DC8E 8C9E 3E6D 59CD 0399 2491 0C8C E1E4 50D2\n"
54 "read-history 900 1,2,3,4\n"
55 "write-history 900 1,2,3,4\n"
56 "extra-info-digest AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\n"
57 "hidden-service-dir\n"
58 "allow-single-hop-exits\n"
59 "family $AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA $BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB\n"
61 "or-address [::1:2:3:4]:9999\n"
62 "or-address 127.0.0.99:10000\n"
63 "opt fred is a fine router\n"
65 "-----BEGIN SIGNATURE-----\n"
66 "x5cxL2h2UsEKk2OVnCTxOF8a89HAe/HwQnSlrBy8+l0YdVCcePDJhm1WyWU7ToHZ\n"
67 "K8auwreuw+u/n14sQHPYrM9NQE689hP4LC9AYOnrCnMHysfVqKuou+DSKYYRgs0D\n"
68 "ySCmJ9p+xekfmms+JBmS5o5DVo48VGlG0VksegoB264=\n"
69 "-----END SIGNATURE-----\n"
72 /* I've messed with 12 bits of the signature on this one */
73 static const char EX_RI_BAD_SIG1[] =
74 "router fred 127.0.0.1 9001 0 9002\n"
76 "-----BEGIN RSA PUBLIC KEY-----\n"
77 "MIGJAoGBAObzT4opT9uaThByupbb96tYxVpGxzL9CRPKUcU0beGpHyognD9USHWc\n"
78 "SpSpKfBL5P3xr2i/XTs34M4UTbT9PE7bVyxv7RD/BZmI4gc8R3PMU77xxbpEU5bK\n"
79 "LF3QUPpuB88m/2fXUGgMNVDc5MIq6pod2NRoDpeU7WA8T3ewXzK5AgMBAAE=\n"
80 "-----END RSA PUBLIC KEY-----\n"
82 "-----BEGIN RSA PUBLIC KEY-----\n"
83 "MIGJAoGBAM1QKsQiup9DNMCgNeE2FkAhCWzpMZKCn1nNlZbDGfE3Z22ex6bdWWY6\n"
84 "ocEZ3JZDsZsnaZrdYxrL3Mquq7MbHdfx90EdlOvDRP1SAIbZ55mLR77fZTu4BKd/\n"
85 "h9BC6I26uZE0QavFq3+BhoVVhVn5Mqv05nR9CeUMSSZLxw/RJm4DAgMBAAE=\n"
86 "-----END RSA PUBLIC KEY-----\n"
87 "published 2014-10-05 12:00:00\n"
88 "bandwidth 1000 1000 1000\n"
91 "-----BEGIN SIGNATURE-----\n"
92 "Ft/y3JXowjItgfTHwYcZzuUgXrskluoINW5sr+GQoNYE2F4sT8o0tBBJwqJ6FwKd\n"
93 "fkIprv9UXqkv5iY+pXSYXX12mY1K5GMNkXiObk46NjuoNNP9l8oidhO6eNfcE+k3\n"
94 "CRIYS4FbBaD0fWUSwgMuo0Bp83/Wzp3B9ytEBh0/624=\n"
95 "-----END SIGNATURE-----\n";
97 /* This is a good signature of the wrong data: I changed 'published' */
98 static const char EX_RI_BAD_SIG2[] =
99 "router fred 127.0.0.1 9001 0 9002\n"
101 "-----BEGIN RSA PUBLIC KEY-----\n"
102 "MIGJAoGBAObzT4opT9uaThByupbb96tYxVpGxzL9CRPKUcU0beGpHyognD9USHWc\n"
103 "SpSpKfBL5P3xr2i/XTs34M4UTbT9PE7bVyxv7RD/BZmI4gc8R3PMU77xxbpEU5bK\n"
104 "LF3QUPpuB88m/2fXUGgMNVDc5MIq6pod2NRoDpeU7WA8T3ewXzK5AgMBAAE=\n"
105 "-----END RSA PUBLIC KEY-----\n"
107 "-----BEGIN RSA PUBLIC KEY-----\n"
108 "MIGJAoGBAM1QKsQiup9DNMCgNeE2FkAhCWzpMZKCn1nNlZbDGfE3Z22ex6bdWWY6\n"
109 "ocEZ3JZDsZsnaZrdYxrL3Mquq7MbHdfx90EdlOvDRP1SAIbZ55mLR77fZTu4BKd/\n"
110 "h9BC6I26uZE0QavFq3+BhoVVhVn5Mqv05nR9CeUMSSZLxw/RJm4DAgMBAAE=\n"
111 "-----END RSA PUBLIC KEY-----\n"
112 "published 2014-10-05 12:00:01\n"
113 "bandwidth 1000 1000 1000\n"
116 "-----BEGIN SIGNATURE-----\n"
117 "Ft/y3JXowjItgfTHwYcZzuUgXrskluoINW5sr+GQoNYE2F4sT8o0tBBJwqJ6FwKd\n"
118 "fkIprv9UXqkv5iY+pXSYSI12mY1K5GMNkXiObk46NjuoNNP9l8oidhO6eNfcE+k3\n"
119 "CRIYS4FbBaD0fWUSwgMuo0Bp83/Wzp3B9ytEBh0/624=\n"
120 "-----END SIGNATURE-----\n";
122 /* This one will fail while tokenizing the first line. */
123 static const char EX_RI_BAD_TOKENS[] =
126 "-----BEGIN RSA PUBLIC KEY-----\n"
127 "MIGJAoGBANGCgvZc+JRtAzuzk3gBD2rH9SHrXzjJ1wqdU3tLKr7FamKCMI2pLwSA\n"
128 "FZUpTuSqB9wJ/iVcYws+/kA3FjLqgPtzJFI0SVLvQcz5oIC1rEWpuP6t88duMlO9\n"
129 "flOUzmYu29sBffrXkQr8pesYvakyXArOJVeRR7fSvouneV5aDYWrAgMBAAE=\n"
130 "-----END RSA PUBLIC KEY-----\n"
132 "-----BEGIN RSA PUBLIC KEY-----\n"
133 "MIGJAoGBAML+pYZoYc+whKLijupd63xn0gzlEQqe7k07x/lWMqWFT37FfG6YeNr5\n"
134 "fpFoo77FDfuFaL+VfPfI8i88g157hcPKBVX6OyRH54+l5By0tN91S0H+abXjXQpv\n"
135 "U/Bvmul+5QpUeVJa1nPg71HRIauoDnBNexUQ7Xf/Bwb2xCt+IJ6DAgMBAAE=\n"
136 "-----END RSA PUBLIC KEY-----\n"
137 "published 2014-10-05 12:00:00\n"
138 "bandwidth 1000 1000 1000\n"
141 "-----BEGIN SIGNATURE-----\n"
142 "tbxtYYzyVqi6w6jz1k8NPjFvZaSNR0WzixVTTvKKGoMPx/6+Z8QAFK1ILzRUVucB\n"
143 "nRhmZMFaPr3vREMErLRE47ODAzwoBCE9C+vYFvROhgfzuQ3cYXla+4sMaRXYZzjH\n"
144 "PQ82bTwvSbHsR8fTTgePD/Ac082WxXTGpx6HOLBfNsQ=\n"
145 "-----END SIGNATURE-----\n"
148 static const char EX_RI_BAD_PUBLISHED[] =
149 "router fred 127.0.0.1 9001 0 9002\n"
151 "-----BEGIN RSA PUBLIC KEY-----\n"
152 "MIGJAoGBAMoipSwZgTG6SpSOm6ENbyALS1Ljqqa1LSGmtHSRfGYgUQGWZXERXKQj\n"
153 "P5ql6o7EbGr1wnispGW/KB8Age09jGDvd/oGhQ9TDFluhLZon3obkZSFw7f9iA7Q\n"
154 "s29rNxoeXXLZVyS7+sux70b8x2Dt4CeG8GA8nQLljy1euwU+qYYJAgMBAAE=\n"
155 "-----END RSA PUBLIC KEY-----\n"
157 "-----BEGIN RSA PUBLIC KEY-----\n"
158 "MIGJAoGBAPzfzQ+2WFMUvnB3z0xD+zwczWcFyYYNW8Lj7/aRGSNN2DICp5uzSjKq\n"
159 "qkYQ+C8jG21+MR2PE+ZBmq6CL5mvlFKlWKouXUlN7BejwWf2gw0UYag0SYctae1b\n"
160 "bu8NuUEvdeGWg5Odgs+abH7U9S0hEtjKrmE5vvJS5L841IcaPLCFAgMBAAE=\n"
161 "-----END RSA PUBLIC KEY-----\n"
162 "published 2014-10-05 99:00:00\n"
163 "bandwidth 1000 1000 1000\n"
166 "-----BEGIN SIGNATURE-----\n"
167 "G92pnwCIXGJ9Q0fI9y4m/fHpWCsD0Hnk81/6T4TmRH3jt77fc0uRdomUOC5id4kz\n"
168 "J2M4vqXwRs5OK+eaPbtxf8Yv6FPmB3OBNCIhwNHIIqzKQStHUhPxD3P6j8uJFwot\n"
169 "/CNGciDN+owZ2DzwrXpszDfzcyp/nmwhApbi3W601vY=\n"
170 "-----END SIGNATURE-----\n"
173 /* Bandwidth field isn't an integer. */
174 static const char EX_RI_BAD_BANDWIDTH[] =
175 "router fred 127.0.0.1 9001 0 9002\n"
177 "-----BEGIN RSA PUBLIC KEY-----\n"
178 "MIGJAoGBAN32LAvXQaq0p554FcL4LVwnxyiZvscfuFnfpXwWTDRJJHd2+JCttWIx\n"
179 "v+eW7dNq+rq/tzSzaZwnp8b4V2skLRojSt6UUHD234eZcsPwUNhSr0y1eMuoZbnV\n"
180 "UBBPevpuXea85aSFEXXRlIpQfvFc43y3/UFoRzo5iMPqReo2uQ4BAgMBAAE=\n"
181 "-----END RSA PUBLIC KEY-----\n"
183 "-----BEGIN RSA PUBLIC KEY-----\n"
184 "MIGJAoGBAMBuF1GvOyVcRDNjzlEmGHJkTA7qkaWgTp33NSY/DPEJoahg0Qswuh2w\n"
185 "1YCBqem6Txp+/Vl9hoUoUGwb7Vwq0+YDMSyr0z3Ih2NcNjOMZPVtjJuv+3wXrQC8\n"
186 "LPpCpfU9m9QvhQ7f9zprEqUHOQTT0v5j2a5bpfd++6LFxrMUNwbfAgMBAAE=\n"
187 "-----END RSA PUBLIC KEY-----\n"
188 "published 2014-10-05 12:00:00\n"
189 "bandwidth hello world today\n"
192 "-----BEGIN SIGNATURE-----\n"
193 "svABTGDNJOgaiPLqDlkRU6ldYJcoEe2qHlr4O30lVM2hS3Gg6o4QARL7QRt7VepT\n"
194 "SruR6pE83xOr7/5Ijq5PlamS4WtODMJSH3DXT2hM5dYYrEX5jsJNZTQ+cYwPQI3y\n"
195 "ykuvQIutH6ipz5MYc9n0GWAzDjLq1G8wlcEfFXQLD10=\n"
196 "-----END SIGNATURE-----\n"
199 /* Onion key is actually a signature. */
200 static const char EX_RI_BAD_ONIONKEY1[] =
201 "router fred 127.0.0.1 9001 0 9002\n"
203 "-----BEGIN RSA PUBLIC KEY-----\n"
204 "MIGJAoGBANByIdFOKA3r2nnWyLjdZE8oGHqJE62T1zjW/nsCzCJQ8/kBMRYeGDu4\n"
205 "SeUJJ2rsh2t3PNzkqJM14f4DKmc2q76STsOW0Zcj70Bjhxb9r/OfyELVsi+x3CsE\n"
206 "Zo/W4JtdlVFjqevhODJdyFNLKOvqwG7sZo/K++Hx01Iu0zXLeg8nAgMBAAE=\n"
207 "-----END RSA PUBLIC KEY-----\n"
209 "-----BEGIN RSA PUBLIC KEY-----\n"
210 "svABTGDNJOgaiPLqDlkRU6ldYJcoEe2qHlr4O30lVM2hS3Gg6o4QARL7QRt7VepT\n"
211 "SruR6pE83xOr7/5Ijq5PlamS4WtODMJSH3DXT2hM5dYYrEX5jsJNZTQ+cYwPQI3y\n"
212 "ykuvQIutH6ipz5MYc9n0GWAzDjLq1G8wlcEfFXQLD10=\n"
213 "-----END RSA PUBLIC KEY-----\n"
214 "published 2014-10-05 12:00:00\n"
215 "bandwidth 1000 1000 1000\n"
218 "-----BEGIN SIGNATURE-----\n"
219 "Cc/Y22KFvxXPXZtjvGIyQdjm4EMhXVXJEBwt8PvK7qlO1AgiVjEBPkUrTQQ/paLQ\n"
220 "lmeCN6jEVcZ8lNiVZgzRQ/2mTO3xLBPj26UNSDuouUwZ01tZ4wPENylNYnLKv5hg\n"
221 "gYARg/nXEJiTVe9LHl99Hr9EWWruRG2wFQjjTILaWzI=\n"
222 "-----END SIGNATURE-----\n"
225 /* Onion key has exponent 3 */
226 static const char EX_RI_BAD_ONIONKEY2[] =
227 "router fred 127.0.0.1 9001 0 9002\n"
229 "-----BEGIN RSA PUBLIC KEY-----\n"
230 "MIGJAoGBAKP1kWHsH/BZhNSZmn0FyzIrAHtMl1IVPzc7ABbx+kK+IIEMD9k1fy2h\n"
231 "AP2JTm2UmJDUwutVxPsxmndI+9QsRDpu33E5Ai4U1Rb6Qu+2BRj43YAyg414caIu\n"
232 "J5LLn6bOzt7gtz0+q69WHbnwgI4zUgUbwYpwoB7k0dRY97xip9fHAgMBAAE=\n"
233 "-----END RSA PUBLIC KEY-----\n"
235 "-----BEGIN RSA PUBLIC KEY-----\n"
236 "MIGHAoGBANBKlyoqApWzG7UzmXcxhXM4T370FbN1edPbw4WAczBDXJslXCU9Xk1r\n"
237 "fKfoi/+WiTGvH7RcZWPm7wnThq2u2EAO/IPPcLE9cshLBkK28EvDg5K/WsYedbY9\n"
238 "1Gou+7ZSwMEPv2b13c7eWnSW1YvFa64pVDKu2sKnIjX6Bm0HZGbXAgED\n"
239 "-----END RSA PUBLIC KEY-----\n"
240 "published 2014-10-05 12:00:00\n"
241 "bandwidth 1000 1000 1000\n"
244 "-----BEGIN SIGNATURE-----\n"
245 "cYcBOlapA+R4xq3nn5CjpnzNXdDArMlHuXv4MairjleF1n755ecH8A/R8YIc2ioV\n"
246 "n/C1TACzFVQ12Q9P3iikVOjIXNxYzaz4Lm/L/Lq4sEOPRJC38QEXeIHEaeM51lE6\n"
247 "p6kCqXcGu/51p5vAFCSiXI1ciucmx93N+TH1yGKRLV0=\n"
248 "-----END SIGNATURE-----\n"
251 static const char EX_RI_BAD_PORTS[] =
252 "router fred 127.0.0.1 900001 0 9002\n"
254 "-----BEGIN RSA PUBLIC KEY-----\n"
255 "MIGJAoGBANVi/MVWhzT5uo3Jxw4ElS7UGmA24dnckdkCLetMhZOcE9e9mg4WcImL\n"
256 "NuBe2L/9YaL4PFVchCGlq73phKG6yFdqJdjDV8Qh9MJdAYWW2ORrjRvCrspPaYPN\n"
257 "BGJrkD2Gd4u3sq7f26TIkzmBx0Acd/FD4PQf8+XOt9YYd36ooS4vAgMBAAE=\n"
258 "-----END RSA PUBLIC KEY-----\n"
260 "-----BEGIN RSA PUBLIC KEY-----\n"
261 "MIGJAoGBALtP4cIpAYp9nqo1ak4SxALcndFw4o51U36R4oa+uJS/lYQPHkMMOj6K\n"
262 "+AVnj9sxkDJ1POaU5lsCQ5JPG1t+Tkh7vDlJb6RCUy25vJOuaQCb9GVVY7KQTJqA\n"
263 "E0fU73JdKACNjMlbF36aliQhrG4Fq2Uv+y7yp8qsRxQ8jvzEMES/AgMBAAE=\n"
264 "-----END RSA PUBLIC KEY-----\n"
265 "published 2014-10-05 12:00:00\n"
266 "bandwidth 1000 1000 1000\n"
269 "-----BEGIN SIGNATURE-----\n"
270 "xzu2T+pMZtdsS5q1cwXM2hMIH2c8mpAV31G2hKIuiQRwtPD1ne4iJsnoVCXhFakd\n"
271 "QTq7eTXM174fGWyIT93wvQx/Uqnp29dGZp/VaNOsxHFdYVB4VIVqkBh757h+PSJ+\n"
272 "VNV5JUm4XQ1QbmniJGdTQp4PLBM++fOXMR3ZNd6rt4o=\n"
273 "-----END SIGNATURE-----\n"
275 static const char EX_RI_NEG_BANDWIDTH[] =
276 "router fred 100.127.0.0.1 9001 0 9002\n"
278 "-----BEGIN RSA PUBLIC KEY-----\n"
279 "MIGJAoGBAMCG/ZCXNCF02uXRSCP7qWBN75jDMQZ363ubnQWhF9KDDNWWiwj3UiZR\n"
280 "zqsM4zKRgjtarWZvp2qxKABFAODd+j9iq5DvUGRbbXv+aR8TT/ifMtwwxHZQBk1F\n"
281 "1hbsLdwWzGIiyz5k2MVhXnt6JTlklH2hgT++gt9YTHYKxkssaq5TAgMBAAE=\n"
282 "-----END RSA PUBLIC KEY-----\n"
284 "-----BEGIN RSA PUBLIC KEY-----\n"
285 "MIGJAoGBAM3vk/4kOTB1VXrve29JeHOzNUsPwKruBcjxJf+aatxjf6KO2/RW41bM\n"
286 "gRYq9V7VAYeZTsbS727fy03F5rk3QIBhMJxm9FHatQ6rT/iEDD4Q1UZQsNtm+OLf\n"
287 "/TkZZhgfB3MiDQ4ld/+GKd7qww8HXTE+m/g1rXNyZPKozn8K7YUHAgMBAAE=\n"
288 "-----END RSA PUBLIC KEY-----\n"
289 "published 2014-10-05 12:00:00\n"
290 "bandwidth 1000 -1000 1000\n"
293 "-----BEGIN SIGNATURE-----\n"
294 "bUBBZYZWqCbsH4/7fNXtC/HgIZNGOfDF9v4d9YfKaDs5xDYf2o67hRcwx5imhrgC\n"
295 "IU7n9AI4AGxkFoN6g3Y/t4pqebxdkF678rRDCtrlwwreAiUktgrwnetp9Tpo16xj\n"
296 "V7Uf6LcqQdvu78lRh1dsrY78sf7sb90vusFMPLXGUKM=\n"
297 "-----END SIGNATURE-----\n"
299 static const char EX_RI_BAD_IP[] =
300 "router fred 100.127.0.0.1 9001 0 9002\n"
302 "-----BEGIN RSA PUBLIC KEY-----\n"
303 "MIGJAoGBAMtMrM24AJpJCevxnseIpRlSuAIMksfkfky2+noe7Rok8xn6AMQzMrwx\n"
304 "AiCJ8Jy4DBzIKUiJK4/y1FimyM08qZGR0xeqblCxZ1lbSiXv6OYxoaD2xmWw8zEP\n"
305 "Zgu4jKReHh+gan1D+XpAbFNY0KrANhjRo96ZZ3AQsZQcWBiPKCynAgMBAAE=\n"
306 "-----END RSA PUBLIC KEY-----\n"
308 "-----BEGIN RSA PUBLIC KEY-----\n"
309 "MIGJAoGBAOPclmBO/amw1RWTSI1y80qY/EPjc0I+sk9HKr0BQOovxqJ0lmy9Gaue\n"
310 "y+MOejQ9H2hNev0nd7z1fPxEogt7SCe22qJHHX3xDf+D9RpKsvVzDYZsk7hVL7T1\n"
311 "mwHzuiV/dtRa7yAMp7+q0vTUGesU2PYFYMOyPvz5skNLSWrXOm05AgMBAAE=\n"
312 "-----END RSA PUBLIC KEY-----\n"
313 "published 2014-10-05 12:00:00\n"
314 "bandwidth 1000 1000 1000\n"
317 "-----BEGIN SIGNATURE-----\n"
318 "g6besL/zxOp0N6Q5/7QZgai2kmCU5EAWJlvZrf5jyrjKhsv2a4LDkap07m9QRFqW\n"
319 "GGe7g5iiABIqnl0kzv7NLX7ah+d/xxv+IILXyZfVTxSw0e+zFb3uPlQ7f9JsGJ8i\n"
320 "a+w8wyyDBpOAmi8Ny866Cnp9ojVzCyIErUYHFaPvKao=\n"
321 "-----END SIGNATURE-----\n"
324 static const char EX_RI_BAD_DIRPORT[] =
325 "router fred 127.0.0.1 9001 0 bob\n"
327 "-----BEGIN RSA PUBLIC KEY-----\n"
328 "MIGJAoGBANKcD6DJ16X3yvdq05jatdwgjO+hyoIpckW9sV/OkdfIZwf+S6Q4pZGC\n"
329 "doMw5XeOM52gjpx42kUp6M2WlTGDFEpaNU0VyeZYG/M1CM1xvfj3+1PoebioAGdf\n"
330 "GuhNBCHZdaYNiOGnh9t2GgUomgpE6njdS/lovSrDeTL469hfcUghAgMBAAE=\n"
331 "-----END RSA PUBLIC KEY-----\n"
333 "-----BEGIN RSA PUBLIC KEY-----\n"
334 "MIGJAoGBANWeGHig5wE9UijaNnEW5au3B3hZKSlzCi+T6MYDPbbYhm8qJaVoXUXF\n"
335 "EP1EUgzDcX3dPEo9upUA1+91GkjGQCo9eOYlqGib8kHIwKnHZK+hernBc/DnOeUp\n"
336 "Wyk9SW5s+fi12OQhr3NGjbSn76FMY9XU3Qt7m3EviTwWpI3Jr5eRAgMBAAE=\n"
337 "-----END RSA PUBLIC KEY-----\n"
338 "published 2014-10-05 12:00:00\n"
339 "bandwidth 1000 1000 1000\n"
342 "-----BEGIN SIGNATURE-----\n"
343 "t77wEoLjyfMf9LKgBfjveosgwvJ8Go0nb27Ae3Ng9tGtR4qaJQfmwZ5fOOuVU9QC\n"
344 "3s8ww3aY91KD3NTcN3v3FKngxWtRM8AIfwh4pqT3zW6OSP4+nO3xml7ql0Zf6wfj\n"
345 "TPFV2941O3yplAsmBJ41sRSWizF04wTtZAIgzY7dMLA=\n"
346 "-----END SIGNATURE-----\n"
348 static const char EX_RI_BAD_NAME2[] =
349 "router verylongnamethatnevereverendsandgoesontoolong 127.0.0.1 9001 0 9002\n"
351 "-----BEGIN RSA PUBLIC KEY-----\n"
352 "MIGJAoGBAL0mcUxg7GJ6oxgciLiBCbo+NuZ/OVKRrERCSM6j6iHERcB9+ciSRgQ5\n"
353 "H6o6FUX2LoRmHYzBk1x7kIjHa9kx9g6CAbBamdZrQbdVnc1y2NrdHB/jvwLj3C48\n"
354 "PgzFIrLg9OlkuoWck/E+YpPllONfF65e0+ualgVjPgpQpXwmz+ktAgMBAAE=\n"
355 "-----END RSA PUBLIC KEY-----\n"
357 "-----BEGIN RSA PUBLIC KEY-----\n"
358 "MIGJAoGBAOgHvvTAxyjJtHx9W2X7aOI05H9sYDDY+sxhovT/8EpAHrioex54tsMT\n"
359 "ifgtoXTjGIBEOTDi/1ry39nEW5WPbowqvyzRfR2M43pc96WV7e1nhmD/JrnTYgtR\n"
360 "5/15KxcMJxoDhod7WZ/wlXBnHc2VevX8JTaeOe9KYORCj5iNbtVZAgMBAAE=\n"
361 "-----END RSA PUBLIC KEY-----\n"
362 "published 2014-10-05 12:00:00\n"
363 "bandwidth 1000 1000 1000\n"
366 "-----BEGIN SIGNATURE-----\n"
367 "j/nFT5gyj20cLHWv94O1jmnqy3n6qkO8Av0OdvvfNeXsMK2UHxk84vzFvEwpUF/Y\n"
368 "i+VR3LXY4CjTpuliMtjt7BQGtmJSvB8W0CeIUenIGzfwDxW9dG2o7spDldKDB/OU\n"
369 "C1wyHvKaA6Yss/02RIDa4AxyjsfbgdJ91qK+aAnYAtA=\n"
370 "-----END SIGNATURE-----\n"
372 static const char EX_RI_BAD_BANDWIDTH2[] =
373 "router fred 127.0.0.1 9001 0 9002\n"
375 "-----BEGIN RSA PUBLIC KEY-----\n"
376 "MIGJAoGBALQDCm9VEopiYILmt4X9kP6DQazfgKnLXv+6rHbc4qtmvQQD3TVYbxMP\n"
377 "F4sEUaz+YHAPnomfDVW3a0YFRYXwDzUm1n47YYCyhUzEaD2f69Mcl/gLpKdg+QOy\n"
378 "boGB1oD4CStWL3y05KhxxTNiTrg+veMzXTqNwryCYm+GoihIAM9fAgMBAAE=\n"
379 "-----END RSA PUBLIC KEY-----\n"
381 "-----BEGIN RSA PUBLIC KEY-----\n"
382 "MIGJAoGBALYHwdx6bmYy09AW5ElN/DWh0fHh3mBK97ryiIMi8FImYfzbw2BR6xuT\n"
383 "aQT5omqS3PNJJcNWZt5gOyDtA9kLh03cch7t1PenXSYJshbME2bDrZDJKVJMN6vV\n"
384 "B1v/9HjXsVF50jBzZsJo3j26XCPT5s6u9wqUFWW09QR3E/1HInHVAgMBAAE=\n"
385 "-----END RSA PUBLIC KEY-----\n"
386 "published 2014-10-05 12:00:00\n"
387 "bandwidth 1000 -1000 1000\n"
390 "-----BEGIN SIGNATURE-----\n"
391 "p09ijyuvcW+WKRj4mJA/nkLCvZkRcMzykAWheJi1IHCoqhXFdkFLiIRqjaeDVHRr\n"
392 "zBtD+YCQiGvFcaQJ9IUhh7IleHcyyljmDYlvuBAxWiKvVZstJac0kclCU4W+g8yK\n"
393 "0Qug3PmGKk115x2TllHaCZqMo5OkK4I/WAsKp+DnJ1A=\n"
394 "-----END SIGNATURE-----\n"
396 static const char EX_RI_BAD_UPTIME[] =
397 "router fred 127.0.0.1 9001 0 9002\n"
399 "-----BEGIN RSA PUBLIC KEY-----\n"
400 "MIGJAoGBAMM0Nubr1VXQ/FcgIQTFxZpZDlAEh2XN8FoJ8d+X5S46VDGijmMoYmyN\n"
401 "oLXqMTGmOaR0RGZOeGLgDzeY8tLrfF821IjfkXeAANZibUjdsHwqHO3wlWD2v+GN\n"
402 "0GBocWXEdAp/os229mQQKgYAATJ0Ib3jKhBdtgm5R444u8VX5XnbAgMBAAE=\n"
403 "-----END RSA PUBLIC KEY-----\n"
405 "-----BEGIN RSA PUBLIC KEY-----\n"
406 "MIGJAoGBAMpyOr4kEtSTZw4H9eSkH2+WmwIlO4VBpY2HkPS00l6L5fM2REjt50Xi\n"
407 "lsNOz8Q6mAn5cMYmsGlv61kg01mCvYc7Z715jGh+1hhVAxMaNS3ED/nSPnslyjhq\n"
408 "BUm51LhYNHD4ktISIqPMurx6aC8B68UYgKzLgCYNzkathFXSBpjRAgMBAAE=\n"
409 "-----END RSA PUBLIC KEY-----\n"
410 "uptime forever-and-a-day\n"
411 "published 2014-10-05 12:00:00\n"
412 "bandwidth 1000 1000 1000\n"
415 "-----BEGIN SIGNATURE-----\n"
416 "NHYeiQOu0nZdrhSy31Xz4F0T6OTU23hPQDzoLax1/zq6iTVrz9xi3HGm7HhOMW1j\n"
417 "YgFGK3+Xm4iJL+DwriunsAIuL5axr3z2hlmFDQHYItP//KyPpOqSrfEOhwcuj/PE\n"
418 "VbWsiVYwz9VJLO8SfHoBeHI6PsjQRQFt2REBKZhYdxA=\n"
419 "-----END SIGNATURE-----\n"
422 static const char EX_RI_BAD_BANDWIDTH3[] =
423 "router lucy 127.0.0.1 9001 0 9002\n"
425 "-----BEGIN RSA PUBLIC KEY-----\n"
426 "MIGJAoGBAO6HrITQTEjV/v/rInQ2REmCFZa4dZg8zIh6+B51U/I6hDiZaKGwpNey\n"
427 "9OfjoRqT2DwyLEe3ORm9A2RAz2twLBixrpt5IvC0sbGustmW964BHW7k9VvRupwl\n"
428 "ovujHpLIj5dkLxD15jGXHoTp1yHUVk9NkMGN+ahg6y+QhTbIrWbRAgMBAAE=\n"
429 "-----END RSA PUBLIC KEY-----\n"
431 "-----BEGIN RSA PUBLIC KEY-----\n"
432 "MIGJAoGBAOEpciJFXauEqs31GMTUTzu6edBj9WtV+sIflhGKvU1KKRfwCgOcuKMx\n"
433 "QiLHHD9AjhMAFGT/qtNbPFkzfYxHKLHw+NLJsxmNtdkYM26FX3ButPiX+69sq9fI\n"
434 "PCHqQy6z/A7hHwtEk6niWgK2PLhAZCg9duAv+mqFVXe2QEBjax/lAgMBAAE=\n"
435 "-----END RSA PUBLIC KEY-----\n"
436 "published 2014-10-05 12:00:00\n"
437 "bandwidth 1000 1000 electric\n"
440 "-----BEGIN SIGNATURE-----\n"
441 "Jk0Xk1RMJSjEflNRcp4qznaHKcfe2r0kOc7TdLAnM8zyNDVj6+Bn8HWmyp/oFmf6\n"
442 "xtWKKgkKxriAVIJgqZMchPbr9RuZS+i+cad++FCwpTVkyBP920XWC47jA3ZXSBee\n"
443 "HK6FaoK5LfmUm8XEU9BVhiwISXaUfTdkR8HfzugFbWk=\n"
444 "-----END SIGNATURE-----\n"
446 static const char EX_RI_BAD_NTOR_KEY[] =
447 "router fred 127.0.0.1 9001 0 9002\n"
449 "-----BEGIN RSA PUBLIC KEY-----\n"
450 "MIGJAoGBAKYDCSr0Jh9d/mJKjnGYAHKNBcxR3EJk6GGLwKUrRpN8z/aHRxdWlZF2\n"
451 "lBml6yQNK/VPftcvOekxrKq3/dISrIFBzFYj6XHNtg31d09UgitVkk0VfRarZiGu\n"
452 "O6Yv55GSJ9a3AZDE4YmIp5eBjVuChyVkeDFYKVn0ed4sj9gg35rjAgMBAAE=\n"
453 "-----END RSA PUBLIC KEY-----\n"
455 "-----BEGIN RSA PUBLIC KEY-----\n"
456 "MIGJAoGBALXdUQuq1pYHyYP0qU6Ik+oOmwl0eOsuwiLWf9Vd+dsgEszICX4DRWPx\n"
457 "syDxfxyA/g9FEPvlI7Nglx6cKe2MT0AutSRLbbML4smfuRZNIF35Cnfu5qTGVVzL\n"
458 "GWVSA2Ip7p+9S9xLhLBdc6qmrxEXCPL6anEhCR4f8AeybXAsz2JLAgMBAAE=\n"
459 "-----END RSA PUBLIC KEY-----\n"
460 "published 2014-10-05 12:00:00\n"
461 "ntor-onion-key s7rSohmz9SXn8WWh1EefTHIsWePthsEntQi0WL+ScVfjdklsdfjkf\n"
462 "bandwidth 1000 1000 1000\n"
465 "-----BEGIN SIGNATURE-----\n"
466 "Yf9axWyzPudnRvQstNdbtBYo7pGpUEIdECMGcJtFb6v/00pxk4Tt3RiOKa84cOBV\n"
467 "7V9NjOLdqlx88pGz0DNCJKqToIrwjZDeQ8Q1yi9XClLDkC32fQRX4y6vNBZ3LXLe\n"
468 "ayVrdRrb41/DP+E7FP4RNPA5czujTfs8xLBMbGew8AA=\n"
469 "-----END SIGNATURE-----\n"
471 static const char EX_RI_BAD_FINGERPRINT[] =
472 "router fred 127.0.0.1 9001 0 9002\n"
474 "-----BEGIN RSA PUBLIC KEY-----\n"
475 "MIGJAoGBAM0wDWF2dBLzsmoIDHRugzosCSR9TSvEE0TkvKu6+agfogGtkQJwQ5zO\n"
476 "sGzZbRR+okO7d+QCED2i3rUs1iikoMUT+pwgvOm8Bxg9R64GK7fl9K5WuAiG11Uj\n"
477 "DQAfSx5Fo30+rhOhe16c9CT7xJhj//ZKDbXUW7BrJI8zpuOnvgD5AgMBAAE=\n"
478 "-----END RSA PUBLIC KEY-----\n"
480 "-----BEGIN RSA PUBLIC KEY-----\n"
481 "MIGJAoGBAKACg1nWM/WjpUiGwlLQsY3Tq1h0RTz/HmOMx/6rTRxS5HLz0KnLg5zV\n"
482 "dvmfhxqQVKBkt1N2+y+qO7x71oFzIsFMfHYWSxOCEo8Nkff1BqAPqxxUHvM0HwJo\n"
483 "d7lswJ/UT1j4+WZNZ4sFIujsIW2/zZqKlxG9xaw0GXJ082Cj9XkPAgMBAAE=\n"
484 "-----END RSA PUBLIC KEY-----\n"
485 "published 2014-10-05 12:00:00\n"
487 "bandwidth 1000 1000 1000\n"
490 "-----BEGIN SIGNATURE-----\n"
491 "mlqyJ/ZGBINKwSNEi7GpNBCMqIVbL0pGAOBYHJF1GbRlU28uRyNyeELIxIK5ZIet\n"
492 "ZzKr7KPvlBxlyolScPhTJfP98TFSubrwYz7NnQv0vLI0bD0OyoBf/9/1GYlzgTso\n"
493 "3mKfnV7THUalpxe9EjQ/x61Yqf26Co0+jYpt8/Ck6tg=\n"
494 "-----END SIGNATURE-----\n"
496 static const char EX_RI_MISMATCHED_FINGERPRINT[] =
497 "router fred 127.0.0.1 9001 0 9002\n"
499 "-----BEGIN RSA PUBLIC KEY-----\n"
500 "MIGJAoGBANUAvwbpGbsAyA+mBwjFkvurtRzdw9btDqNKtPImufIE+q+AFTaCnwPr\n"
501 "kA7vm/O6h6OhgfdYEC2GfYJfwPGM7MDuz+NnuKxUb3qb2DQN2laqow6qWs9La/if\n"
502 "oHKUjC5mNeAgHcbWapx9CygwaFeVW6FBPl6Db6GIRAlywPSX+XMJAgMBAAE=\n"
503 "-----END RSA PUBLIC KEY-----\n"
505 "-----BEGIN RSA PUBLIC KEY-----\n"
506 "MIGJAoGBANlSGd+Vm9nLiUk6zgu8dPnSFfw4F0R2GYfmzncIGJWtRFTF9ThW/0av\n"
507 "/9vZAWyVBjjtnpAP5R1BzdJYV2RwimC/6tqoHtkSbCBhdq5Cb/EHG7Xgb8KwNWVJ\n"
508 "NV1EESDwvWnRfSPGTreRw9+2LkdXri17FhDo2GjRxAq/N7YkLK5hAgMBAAE=\n"
509 "-----END RSA PUBLIC KEY-----\n"
510 "published 2014-10-05 12:00:00\n"
511 "fingerprint CC43 DC8E 8C9E 3E6D 59CD 0399 2491 0C8C E1E4 50D2\n"
512 "bandwidth 1000 1000 1000\n"
515 "-----BEGIN SIGNATURE-----\n"
516 "Y8MwYBeEfMhoAABK/FgpVRYolZ7jQ2BJL+8Lb6i4yAuk+HeVmPKTX7MqQoekUuin\n"
517 "/HdPKP+g/9HPMS5pCiW4FMwnXAF0ZocPXF0ndmsTuh0/7VWVOUGgvBpPbIW6guvt\n"
518 "sLLQ3Cq9a4Kwmd+koatfLB6xSZjhXmOn7nRy7gOdwJ8=\n"
519 "-----END SIGNATURE-----\n"
521 static const char EX_RI_BAD_HAS_ACCEPT6[] =
522 "router fred 127.0.0.1 9001 0 9002\n"
524 "-----BEGIN RSA PUBLIC KEY-----\n"
525 "MIGJAoGBAJfPJNA3zZ77v2nlX2j5dXImcB/NhRtkG8XQgF7z+3H17sqoXgBgZ1dq\n"
526 "IbyJmAy2Lrvk/8VkXNFrT5/ErThn1B98V/PsJOOW1x7jGcix6X4zDYn/MvwC+AxA\n"
527 "zNP0ozNcVZ6BzVYq8w4I1V4O3Cd6VJesxRVX6mUeSeNawOb7fBY7AgMBAAE=\n"
528 "-----END RSA PUBLIC KEY-----\n"
530 "-----BEGIN RSA PUBLIC KEY-----\n"
531 "MIGJAoGBAKBzfB4mDEJjFTnmtqZxDG8G1yAiccVgAtq9ECEREL/BOQyukixUBeBe\n"
532 "j/FgXzbMJ7DZAuopuJZU2ma6h14G63fZs7eNFceDtmdLpuCOsFuvJ5Mlkf3hDZ1u\n"
533 "1KK5q+tiG7MKxgnGrqjPBUO2uubs2Cpx0HmsqBNUalXd/KAkFJbXAgMBAAE=\n"
534 "-----END RSA PUBLIC KEY-----\n"
535 "published 2014-10-05 12:00:00\n"
536 "bandwidth 1000 1000 1000\n"
541 "-----BEGIN SIGNATURE-----\n"
542 "Dp9dLgs9s5beMPxfD0m96as9gNBvlmKhH1RQ/kcOKscia4R8Q42CnUtIqLkCdjOu\n"
543 "zErc2Vj9QzjKOvlqUqHxP+J+l+ZJez6F+E1tcmK/Ydz3exL8cg9f4sAOCSXcpBey\n"
544 "llTFDibz6GkQ2j3/Uc4bN/uLzoyZKunpJbSKZP5nt8Q=\n"
545 "-----END SIGNATURE-----\n"
547 static const char EX_RI_BAD_NO_EXIT_POLICY[] =
548 "router fred 127.0.0.1 9001 0 9002\n"
550 "-----BEGIN RSA PUBLIC KEY-----\n"
551 "MIGJAoGBAK4fbjTKYqv2fygfjzY53sVTdtbNMjq293/uffKKxFYnOVvPzrHlP6Go\n"
552 "2S19ZcyDxOuH1unbBChPnV0GpxXX6+bgfDkaFh7+jef0RQ3fpJl84hSvdM8J8SCt\n"
553 "Q/F4Oqk3NeKKs+zAHDjhAU1G4LkF9/SZ9WZVXlH4a4pf7xgQtaShAgMBAAE=\n"
554 "-----END RSA PUBLIC KEY-----\n"
556 "-----BEGIN RSA PUBLIC KEY-----\n"
557 "MIGJAoGBAKahvyDkmh33ob/bLVO1icgz2ntOZN6ZQUfgpMU4Cd6DQtOEwFUGhbVt\n"
558 "gvtMHv2+VbxM31ZfUsyBqJ1rJBLpOqlPvSoYwSac2+twa+w/qjfGqcJYhBjP9TV9\n"
559 "n9y8DzBX85p6vRcCzcuZ4qUJ2nRzdLHwjdgzeLmmCHuPO2dQxQhXAgMBAAE=\n"
560 "-----END RSA PUBLIC KEY-----\n"
561 "published 2014-10-05 12:00:00\n"
562 "bandwidth 1000 1000 1000\n"
564 "-----BEGIN SIGNATURE-----\n"
565 "ntgCtMC0VrsY42dKts8igGQ2Nu1BpuzUltisIsJz75dDx2LCqTn7p4VpWbTrj1sH\n"
566 "MRNOvEPFxVMs0Lu50ZUGRzeV6GrHmzIRnOIWanb3I/jyrJLM0jTIjCOLwdMRA298\n"
567 "tw8Y9Hnwj4K7K6VvgU8LP4l7MAJNfR6UT46AJ6vkgL0=\n"
568 "-----END SIGNATURE-----\n"
570 static const char EX_RI_BAD_IPV6_EXIT_POLICY[] =
571 "router fred 127.0.0.1 9001 0 9002\n"
573 "-----BEGIN RSA PUBLIC KEY-----\n"
574 "MIGJAoGBAKHJKLHqjYoW9M+1q0CGHJRT5u2CnZWb8Qr1DpLkkusQ6ru+cDAG12so\n"
575 "IpDQh7IyB2JosVJi9ogekYxJ3O1p5WlFUi0X19DMoer9FJ9J7/3s4enGJ/yMBeuu\n"
576 "jLVRkjMJhsfhj3Cykon+8Rrf520wSmBg1dpJQCXTwtb7DARgYRpZAgMBAAE=\n"
577 "-----END RSA PUBLIC KEY-----\n"
579 "-----BEGIN RSA PUBLIC KEY-----\n"
580 "MIGJAoGBAPJH61Ir6XSu9/Q9tXGaINbXO1GWQQUXtwh6TX9lxnaCNDLGnxiY+ZZw\n"
581 "+Vqj3LAQoMrz1PpPsF5e0VIxok10Vc8y4cWC+kIitcecut4vWC5FYTtVVP9wtlyg\n"
582 "YCcVOVhtFQxtLiGqprl84+EVxrR7RQVCMLNDUXIgxAfdnS24eBPDAgMBAAE=\n"
583 "-----END RSA PUBLIC KEY-----\n"
584 "published 2014-10-05 12:00:00\n"
585 "bandwidth 1000 1000 1000\n"
587 "ipv6-policy kfdslfdfj sdjfk sdfjsdf\n"
589 "-----BEGIN SIGNATURE-----\n"
590 "XWorzVT5Owg+QcsBtksiUNtpQQ5+IdvbsN+0O9FbFtGZeaeBAbPJ3Poz+KFCUjZY\n"
591 "DeDAiu1cVgODx2St+99LpwEuIBx78HaD8RYU8tHx8LoA+mGC43ogQQS9lmfxzvP5\n"
592 "eT5WXhkOS5AZ8LZOCOmT+tj/LkSXev2x/NC9+Vc1HPo=\n"
593 "-----END SIGNATURE-----\n"
595 static const char EX_RI_BAD_FAMILY[] =
596 "router fred 127.0.0.1 9001 0 9002\n"
598 "-----BEGIN RSA PUBLIC KEY-----\n"
599 "MIGJAoGBAM62QoRxSPnm+ZM4fv9p03Qqbz5SzhXYSNjKWqylBruaofTw6oIM8DtX\n"
600 "7QnrEe/ou/WtfB+swV/2rt/r0EzmeWBWuDmuSUrN5TC2AdOi9brSJMgXVW6VW77X\n"
601 "fuIlLd5DVSId2zs3cKLDqp36CUsooA9sS6I5HrvW9QDf3VS3pGBtAgMBAAE=\n"
602 "-----END RSA PUBLIC KEY-----\n"
604 "-----BEGIN RSA PUBLIC KEY-----\n"
605 "MIGJAoGBANg1trpnRzkCi4t4Z4qnBKF612H5A3Zrjg7Jo2b3ajUnON/KEuLPTc3t\n"
606 "PPN0W4qqeCMmVQEuxf3DRbTPS20ycy4B/JDWYfxCNwuj5YAx04REf7T0Hlx7Aee/\n"
607 "sHEQBhIBfasA2idhTh3cAm4DMYn+00BqjxF6jmyRA0hyntEABabrAgMBAAE=\n"
608 "-----END RSA PUBLIC KEY-----\n"
609 "published 2014-10-05 12:00:00\n"
610 "bandwidth 1000 1000 1000\n"
614 "-----BEGIN SIGNATURE-----\n"
615 "xOgP3liKF/WEvwbbGzUUVRZ5WPrOI7jex8pZU/02UEnHjit7vCf9fsUcvkeo0xjz\n"
616 "n3FQHIO1iAJS7dEaEM4nz6wtPUb2iXSU9QajkGBkJ9/V7NHMFIU3FGfP47PIJJkd\n"
617 "nz5INoS+AsE7PmnDjUMm1H45TCCl8N8y4FO6TtN7p8I=\n"
618 "-----END SIGNATURE-----\n"
620 static const char EX_RI_BAD_EI_DIGEST[] =
621 "router fred 127.0.0.1 9001 0 9002\n"
623 "-----BEGIN RSA PUBLIC KEY-----\n"
624 "MIGJAoGBAJ8Sn8AxBRbeIAHUvaKjqmcYOvXz7YFlpYFiVHp/cn+l+KUkIYTOFQXf\n"
625 "K8AtwjmJ4R2qJIbNlY/6oZGFbizt/B+WPuWsTj+8ACEEDlxx0ibg3EJRB8AZYiWv\n"
626 "0zC/loiUvHm6fXF5ghvDr9BQzEUo9kBk5haoHwROtGawr1+vOEiNAgMBAAE=\n"
627 "-----END RSA PUBLIC KEY-----\n"
629 "-----BEGIN RSA PUBLIC KEY-----\n"
630 "MIGJAoGBAMzok3ZJtLjXOC8RKltXI8xulwn/ctCvQFHImR0+ccA1uBxaZNYgiIcc\n"
631 "q8XngROfV8xEgDbYPiWiLXJOMSwOd7hfs3YzRWF+LKftYs8PuRyMJcCoBjOPZ4QX\n"
632 "HRfTetEvu2SijZMby+lkqpZg2nuF/ipsXUjrabRZdNiIGhC451vdAgMBAAE=\n"
633 "-----END RSA PUBLIC KEY-----\n"
634 "extra-info-digest not-a-digest\n"
635 "published 2014-10-05 12:00:00\n"
636 "bandwidth 1000 1000 1000\n"
639 "-----BEGIN SIGNATURE-----\n"
640 "c/6zAxO04izQvqdM4bZVGE+ak0nna5pz9XZizFkieZEDWGzWQuVMhXyL5sbsFbsx\n"
641 "6Hn7DvNRYR/2nA0teDeRyIHMoMHi76te5X9OFDgaeUVCbyJ8h/KZYfPnN86IDbsR\n"
642 "dCSmj9kX55keu64ccCAH1CqwcN/UsbplXiJJVG5pTfI=\n"
643 "-----END SIGNATURE-----\n"
645 static const char EX_RI_ZERO_ORPORT[] =
646 "router fred 127.0.0.1 0 0 9002\n"
648 "-----BEGIN RSA PUBLIC KEY-----\n"
649 "MIGJAoGBAMc4MOhLG3PKPgc+xYVf4eScWzeOf8wq7Cb/JxZm50G0LuvVbhHtHEZX\n"
650 "VOSHI7mLE1ifakJvCFJRLobMU7lU0yhn18/nKl2Cu5NfFHHeF/NieUBSxBGb2wD6\n"
651 "aM1azheXrRqvDVVfbI0DLc/XfQC/YNiohOsQ/c9C6wuffA4+Sg85AgMBAAE=\n"
652 "-----END RSA PUBLIC KEY-----\n"
654 "-----BEGIN RSA PUBLIC KEY-----\n"
655 "MIGJAoGBALBWdl9/Vft+NQKQlg5kgvZo+krnhNTRVQojWtUEzom4TFIT+NNKJyMG\n"
656 "reQXcNdzNptTB0aOBGGwqAesqzsZ2Hje699NsDe7hdl7Sb5yhKDqtdQY6yDXJUFt\n"
657 "zqpAUkmYMLe2p3kPiWefNso56KYXrZrlNAiIS/FhQ5cmuMC2jPydAgMBAAE=\n"
658 "-----END RSA PUBLIC KEY-----\n"
659 "published 2014-10-05 12:00:00\n"
660 "bandwidth 1000 1000 1000\n"
663 "-----BEGIN SIGNATURE-----\n"
664 "gFg08P9A6QNQjURlebfdhU3DSV0BeM0j2SFza1jF9JcBOWDRmT8FvYFK1B3js6jK\n"
665 "8LNV8JOUssv14z5CnUY9CO1BD0xSl+vGlSS4VOXD7rxui8IoWgnqnZsitq+Qzs95\n"
666 "wgFKhHI/49NHyWHX5IMQpeicg0T7Qa6qwnUvspH62p8=\n"
667 "-----END SIGNATURE-----\n"
670 static const char EX_RI_MINIMAL_ED[] =
671 "router fred 127.0.0.1 9001 0 9002\n"
673 "-----BEGIN ED25519 CERT-----\n"
674 "AQQABf5iAa+2yD5ryD5kXaWbpmzaTyuTjRfjMTFleDuFGkHe26wrAQAgBABFTAHm\n"
675 "hdZriC+6BRCCMYu48cYc9tUN1adfEROqSHZN3HHP4k/fYgncoxrS3OYDX1x8Ysm/\n"
676 "sqxAXBY4NhCMswWvuDYgtQpro9YaFohiorJkHjyLQXjUeZikCfDrlxyR8AM=\n"
677 "-----END ED25519 CERT-----\n"
679 "-----BEGIN RSA PUBLIC KEY-----\n"
680 "MIGJAoGBAOsjlHgM/lPQgjJyfrq0y+cR+iipcAeS2HAU8CK9SATETOTZYrxoL5vH\n"
681 "1BNteT+JxAxpjva+j7r7XZV41xPDx7alVr8G3zQsjqkAt5NnleTfUREUbg0+OSMV\n"
682 "10gU+DgcZJTMehfGYJnuJsF4eQHio/ZTdJLaZML7qwq0iWg3sZfBAgMBAAE=\n"
683 "-----END RSA PUBLIC KEY-----\n"
685 "-----BEGIN RSA PUBLIC KEY-----\n"
686 "MIGJAoGBAK9NjRY7GtAZnlxrAZlImChXmGzml0uk2KlCugvju+eIsjSA/zW3LuqW\n"
687 "wqp7Kh488Ak5nUFSlCaV9GjAexT134pynst8P0m/ofrejwlzl5DHd6sFbR33Fkzl\n"
688 "H48zic0QDY+8tKXI732dA4GveEwZDlxxy8sPcvUDaVyTsuZLHR4zAgMBAAE=\n"
689 "-----END RSA PUBLIC KEY-----\n"
690 "ntor-onion-key 71DgscFrk4i58O5GuTerI9g3JL0kz+6QaCstAllz9xw=\n"
691 "ntor-onion-key-crosscert 1\n"
692 "-----BEGIN ED25519 CERT-----\n"
693 "AQoABf5iAUVMAeaF1muIL7oFEIIxi7jxxhz21Q3Vp18RE6pIdk3cAH5ijeKqa+LM\n"
694 "T5Nb0I42Io4Z7BVjXG7sYVSxrospCOI4dqkl2ln3BKNuEFFT42xJwt+XGz3aMyK2\n"
696 "-----END ED25519 CERT-----\n"
697 "onion-key-crosscert\n"
698 "-----BEGIN CROSSCERT-----\n"
699 "lAZwD6YVic61NvJ0Iy62cSPuzJl5hJOFYNh9iSG/vn4/lVfnnCik+Gqi2v9pwItC\n"
700 "acwmutCSrMprmmFAW1dgzoU7GzUtdbxaGaOJdg8WwtO4JjFSzScTDB8R6sp0SCAI\n"
701 "PdbzAzJyiMqYcynyyCTiL77iwhUOBPzs2fXlivMtW2E=\n"
702 "-----END CROSSCERT-----\n"
703 "published 2014-10-05 12:00:00\n"
704 "bandwidth 1000 1000 1000\n"
706 "router-sig-ed25519 Oyo/eES+/wsgse1f+YSiJDGatBDaiB4fASf7vJ7GxFeD4OfLbB7OYa4hYNEo5NBssNt/PA55AQVSL8hvzBE3Cg\n"
708 "-----BEGIN SIGNATURE-----\n"
709 "wdk26ZtS1H81IxcUThyirANLoszrnYYhOMP57YRAUDEzUr88X6yNDZ5S0tLl+FoT\n"
710 "9XlEVrpN7Z3k4N9WloWb0o/zVVidPMRVwt8YQakSgR8axzMQg6QhQ6zXTiYhiXa4\n"
711 "mawlwYFXsaVDSIIqYA2CudIyF3UBRZuTbw0CFZElMWc=\n"
712 "-----END SIGNATURE-----\n"
716 static const char EX_RI_ED_MISSING_CROSSCERT[] =
717 "router fred 127.0.0.1 9001 0 9002\n"
719 "-----BEGIN ED25519 CERT-----\n"
720 "AQQABf54AfsyyHhGluzfESzL4LP8AhFEm83+GkFoHbe1KnssVngHAQAgBABNzJRw\n"
721 "BLXT3QMlic0QZ4eG612wkfSRS4yzONIbATKLHIgyzgGiGl4gaSX0JTeHeGfIlu7P\n"
722 "5SKocZVNxm1mp55PG+tgBqHObDRJRSgbOyUbUgfOtcbQGUeVgUlFKWZ9FAY=\n"
723 "-----END ED25519 CERT-----\n"
725 "-----BEGIN RSA PUBLIC KEY-----\n"
726 "MIGJAoGBAMqT7K8cEzWIaPNXbNgvoZ5ejavoszI2OjW9XXetPD/S2f+N7TfQXHBW\n"
727 "bnjpgj87gmk59w0OXTMCv+XofZ0xOy2YR/jG5l1VJIvqgJhhFJ8oSEGVzy+97Ekn\n"
728 "Lb1FEYuVfVxSxnU2jhHW6KPtee/gvuyRI/TvZuwmYWxLRpikVn4pAgMBAAE=\n"
729 "-----END RSA PUBLIC KEY-----\n"
731 "-----BEGIN RSA PUBLIC KEY-----\n"
732 "MIGJAoGBAM4nITNe8UykgsIuo5czSSSl3Okr1K+UVWTzDGLznDg77MkLy7mydmk9\n"
733 "vf51OB+ogQhozYKIh9uHvecOzY4EhSIuKhui4hNyQklD9juGoW7RVTSpGdYT1ymp\n"
734 "dDYS30JBPwCZ7KjdMtXiU8ch2WgbzYBuI+JfjwOhfcsuNC9QPfbfAgMBAAE=\n"
735 "-----END RSA PUBLIC KEY-----\n"
736 "ntor-onion-key lx8o212IYw5Ly2KbH2ua1+fr4YvDq5nKd7LHMdPzTGo=\n"
737 "ntor-onion-key-crosscert 1\n"
738 "-----BEGIN ED25519 CERT-----\n"
739 "AQoABf54AU3MlHAEtdPdAyWJzRBnh4brXbCR9JFLjLM40hsBMoscAJ8cHMIc71+p\n"
740 "Qa+lg5JiYb551mLgtPWLy12xdhog7SXiJl3NvnMgbMZXHDqkU2YZCidnVz+xqMdh\n"
742 "-----END ED25519 CERT-----\n"
743 "published 2014-10-05 12:00:00\n"
744 "bandwidth 1000 1000 1000\n"
746 "router-sig-ed25519 4DSdPePrToNx3WQ+4GfFelB8IyHu5Z9vTbbLZ02vfYEsCF9QeaeHbYagY/yjdt+9e71jmfM+W5MfRQd8FJ1+Dg\n"
748 "-----BEGIN SIGNATURE-----\n"
749 "cv1yL8HhQzQfjzkSosziu2kMecNUQGle4d103h6tVMoZS1ua1xiDpVKeuWPl9Z0+\n"
750 "wpFwRkOmK0HpNeOXCNHJwfJaWBGQXunB3WQ6Oi1BLilwLtWQixGTYG0hZ6xYLTnX\n"
751 "PdSQIbsohSgCzo9HLTAgTnkyBgklIO1PHJBJsaNOwfI=\n"
752 "-----END SIGNATURE-----\n"
756 static const char EX_RI_ED_MISSING_CROSSCERT2[] =
757 "router fred 127.0.0.1 9001 0 9002\n"
759 "-----BEGIN ED25519 CERT-----\n"
760 "AQQABf54AXXgm0CUWQr+rxvgdIslqaFdBiwosT+9PaC8zOxYGIsZAQAgBAA6yeH7\n"
761 "3AfGIGuDpVihVUUo0QwguWDPwk2dBJan7B0qgPWF5Y4YL5XDh2nMatskUrtUGCr1\n"
762 "abLYlJPozmYd6QBSv6eyBfITS/oNOMyZpjDiIjcLQD08tVQ2Jho+WmN64wc=\n"
763 "-----END ED25519 CERT-----\n"
765 "-----BEGIN RSA PUBLIC KEY-----\n"
766 "MIGJAoGBAMdyTK/VPZloLUaLsvj1+NOFs33/E9HmA0VgvZ1nNUrR+PxSR71QF7Tw\n"
767 "DKz+/p2rJE+MPfQ/Na3dH0vH4CDZ+FH2m4A8SB9emF8aKxdc/7KCjQNDQCNlEQYn\n"
768 "O9WvZJhbNPHUmX0z4OotI+Sk3qBzVHu0BGDsPYC9gwszIumDUILxAgMBAAE=\n"
769 "-----END RSA PUBLIC KEY-----\n"
771 "-----BEGIN RSA PUBLIC KEY-----\n"
772 "MIGJAoGBAL8o6CJiLfW4vdRFvJ2nFt/H/ei0ov83rilOuwSmNORmL9lvnHY++HrD\n"
773 "dmEEvBv74xqWJxGbJ6OQ3VOwRpf2X/cb4gAvsQDqDmNwpJsrPYRQVXp/KY/8z7bJ\n"
774 "dM4CjcsuJHHmj3yc3iCzgqt/Xr6vR24X4bee12/bP7R8IETvWoiHAgMBAAE=\n"
775 "-----END RSA PUBLIC KEY-----\n"
776 "ntor-onion-key qpNEGrLMVn28Odonk/nDtZq1ljy0fBshwgoAm4X1yzQ=\n"
777 "onion-key-crosscert\n"
778 "-----BEGIN CROSSCERT-----\n"
779 "i4RKGIeaUrO6nzfdtb6j+ijYJh1Vgc9bsHMpW9cVCOjoJKFW9xljgl9xp6LytviN\n"
780 "ppKYCt9/JflbZUZjny34ESltPGrdquvHe8TtdQazjiZBWQok/kKnx2i+PioRF/xI\n"
781 "P8D0512kbJjXSuuq9tGl94RKPM/ySGjkTJPevN4TaJE=\n"
782 "-----END CROSSCERT-----\n"
783 "published 2014-10-05 12:00:00\n"
784 "bandwidth 1000 1000 1000\n"
786 "router-sig-ed25519 pMAOpepn5Q9MxcV9+Yiftu50oBzBsItQcBV9qdZCIt3lvSFqFY9+wJjaShvW3N9ICHkunrC0h/w5VEfx4SQdDA\n"
788 "-----BEGIN SIGNATURE-----\n"
789 "Du5fJYDzvEeGqKTJwgaQsJJgz39K/J4qEM2TZ3Mh0XuDM1ZWDtjyzP03PaPQqbJ1\n"
790 "FsN5IStjOqN3O1IWuLzGaZGpGVuqcyYOxjs7REkGQn2LfqCjpzjaAdcsL0fI4ain\n"
791 "o/in8GQ6S/qhsx8enKlN0tffTmWmH9bmmVz0+yYmBSo=\n"
792 "-----END SIGNATURE-----\n"
795 static const char EX_RI_ED_MISSING_CROSSCERT_SIGN[] =
796 "router fred 127.0.0.1 9001 0 9002\n"
798 "-----BEGIN ED25519 CERT-----\n"
799 "AQQABf54AfoVFYuJnDNBWbjbTqfXACUtXWPipmqEYC++Ok/+4VoFAQAgBADH7JzI\n"
800 "fjSMV158AMiftgNY+KyHYIECuL9SnV3CSO+8+I7+r9n+A3DQQmGLULo/uZnkbteJ\n"
801 "+uy6uRG4kW0fnuBlKhseJQm9hjNGWzC8hmebp1M+bxwG41EGI7BZvnTrRgM=\n"
802 "-----END ED25519 CERT-----\n"
804 "-----BEGIN RSA PUBLIC KEY-----\n"
805 "MIGJAoGBALEqlijoFIDX1y1i5zfei8DuDIsFtSw56PGgnMRGcybwD1PRQCheCUZM\n"
806 "erQgFCWjgLgvGJERBK/oILW1dFXp4MAR5RgnrPGTfWTinCj32obMLN1gIczpq6a9\n"
807 "P9uv6Cz0ApSxpA/AuvjyAZwQKbUXuMvIY4aTprAKSqqVohk6E+E1AgMBAAE=\n"
808 "-----END RSA PUBLIC KEY-----\n"
810 "-----BEGIN RSA PUBLIC KEY-----\n"
811 "MIGJAoGBAMZbbBjGV7xPri4XNmejq4add93p+XsWlsfbM930bcC2JZiwg4g4cq6W\n"
812 "idl8VDmCXeaWg5y3kb82Ch/Q9vPG0QYQbXxUA3JxQKKbcEK3QsEvqQh8Nb7krILK\n"
813 "YnSGAnLG2Nc3PnKb7Wpb8M3rAysC5O99Gq1mSfm8ntj3zlIM7NSHAgMBAAE=\n"
814 "-----END RSA PUBLIC KEY-----\n"
815 "ntor-onion-key CYcpfIF4T9PJcfROfVJTUYl0zNd4Ia5u0L9eng/EBSo=\n"
816 "ntor-onion-key-crosscert\n"
817 "-----BEGIN ED25519 CERT-----\n"
818 "AQoABf54AcfsnMh+NIxXXnwAyJ+2A1j4rIdggQK4v1KdXcJI77z4AMRc2LxiKbyr\n"
819 "fqRVynHuB031C4TN/HAlNPBjVoRvQRgzpiyyoyCqMDxLZdM8KtzdLLeqZJOXtWod\n"
821 "-----END ED25519 CERT-----\n"
822 "onion-key-crosscert\n"
823 "-----BEGIN CROSSCERT-----\n"
824 "BRwRAK2lWxWGS49k8gXFHLEQ/h4k8gOQxM0WgCaN4LjAOilLHFjsjXkmKgttVpHl\n"
825 "f0V9ebSf+HgkpQnDSD8ittnr/0QaohUbD4lzslW4e/tQYEiM46soSoFft85J6U3G\n"
826 "D3D63+GmaOfIaa4nv7CD0Rw/Jz0zTuyEuARsdJIr1IY=\n"
827 "-----END CROSSCERT-----\n"
828 "published 2014-10-05 12:00:00\n"
829 "bandwidth 1000 1000 1000\n"
831 "router-sig-ed25519 7XfV5r7FXbXPEvrxlecWmAJxat/6VT+/4tE5cHrQnvLM4zslysstWH6/AfIfcmUuDlQ0watmfg1MvVnjavcfDA\n"
833 "-----BEGIN SIGNATURE-----\n"
834 "eigLL3S/oMGL2tJULt9bl3S0iY+YIxdKeGFCcKZci59zD786m+n+BpGM3yPpvrXr\n"
835 "bGvl4IBqCa1I+TqPP1rM9lIEcUWaBT7Zo5uMcL1o+zZl1ZWPWVVKP5hC5ehDueu8\n"
836 "/blzNhTEFAp23ftDK9PnFf+bXxqbgKkEoZsxnd3e9Ns=\n"
837 "-----END SIGNATURE-----\n"
841 static const char EX_RI_ED_BAD_SIG1[] =
842 "router fred 127.0.0.1 9001 0 9002\n"
844 "-----BEGIN ED25519 CERT-----\n"
845 "AQQABf54AR8QC+SNBpPOTVY198IQBANNwZjy+SBqQNxfzjEmo204AQAgBABjz4FP\n"
846 "zW/G+fu7YirvANvvqJeb7S1YYJnf6IrPaPsPRzDqJcO3/sTzFC5OSb9iJmzQAWnn\n"
847 "ADPOl+nOJC58XJnJ7CUJdPtyoVdMvUiUT/Jtg4RuCN1iDaDYaTh2VavImAY=\n"
848 "-----END ED25519 CERT-----\n"
850 "-----BEGIN RSA PUBLIC KEY-----\n"
851 "MIGJAoGBAKuLC0kzCBTV6+WPZcAOQPKjqbjvMIyaehIQS1o90dYM+Tosrhtk3bw8\n"
852 "QBLMaiWL3kfIWPZuWi2ai40dmqAXMrXH3yBgKRNZ6zZSbUUuJ1IknqmrQ2PKjC/p\n"
853 "sIW2awC6Tq+zrZ7vntDb02zY857vP59j8eolTDg1Vvn6l2ieL+WhAgMBAAE=\n"
854 "-----END RSA PUBLIC KEY-----\n"
856 "-----BEGIN RSA PUBLIC KEY-----\n"
857 "MIGJAoGBAMnBQPOJBQLZ3NAa70n6lGZGvS3DYZFNOZ2QnHVeVvOSFIFsuvHtnUdX\n"
858 "svDafznYAuRFRVqJS2xtKKGu0cmy6ulEbBF+4uAEMwQY7dGRPMgVF1Z33U0CSd08\n"
859 "ChCJGPTE7tGGuoeSIGN3mfC4z2v9SP3McBdAiLHisPzaUjfRTcwRAgMBAAE=\n"
860 "-----END RSA PUBLIC KEY-----\n"
861 "ntor-onion-key W8fUvBpKBoePmqb70rdJUcRT0NhELDWH7/BSXJtkXS0=\n"
862 "ntor-onion-key-crosscert 1\n"
863 "-----BEGIN ED25519 CERT-----\n"
864 "AQoABf54AWPPgU/Nb8b5+7tiKu8A2++ol5vtLVhgmd/ois9o+w9HAAPwWqmL0HXa\n"
865 "bYKrKPWQYnpQHQ3Ty0MmCgj3ABF940JURnV161RlN8CRAOJaeQ0Z8wBRLFC1NqLT\n"
867 "-----END ED25519 CERT-----\n"
868 "onion-key-crosscert\n"
869 "-----BEGIN CROSSCERT-----\n"
870 "x0vT5Wv7Guc0/Vu2BqomWwenh8oda9+8K/7ILi5GQL/WC29Tj51i0EE7PVSnSMJ7\n"
871 "33I/V+N5neauqWnbg7TxYaLsPfr6SpPTpBL1Xt0OiwT1//PvPYZ1gCcF3ig3KcfI\n"
872 "mreQd5C5Vri6ukWkMtz/zNDaDpDanzaNXTdaUXmFHF4=\n"
873 "-----END CROSSCERT-----\n"
874 "published 2014-10-05 12:00:00\n"
875 "bandwidth 1000 1000 1000\n"
877 "router-sig-ed25519 4DSdPePrToNx3WQ+4GfFelB8IyHu5Z9vTbbLZ02vfYEsCF9QeaeHbYagY/yjdt+9e71jmfM+W5MfRQd8FJ1+Dg\n"
879 "-----BEGIN SIGNATURE-----\n"
880 "Hci/Br1+NNymDZBmQy1QWMlCeLe8Z1vtZ2ZTj42jDhWg1OC/v72ptI072x4x5cmi\n"
881 "X3EONy8wQUvTNowkfG6/V/B768C7FYJYBId1GAFZZymXnON9zUYnE3z1J20eu6l6\n"
882 "QepmmdvRmteIHMQ7HLSrBuDuXZUDJD0yXm6g8bMT+Ek=\n"
883 "-----END SIGNATURE-----\n"
888 static const char EX_RI_ED_BAD_SIG2[] =
889 "router fred 127.0.0.1 9001 0 9002\n"
891 "-----BEGIN ED25519 CERT-----\n"
892 "AQQABf54AW8fyx54c7vQQA/AmShAitFP7XI1CLdifEVPSrFKwYq6AQAgBAChqjVA\n"
893 "/wKKJZ30BIQoXe5+QMiPR6meNxF1lBttQ2t5AhauZbH5XzRhZkdGo114wuyPNEM9\n"
894 "PrBwp5akTtari9doVy6gs3McqdoIbRdWevpaGj5g5oOEOtA9b5UNWQSwUAs=\n"
895 "-----END ED25519 CERT-----\n"
897 "-----BEGIN RSA PUBLIC KEY-----\n"
898 "MIGJAoGBALp0Croi9zhpGxi9sUj54jr/flZdzxVVS+8VNldJG2c1soSx8kwlwotu\n"
899 "7mGGudJDAzDHGo5F5CCPEfQov2OmDehpefYUz/AaMLly6PrLRJlcUcpLogGf1+KU\n"
900 "1lLwE8kanXUkgvDhVQiFvNjy2Dxxuv3AHH4WdZZfbMbm8FJRGoHzAgMBAAE=\n"
901 "-----END RSA PUBLIC KEY-----\n"
903 "-----BEGIN RSA PUBLIC KEY-----\n"
904 "MIGJAoGBAMoI9vQT4g2sV2dViGOWOzxckk367T9sMjVwcYfJCmnixGxjWeKScQFB\n"
905 "K9v1uK73cfZR8AxiUGK4/iOX/9en14mJOGF7fftAqypFLAt1TBvb07IgXljOBoHc\n"
906 "Paw4oZoJQzEoazt0Oa181LyNnNIoaZpHVZd1+a1Gs1gKoM4xDBv1AgMBAAE=\n"
907 "-----END RSA PUBLIC KEY-----\n"
908 "ntor-onion-key KjyvXYkMcpke5ZsUYf2gZAUNeEoz8NAwYoQvvbcDGiw=\n"
909 "ntor-onion-key-crosscert 0\n"
910 "-----BEGIN ED25519 CERT-----\n"
911 "AQoABf54AaGqNUD/AoolnfQEhChd7n5AyI9HqZ43EXWUG21Da3kCAI6MRHm7GpCF\n"
912 "/3zDGR/6jKe625uFZX9HpLt6FgAdGSJeMQ9W4Np9VkrFXAB3gvh7xxRzSgZ1rXgR\n"
914 "-----END ED25519 CERT-----\n"
915 "onion-key-crosscert\n"
916 "-----BEGIN CROSSCERT-----\n"
917 "xJXvCCpP4ExBuT3OTsdn2HJB0HidupmQq5zBh8fx/ox6+047ZBOM7+hVxxWapcMg\n"
918 "PMXbcLD4L/FCBpA/rjnFUE/9kztdq7FH/rOdi0nB6FZWhwDcsZuyfvbnDTxz5iHJ\n"
919 "87gd5nXA5PE649SRCxW5LX0OtSiPFPazu4KyyBgnTIM=\n"
920 "-----END CROSSCERT-----\n"
921 "published 2014-10-05 12:00:00\n"
922 "bandwidth 1000 1000 1000\n"
924 "router-sig-ed25519 4DSdPePrToNx3WQ+4GfFelB8IyHu5Z9vTbbLZ02vfYEsCF9QeaeHbYagY/yjdt+9e71jmfM+W5MfRQd8FJ1+Dgxx\n"
926 "-----BEGIN SIGNATURE-----\n"
927 "tk4kBNYqB8utOmX30HrV8YfnwBXYODIiL3M/juRS6nPn0uvbW7pjoZ3ck/ahgW+6\n"
928 "FNQsgTJnEADCWS1r6v7PcvzQjtrOUUpNxGJxYw1r8yZkvmIxSQD6GMzuTxq7o1VA\n"
929 "/wZYDLonLhCWRdPjxnrl12+z92NdyISJCHMLRVqs2QY=\n"
930 "-----END SIGNATURE-----\n"
934 static const char EX_RI_ED_BAD_SIG3[] =
935 "router fred 127.0.0.1 9001 0 9002\n"
937 "-----BEGIN ED25519 CERT-----\n"
938 "AQQABf54AYYiKZrFWZ/Cj5mZbfK11MZHYbwchllsUl4qPqY9gfi6AQAgBAB4irxT\n"
939 "86FYA0NbZssSTmfyG6Edcf0ge61OwB4QD35kHCrvuZk2HnmL+63Tj4QoFqIVnwVC\n"
940 "3wRGJGcmS7y+vS64GUXbuyTgqgpl/KuoHo5Aqe6IxJlVWYtU6W0M6FV9tAM=\n"
941 "-----END ED25519 CERT-----\n"
943 "-----BEGIN RSA PUBLIC KEY-----\n"
944 "MIGJAoGBAMUEvXTVTl5xkQ2MTEsB4sXQ3MQkz8sQrU63rlqglpi1yUv24fotjzvE\n"
945 "oJpeKJBwwg5WBW/fW0bUDJF2cOHRHkj/R4Is3m+2PR1Kn3UbYfxNkFkTE11l099V\n"
946 "H6xlsi0TJOJKlgrcbSuB7se2QctZVhwsdsJvFRptC9Qd+klAPb7tAgMBAAE=\n"
947 "-----END RSA PUBLIC KEY-----\n"
949 "-----BEGIN RSA PUBLIC KEY-----\n"
950 "MIGJAoGBAMooTeSUX7GPoyklSd1/6cF1u8e2LbjOLIpZrMon0Xt7c/aNwlrG9rVo\n"
951 "TSokHs3AQ2H2XIceySVRRWR4AdX9KApO4CX0gGTuVUmq6hFJWMnHdAs2mKL0kt1w\n"
952 "I+YWzjUqn4jIVa2nMbyHVQWzIysWwWiO4yduIjAYpBbWd9Biew4BAgMBAAE=\n"
953 "-----END RSA PUBLIC KEY-----\n"
954 "ntor-onion-key BN0I+pLmFkDQD5iRsdkcped4eZwGIuXnLiX2K0Zoi2I=\n"
955 "ntor-onion-key-crosscert 1\n"
956 "-----BEGIN ED25519 CERT-----\n"
957 "AQoABf54AXiKvFPzoVgDQ1tmyxJOZ/IboR1x/SB7rU7AHhAPfmQcAOrIvaG/xJqe\n"
958 "adM6mai+FlV8Dbt6QrXTcNHJU1m+CUDthA9TPTAYz9D8W0mTEQ6KEAKGfQrNLy2r\n"
960 "-----END ED25519 CERT-----\n"
961 "onion-key-crosscert\n"
962 "-----BEGIN CROSSCERT-----\n"
963 "BpLBsl6Yo64QzczJn0TjdcXC1Jv9IhUG2m/Re3v0voCELOP+t5vkZXXLoVL23oKv\n"
964 "JheSkWiuAIEPsatb4afXZ8wZxPcQjwy3zTOBM7p9CG5fA+KYpqKTxAi+dhVYlcDo\n"
965 "M7S5nMV63FclkZIT70FFTHwWed1sAKwEO3/Ny24eppc=\n"
966 "-----END CROSSCERT-----\n"
967 "published 2014-10-05 12:00:00\n"
968 "bandwidth 1000 1000 1000\n"
970 "router-sig-ed25519 abcdvEzGFYMcJ/Ea7sbessW1qRJmnNNo2Khkkl0rEEgtLX0b4L4MMhK/ktS52Y6jX3PRQWK5PZc6gjV7Jaldh+g0Aw\n"
972 "-----BEGIN SIGNATURE-----\n"
973 "Vyj7g3eQ3K4+tm49fJkAtsAYnYHcEiMnlucYCEPeKojzYStNfZwQO2SG5gsoBIif\n"
974 "urgQZ/heaF4uiGFg64UFw08doXqQkd5SHO3B4astslITvmq0jyaqzSXhdB5uUzvp\n"
975 "QCR0fqGLVS1acUiqGbRr4PiZ9G7OJkm230N3rGdet+0=\n"
976 "-----END SIGNATURE-----\n"
979 static const char EX_RI_ED_BAD_SIG4[] =
980 "router fred 127.0.0.1 9001 0 9002\n"
982 "-----BEGIN ED25519 CERT-----\n"
983 "AQQABf55AaEnncX/t0cbLm1xrtlUpkXghaA8fVuV7g1VF3YNfCaIAQAgBAC7Ki3S\n"
984 "zzH9Aezz5X4fbwHeF+BQEDfVasfyTxTI4fhRi7t3RxHzBJd60uEMXy2FchD8VO5d\n"
985 "j4Dl7R4btrohPVSVBQZuemBQSW6g3ufNl0txpFWu0R7vBPTFH6oyXYfY9gQ=\n"
986 "-----END ED25519 CERT-----\n"
988 "-----BEGIN RSA PUBLIC KEY-----\n"
989 "MIGJAoGBALGKwzhOui2/jJPjU1ngW5IZRPcoDk7RAfGDO4xaef4VfAFHCV9CQO1c\n"
990 "/wQ09CcRdggTvUcv9hJTGJhSObUUooCkxw4/35f/A6/NoW1Gi0JqF9EsQWHpuAfr\n"
991 "n/ATlJQ9oGdTCNDq/BXSPWXhoI6UhUe0wiD4P4x4QwaYHcZh+lE5AgMBAAE=\n"
992 "-----END RSA PUBLIC KEY-----\n"
994 "-----BEGIN RSA PUBLIC KEY-----\n"
995 "MIGJAoGBAOKrizVm2h5/jE/HqqLCBLWJZVVoGspasCtDDqHhSqsPzyjpqa52iMKi\n"
996 "q/deJ92le3J2NJRGKxPmPQqWxwhIjnMS5kUMoW182iLpO/G9qyPZ0dh6jXB0NBLF\n"
997 "ySfW6V2s3h4G4D2P+fqnsnzQnAX7YufkvgDau/qTWi2CqD0CjavDAgMBAAE=\n"
998 "-----END RSA PUBLIC KEY-----\n"
999 "ntor-onion-key A9h8jY9dPbhHTDbIc/NYWXmRP65wwSMrkY1MN8dV3BM=\n"
1000 "ntor-onion-key-crosscert 1\n"
1001 "-----BEGIN ED25519 CERT-----\n"
1002 "AQoABf55AbsqLdLPMf0B7PPlfh9vAd4X4FAQN9Vqx/JPFMjh+FGLAN8xr/w3KFVi\n"
1003 "yXoP/az6hIbJh0HYCwH8D1rPoQLcdpe8XVwFSrHGarZesdslIwc9dZa/D1dx3OGO\n"
1005 "-----END ED25519 CERT-----\n"
1006 "onion-key-crosscert\n"
1007 "-----BEGIN CROSSCERT-----\n"
1008 "bLmdO7ME5vq+c9y/Hd8EyBviMBTeo85sHZF/z6Pehc3Wg3i1BJ8DHSd1cK24Pg48\n"
1009 "4WUrGTfonewuzJBDd3MLkKe6epXmvUgvuQN5wQszq1+u9ap/mRf6b3nEG0MHxMlO\n"
1010 "FLx5MBsScuo+Q+pwXZa8vPuKTtEjqbVZivdKExJuIX0=\n"
1011 "-----END CROSSCERT-----\n"
1012 "published 2014-10-05 12:00:00\n"
1013 "bandwidth 1000 1000 1000\n"
1015 " router-sig-ed25519 4DSdPePrToNx3WQ+4GfFelB8IyHu5Z9vTbbLZ02vfYEsCF9QeaeHbYagY/yjdt+9e71jmfM+W5MfRQd8FJ1+Dgxx\n"
1016 "router-signature\n"
1017 "-----BEGIN SIGNATURE-----\n"
1018 "LqNGEa10zwSPeomBXTfgvBnnWAdWyiR7KYZq9T++jK4ctR6hUaWngH8qSteUrkMx\n"
1019 "gyWb6UMmlxdfOG0sdcU463HsqV7zObaKya8/WwQ9elj3FfsToswUCeOaLR/Rg7wC\n"
1020 "zcUjI5VsneQoXT2WVZbZBLsLB3+7QfezVHRMB377GAY=\n"
1021 "-----END SIGNATURE-----\n"
1024 static const char EX_RI_ED_BAD_CROSSCERT1[] =
1025 "router fred 127.0.0.1 9001 0 9002\n"
1026 "identity-ed25519\n"
1027 "-----BEGIN ED25519 CERT-----\n"
1028 "AQQABf55AV1AfOvQWKlWsbzoBdJc5m72ShIJuA8eNV15basjhXYdAQAgBABy+KQK\n"
1029 "3oLDGtqL5kwRmjAsls/+C6SAoAALll7U7wNSH7en5RVBal4RUzCf57ea/KG0c9V8\n"
1030 "2DmZ3PdOt2aY/M2bWGmmH/tyyapOoV98dhDwFU7zcx/pMfRnJTDRSDwl8QE=\n"
1031 "-----END ED25519 CERT-----\n"
1033 "-----BEGIN RSA PUBLIC KEY-----\n"
1034 "MIGJAoGBAMP6xbqbj+x1mq5XImjeT0rUzqKZTgBd5zvK4Xcy9IifJuFC9+mMzrY4\n"
1035 "WhYbdClxKUkDMkit9MVhek+P/w5TSHKl6AuqGaO09ID+hZpoUSdoBUYktynxfGsx\n"
1036 "kIDu0XvgtAeSyJaVvoV1SKVChY0IBbzUqbHt4O2Q1BhzFCKEJTEzAgMBAAE=\n"
1037 "-----END RSA PUBLIC KEY-----\n"
1039 "-----BEGIN RSA PUBLIC KEY-----\n"
1040 "MIGJAoGBANwWlBh7e/eSLlhto5YUdj1iGYOq+yAmlosDItVfYrSPJuUfM2ocMBAn\n"
1041 "udbRbWiADoqsbKn/gwwHCC/f1HX2FkRXxxnOlJKLo+NEi8tGmOlcQXSQol1pCpvK\n"
1042 "sA9TxtYr+Ft4LRpxNrexF+pIBxqzwetqQrZbKYr0CFJi8q1qlMynAgMBAAE=\n"
1043 "-----END RSA PUBLIC KEY-----\n"
1044 "ntor-onion-key cs1AP+xF5cXTLuKeOeItdoDAzfALTJkwk9lB4mtC4QI=\n"
1045 "ntor-onion-key-crosscert 3\n"
1046 "-----BEGIN ED25519 CERT-----\n"
1047 "AQoABf55AXL4pAregsMa2ovmTBGaMCyWz/4LpICgAAuWXtTvA1IfAKo6ANUq+hi+\n"
1048 "xb3J4aYafnszlj87oi/DR+SDf29wzwNw8gmaqGzJ5GbfISfABuTUCzlilZyVnLxi\n"
1050 "-----END ED25519 CERT-----\n"
1051 "onion-key-crosscert\n"
1052 "-----BEGIN CROSSCERT-----\n"
1053 "qC9Kph/kGtONR2DxZDoIFFgnDFC+/7H07EgCiYQdIFIROc+gGK9qBOgeFEptrkXF\n"
1054 "XdE35xxox5xSASQvp7hjFwxUtJRGOtf2O98regqeeaz6O9VPXHkLf51uqX3bVgq8\n"
1055 "KvFAsFFS66GxhtbrVjpyRgIwHAYvse1WVESfLuZZTn0=\n"
1056 "-----END CROSSCERT-----\n"
1057 "published 2014-10-05 12:00:00\n"
1058 "bandwidth 1000 1000 1000\n"
1060 "router-sig-ed25519 3uW8Q1aetIQLOsqSco128ZUaHlhqdYiBvrxV7x75BGNS5RzIMTEwYDNtEX1LNPFJ5N0YOV0HEEOLhrJUV9QCBA\n"
1061 "router-signature\n"
1062 "-----BEGIN SIGNATURE-----\n"
1063 "WuD7S/saTYBxKvItITbHRi8n+e6g/oVbosicfbRbafYPzPp4Prb+RK03UTafzXrV\n"
1064 "QEQIzDNhfePcIMH8qX+qrogLMXFqiXx6TVQ0GqNvqirokk8ar3AgtRtewhChAuAj\n"
1065 "8pmQTj2JpZn/iB3PCE2l/93O9LHZfp44hc8QOWKs6BE=\n"
1066 "-----END SIGNATURE-----\n"
1071 static const char EX_RI_ED_BAD_CROSSCERT4[] =
1072 "router fred 127.0.0.1 9001 0 9002\n"
1073 "identity-ed25519\n"
1074 "-----BEGIN ED25519 CERT-----\n"
1075 "AQQABf55AW5TTGF9jCMl7aALZzqypD9Bj8WYnAPIrKCoIJdgMbY0AQAgBAB7eCn8\n"
1076 "rukx7t/egZUdqU7+FYqsnO4wdmOkLZkp0+gpF3jjk6N1Q0037NNVNZBjONB0Nm2F\n"
1077 "CpB3nWSJliSSKr5tOYsuBPFy5VVGYeKPakpOoxanQ1UcqevMBAQy0zf9hwA=\n"
1078 "-----END ED25519 CERT-----\n"
1080 "-----BEGIN RSA PUBLIC KEY-----\n"
1081 "MIGJAoGBALeS5YbeDuKQ5iiuUvh3REoyJ47/YU9lslWmTrVBf9b66pMnYJv/awPu\n"
1082 "m2HredUAJ3VzwQ38VJA39w3fQXUhQDnQ0OPpKzeAmIiuG+6WdW/mBSK7uKcezC23\n"
1083 "LA1d6Afyl79LjZz/n+ENXqNMlJk4QPcPHuRnAvwBl3t8YVRPJmxhAgMBAAE=\n"
1084 "-----END RSA PUBLIC KEY-----\n"
1086 "-----BEGIN RSA PUBLIC KEY-----\n"
1087 "MIGJAoGBAPprokY7utWuO/0252dBB5MCxmVD/dROaIBDyFtpdH+YVv04rkOlDzYD\n"
1088 "W4mgHVBMxEm/cspTgQmJ4exRHJPpcSe1RYHt1ONZdLYr6D7OOWf0y1IUrVSzF6K4\n"
1089 "lqlmNuH1H4+TKGbkvixYc5GU/2ZmAy6gFEuphYnBbsN2Ywc38mnfAgMBAAE=\n"
1090 "-----END RSA PUBLIC KEY-----\n"
1091 "ntor-onion-key Cgo6xniGfEiuYoLSPUdE4Vb2D4zj2NQzC1lRjysRRXs=\n"
1092 "ntor-onion-key-crosscert 1\n"
1093 "-----BEGIN ED25519 CERT-----\n"
1094 "AQoABf54AU3MlHAEtdPdAyWJzRBnh4brXbCR9JFLjLM40hsBMoscAJ8cHMIc71+p\n"
1095 "Qa+lg5JiYb551mLgtPWLy12xdhog7SXiJl3NvnMgbMZXHDqkU2YZCidnVz+xqMdh\n"
1097 "-----END ED25519 CERT-----\n"
1098 "onion-key-crosscert\n"
1099 "-----BEGIN CROSSCERT-----\n"
1100 "bi4M/AJLZF7/vSNmOj4uhrgKBQA/KfcZy5e58mhGL4owxd9vaWfl3aelvb9jf9zN\n"
1101 "Q7FMv8f9aXzeVIoXIpRJxSKIJgBtG2wnMumIc80pqBvTyGInharszb6njfm0bg1u\n"
1102 "PfJkbQYyf/dA5l5UwCrjFs06ImDmjFTAdsSWf6DfZ/k=\n"
1103 "-----END CROSSCERT-----\n"
1104 "published 2014-10-05 12:00:00\n"
1105 "bandwidth 1000 1000 1000\n"
1107 "router-sig-ed25519 4DSdPePrToNx3WQ+4GfFelB8IyHu5Z9vTbbLZ02vfYEsCF9QeaeHbYagY/yjdt+9e71jmfM+W5MfRQd8FJ1+Dgxx\n"
1108 "router-signature\n"
1109 "-----BEGIN SIGNATURE-----\n"
1110 "io16v+e0pK3sbFzPGnkQrAjrRgIOJHrVZ1RXcxZ1+UNXagWM/MOLhQpkU/cw49Wd\n"
1111 "4rQeZD3JQh16330eXbxc97AyDgp0b30He846SI0MfW/DnmGI8ZNeYfLbMv2bmbs9\n"
1112 "QULzyIH8C+5mnMI1arcuiAua+Dpa34F79vgqPuvw5fU=\n"
1113 "-----END SIGNATURE-----\n"
1117 static const char EX_RI_ED_BAD_CROSSCERT3[] =
1118 "router fred 127.0.0.1 9001 0 9002\n"
1119 "identity-ed25519\n"
1120 "-----BEGIN ED25519 CERT-----\n"
1121 "AQQABf55AVB+j+B2yPgGywvp7nvejyhMh9ejKmw7LCwufV83Zl9eAQAgBAConA3B\n"
1122 "jJ3X2tES40jd94rRUFS2/s/Yv7E4LEQ9z0+jz8horNivzK3O/t7IGxJggi+b41/9\n"
1123 "Uaqt+wqtVuKj0xJ9jwBlCXFt28G2P9s4ZyXYgGZqo7MlJlboybnOMvmoTQA=\n"
1124 "-----END ED25519 CERT-----\n"
1126 "-----BEGIN RSA PUBLIC KEY-----\n"
1127 "MIGJAoGBAPWuEWckT4aYAVNrZzLA8xVwfXp0wzfXeTWBztLS8VzssN6w/+cwXdeY\n"
1128 "N1YNc2DiD3u8f+7kmuZIqL1EFQUwTvRwEzQXm2dqGM7qkm5ZGNMb5FKu+QwO2ImI\n"
1129 "FLNiO5zO/LqP3cf/2L8/DuvruLenUrhRtecGFaHmhDYl+2brHIiPAgMBAAE=\n"
1130 "-----END RSA PUBLIC KEY-----\n"
1132 "-----BEGIN RSA PUBLIC KEY-----\n"
1133 "MIGJAoGBAMtHTfk0gDvp9+PtIG8Ks7rgCiJZ2aihSvr6WaKHYuIprgspFuga98cg\n"
1134 "D//J80CrgH5Dw68YnkG+gU40IxP7YzhQ4glFlJGu3s2y7Qazcv5ww1XtHur+GDoA\n"
1135 "cY0zCLhltNQFxIsoVUepY97XA6Y2ejYJjyqNXQcAmoPNoVhnTdkhAgMBAAE=\n"
1136 "-----END RSA PUBLIC KEY-----\n"
1137 "ntor-onion-key ibZf57LptdOK3WpVFXkYMatEEqPhuVWxsnkwF6638V4=\n"
1138 "ntor-onion-key-crosscert 0\n"
1139 "-----BEGIN ED25519 CERT-----\n"
1140 "AQoABf55AaicDcGMndfa0RLjSN33itFQVLb+z9i/sTgsRD3PT6PPAEbkxCdI/bH/\n"
1141 "B06DAjRuoDiv1HKsGuW+UN1iGEiWu2ieFzf3m0Z7BL9p2u2zIbHYkP50b3T3sebD\n"
1143 "-----END ED25519 CERT-----\n"
1144 "onion-key-crosscert\n"
1145 "-----BEGIN CROSSCERT-----\n"
1146 "BpLBsl6Yo64QzczJn0TjdcXC1Jv9IhUG2m/Re3v0voCELOP+t5vkZXXLoVL23oKv\n"
1147 "JheSkWiuAIEPsatb4afXZ8wZxPcQjwy3zTOBM7p9CG5fA+KYpqKTxAi+dhVYlcDo\n"
1148 "M7S5nMV63FclkZIT70FFTHwWed1sAKwEO3/Ny24eppc=\n"
1149 "-----END CROSSCERT-----\n"
1150 "published 2014-10-05 12:00:00\n"
1151 "bandwidth 1000 1000 1000\n"
1153 "router-sig-ed25519 XS4zVi46Xl3xKhuozPCDlW0QRFD4qUhJmkefonQNsRlMVsrPkALnP2tfnfdfTc69hbNa22pOjJNf6Gm505EnAw\n"
1154 "router-signature\n"
1155 "-----BEGIN SIGNATURE-----\n"
1156 "Q+R3OpO8VhfvFbXuE5qolhVbgosBHy2A5QS91TMzCbsxa8pBA6Li4QdPR37wvdLq\n"
1157 "KayfmmNCMKU5qiZMyXqJZm4fdpxiSi50Z0tYlXM3b2OVfza3+pSOEBl89fN6G4Qc\n"
1158 "pAmM14eEo1UzXrqZw76tMS2CwOYF5vR2xFGCYC0b5hM=\n"
1159 "-----END SIGNATURE-----\n"
1164 static const char EX_RI_ED_BAD_CROSSCERT5[] =
1165 "router fred 127.0.0.1 9001 0 9002\n"
1166 "identity-ed25519\n"
1167 "-----BEGIN ED25519 CERT-----\n"
1168 "AQQABf55AaCfOaispi7dJhK0c8HXJHIwoBkMgRpmmHu+3Zce/soMAQAgBAB5bAIo\n"
1169 "5i4TSY/bV2KQAyziRwvgJm+nEiECClflPbP9Um+zOzOgxtDmNnR5UFQj+VWNG4uf\n"
1170 "5lnaryN+PfUXZMTcs8AARof3fFz9tVPINHDrsGvKt8gpzgZEHkVioAXOFwg=\n"
1171 "-----END ED25519 CERT-----\n"
1173 "-----BEGIN RSA PUBLIC KEY-----\n"
1174 "MIGJAoGBAL3Fr/ovZ9SMGYrAM24taKBm/NpemZaXdD/JeBXFYm5Zs3szLwJC4Etm\n"
1175 "zjNL6tVy+I21O1g3cs16TkflcidsjPXNx//PHAn7bqWMekjrt3SQdkHW2gDPgT2c\n"
1176 "zYJ/hBR96JYG796jP3pkfJz6Iz5uT/ci3A/cdaVbzM1uZbMUgYGzAgMBAAE=\n"
1177 "-----END RSA PUBLIC KEY-----\n"
1179 "-----BEGIN RSA PUBLIC KEY-----\n"
1180 "MIGJAoGBAMHB+1dWa8BBrKE94vTqfbkSEuysG5LyyZF/WrqHq/3W+ocDLz795k8O\n"
1181 "2Zvgr9im/Ib4hD7IyrtRexcuBdwujdG7cBALdCcWiUTGAMkl96HNETSX+lUVIpJ9\n"
1182 "pMsc9O7+yz+/0Cl2RpILZCdE/7I96qHpZl3tzlRKSu15WeIm5U77AgMBAAE=\n"
1183 "-----END RSA PUBLIC KEY-----\n"
1184 "ntor-onion-key GXi0a2VLcRHQMMYys85zu3IPqOn5ZTsOixYyQvTGnQs=\n"
1185 "ntor-onion-key-crosscert 1\n"
1186 "-----BEGIN BUTTERED CRUMPET-----\n"
1187 "AQoABf54AU3MlHAEtdPdAyWJzRBnh4brXbCR9JFLjLM40hsBMoscAJ8cHMIc71+p\n"
1188 "Qa+lg5JiYb551mLgtPWLy12xdhog7SXiJl3NvnMgbMZXHDqkU2YZCidnVz+xqMdh\n"
1190 "-----END BUTTERED CRUMPET-----\n"
1191 "onion-key-crosscert\n"
1192 "-----BEGIN CROSSCERT-----\n"
1193 "T9NHMBhuJo+TlfU3TztNgCc9fK1naNRwPOyoqr5R6lJvJ40jkHnIVOFuvuzvZ35O\n"
1194 "QgPbyFcMjv6leV5xcW+/I9tWaBUFXiRGI27qjCFth4Gxq2B6B2dIcQliLXSvW9b+\n"
1195 "CMTgDwVa4h2R2PMh18TRx1596ywE09YhCgBF3CwYsiM=\n"
1196 "-----END CROSSCERT-----\n"
1197 "published 2014-10-05 12:00:00\n"
1198 "bandwidth 1000 1000 1000\n"
1200 "router-sig-ed25519 sRpiP9kyW/DGOphp4V2VCtcKNA8i7zGuv2tnljNIPTB7r7KsTvdUk/Ha9ArRQEivO4nC2HHENtknDl3GtWIPCA\n"
1201 "router-signature\n"
1202 "-----BEGIN SIGNATURE-----\n"
1203 "DtORw3+gO/yUUIp70xDaWSOgQZrJAAoZTNCB7q5WCoZOngeaCiC1Gtc+Fmdn7tER\n"
1204 "uPqQC5H/Kh3Mi82PCj0JxvNivnNTNY1AZVaIX5YoioXVOkWF0B2pqMvFuDSdm2oJ\n"
1205 "29PqSVcklquu19EjJRTopIHvYn3sFhQL4LarMsYY11c=\n"
1206 "-----END SIGNATURE-----\n"
1211 static const char EX_RI_ED_BAD_CROSSCERT6[] =
1212 "router fred 127.0.0.1 9001 0 9002\n"
1213 "identity-ed25519\n"
1214 "-----BEGIN ED25519 CERT-----\n"
1215 "AQQABf55ARMMCtQ8pObC5bq02AUE9Lx2bqsZBBkeOsDZVaEq6JavAQAgBABtV0xF\n"
1216 "CsWXL/uFIBnoEsnXBeU1MvYRFrj1vR7QHdWXnxywXvBYUAC8lu/uyc8qqLp+aQSJ\n"
1217 "5JzpDYlg3hp1fl5k97iv5F9WrR6s554YpmgYy9agFaxZ4LmRgz7n0UJ8mwM=\n"
1218 "-----END ED25519 CERT-----\n"
1220 "-----BEGIN RSA PUBLIC KEY-----\n"
1221 "MIGJAoGBAO5qd1TndKD2pEs1ZLWsHlvfO/E7cA0H7NKGLSioGpBf4P0rtkueX4ci\n"
1222 "kJNa/4Fn/QsLECqEF2lUjkIc8YL+HMS6qteKvN8+nn16DfvnIhPDNZWTJjLl1bOI\n"
1223 "sWSSiduhanoWQnhRtl3Rxg3opdNd9ApO0DLUNy4Qy18Ai6SgksfHAgMBAAE=\n"
1224 "-----END RSA PUBLIC KEY-----\n"
1226 "-----BEGIN RSA PUBLIC KEY-----\n"
1227 "MIGJAoGBAJkMYNpK7eJJyGwD/xG/iNg6gzzbIwrOSvmtoP7Rot42qtBiQ9A9kdsy\n"
1228 "sazwkWkM93U1+1OaAADPYxeHoyHnuia95Cnc5y2lFSH3I7gnGGSPKSTwXtdyvDWZ\n"
1229 "P1LbmQ4Bnh5leTCNZ/eFC4/GjNVzqHxjbb8a11dQhA8dOk8PrUq9AgMBAAE=\n"
1230 "-----END RSA PUBLIC KEY-----\n"
1231 "ntor-onion-key HdSQOqvLr4YnJE1XzzVIddgKgnjaHKJqnq0GqF4wXDg=\n"
1232 "ntor-onion-key-crosscert 0\n"
1233 "-----BEGIN ED25519 CERT-----\n"
1234 "AQoABf55AW1XTEUKxZcv+4UgGegSydcF5TUy9hEWuPW9HtAd1ZefACVwif1deQry\n"
1235 "K5GeemRa32sGzujVDDe75WRiPKFT3l/EtjTq3oeVq2xwbVJklnG3ASejKTr3YcHt\n"
1237 "-----END ED25519 CERT-----\n"
1238 "onion-key-crosscert\n"
1239 "-----BEGIN NAUGHTY MARMOSET-----\n"
1240 "BpLBsl6Yo64QzczJn0TjdcXC1Jv9IhUG2m/Re3v0voCELOP+t5vkZXXLoVL23oKv\n"
1241 "JheSkWiuAIEPsatb4afXZ8wZxPcQjwy3zTOBM7p9CG5fA+KYpqKTxAi+dhVYlcDo\n"
1242 "M7S5nMV63FclkZIT70FFTHwWed1sAKwEO3/Ny24eppc=\n"
1243 "-----END NAUGHTY MARMOSET-----\n"
1244 "published 2014-10-05 12:00:00\n"
1245 "bandwidth 1000 1000 1000\n"
1247 "router-sig-ed25519 lNY8TRX/FZdH5eFbsBkFHuRi8bPDsE5P+v7zExyD/IXnKS/ffYlP8qw1XIPdEDOIzGQ14+kyPX0SotaAqHRtBA\n"
1248 "router-signature\n"
1249 "-----BEGIN SIGNATURE-----\n"
1250 "BHamS+epF77iozo5cBt+tbs22m9GhwY55DRXpEWAtvn67jsMnmn7qCOLONigK1RT\n"
1251 "adZNezIydcCxXltgHTdKaZw4lcqv3s0KL8kI8frbBmm7PjXtWnrdXBYY+YK54MN/\n"
1252 "t4N3162o9hzzKSwye0gPjgzpQ1xtEIkzWhBcmE9Vw5s=\n"
1253 "-----END SIGNATURE-----\n"
1256 static const char EX_RI_ED_BAD_CROSSCERT7[] =
1257 "router fred 127.0.0.1 9001 0 9002\n"
1258 "identity-ed25519\n"
1259 "-----BEGIN ED25519 CERT-----\n"
1260 "AQQABf55AfVmH2ReTyatl4VnS5YREtCM2dwikWuAPffq6M5bysZxAQAgBAAXoqE7\n"
1261 "taqwLDXLZrZukpF1eBkCwYQK9uzctHTuMdqOHChguvkfX7V4H3O76Ayqvz+Z1ut1\n"
1262 "KYRdgiArn3viRaBv3ZKT4Z75suMI3bjqGOSGLAKfOa0uLkOmKblHHhSUkwQ=\n"
1263 "-----END ED25519 CERT-----\n"
1265 "-----BEGIN RSA PUBLIC KEY-----\n"
1266 "MIGJAoGBAOLNugzUezzzw+N1SuQWzILJYkUJyQDoVXSZjT0dzBplHCjlrv0WZCUP\n"
1267 "/pbonE7SlCChIovHcdiASaLj7MVaGgYDq3M1Vtgt5vhgGl10/+evBAD1QEt8AVfr\n"
1268 "5+PH/sbZvOWucAhNUhOlqFKAn4vdRY39VEEXC5/Jz5fsk1E/DBu5AgMBAAE=\n"
1269 "-----END RSA PUBLIC KEY-----\n"
1271 "-----BEGIN RSA PUBLIC KEY-----\n"
1272 "MIGJAoGBAKxzg1hsYMS+0zAIrgYxSGO0GbKRrL/VhdlMEGu7ACaoqlGnmGQS3B4B\n"
1273 "gLk8xDdx9N//8+YTx0hUIxP38w08lubPl1WXMq8s7wAiFd06Nklf65mHs0sXVtS1\n"
1274 "EG3f97PQqmBpEJOwYBATNcA9e6F62P8SXNkpSjOzNaE0h9wHNKk7AgMBAAE=\n"
1275 "-----END RSA PUBLIC KEY-----\n"
1276 "ntor-onion-key msdr3O4W4bm/xdmZLzj35363ZSFex8yQxLWsV3wRCAQ=\n"
1277 "ntor-onion-key-crosscert 1\n"
1278 "-----BEGIN ED25519 CERT-----\n"
1279 "VQoABx54AU3MlHAEtgPdAyWJzRBnh4brXbCR9JFLjLM40hsBMoscAJ8cHMIc71+p\n"
1280 "Qa+lg5JiYb551mLgtPWLy12xdhog7SXiJl3NvnMgbMZXHDqkU2YZCidnVz+xqMdh\n"
1282 "-----END ED25519 CERT-----\n"
1283 "onion-key-crosscert\n"
1284 "-----BEGIN CROSSCERT-----\n"
1285 "RJJRiU0vjVtRi3bVZru3aTvV5l56X/WOOp/ii316yPAS3aAMpOm1+piFVR5MNqcB\n"
1286 "ZGyrA2Kx0hawdL2buU47iZ12GOCi4f1Es4V4N0TQgJICsKX38DsRdct9c1qMcqpp\n"
1287 "1aENSRuaw0szTIr9OgR7/8stqR5c3iF1H5fOhmTi6xM=\n"
1288 "-----END CROSSCERT-----\n"
1289 "published 2014-10-05 12:00:00\n"
1290 "bandwidth 1000 1000 1000\n"
1292 "router-sig-ed25519 4DSdPePrToNx3WQ+4GfFelB8IyHu5Z9vTbbLZ02vfYEsCF9QeaeHbYagY/yjdt+9e71jmfM+W5MfRQd8FJ1+Dgxx\n"
1293 "router-signature\n"
1294 "-----BEGIN SIGNATURE-----\n"
1295 "F3ZqvsyL6RRhPEnNFFIZY4WJM7LK082rseWzRkGNXjwoEwOWUK8enQ4Wjit+wozW\n"
1296 "4HVIY1F+vP7gm6IiOEAFgEpB4C8FGuyoFw2q0ONA2tqTcvBJDDnqbx08FO7v2Dij\n"
1297 "d3ucfc5gf7YNaoFCMMuyAzC56eyNk4U+6cSKy6wnJds=\n"
1298 "-----END SIGNATURE-----\n"
1301 static const char EX_RI_ED_MISPLACED1[] =
1302 "router fred 127.0.0.1 9001 0 9002\n"
1304 "-----BEGIN RSA PUBLIC KEY-----\n"
1305 "MIGJAoGBAKT6OIN6TsDB+xcp1uLeE0K3aiHGqa7hdxMBGpvcD0UFSyzpVv1A/fJa\n"
1306 "tClDCwTpfTGbyK2L7AO75Ci0c7jf6Pq+V7L6R7o12g6WBTMrgsceC4YqXSKpXNhi\n"
1307 "oudJyPfVzBfKcJUSynv89FUQOyul/WRRqWTfv0xUsJ3yjuOESfCNAgMBAAE=\n"
1308 "-----END RSA PUBLIC KEY-----\n"
1309 "identity-ed25519\n"
1310 "-----BEGIN ED25519 CERT-----\n"
1311 "AQQABf55AbBV9NVz0Hdl0Uiv87LiXaTAoeSXE+bheNG4Dju1GzQHAQAgBAD16h+T\n"
1312 "ygzSgPN4Qat5ITthvm+lvMwMVGbVNWMxNy9i33NGhgp8kqMp2iPAY+LhX8It2b+X\n"
1313 "8H9cBmYLO5G7AlMPj7GsuWdCdP/M/ldMvFfznlqeE3pCpRas6W48CFJ+9Ao=\n"
1314 "-----END ED25519 CERT-----\n"
1316 "-----BEGIN RSA PUBLIC KEY-----\n"
1317 "MIGJAoGBANMO/MepK3uCkKTLRCwIWc/8URVza2gEmDx6mDTJIB/Mw8U8VRDuu4iJ\n"
1318 "v+LL3D8/HGLvT9a8OXbl5525Zszt8XueF3uePBF0Qp0fjGBL8GFqmrmFe6plurPJ\n"
1319 "TfrS/m3q+KhXAUowmghciVGDY0kMiDG9X/t/zKLMKWVDYRZk+fupAgMBAAE=\n"
1320 "-----END RSA PUBLIC KEY-----\n"
1321 "ntor-onion-key I8yDO62Flx5O/QsFvgb2ArIRqwJLWetHMeZdxngRl2A=\n"
1322 "ntor-onion-key-crosscert 1\n"
1323 "-----BEGIN ED25519 CERT-----\n"
1324 "AQoABf55AfXqH5PKDNKA83hBq3khO2G+b6W8zAxUZtU1YzE3L2LfAGC1uXxN2KwW\n"
1325 "w4PqRidM1UPZ5jVOHceZYNQcTzzzArfBpr9OraOO2up4TGte8GVqjJNxrZc1gfjn\n"
1327 "-----END ED25519 CERT-----\n"
1328 "onion-key-crosscert\n"
1329 "-----BEGIN CROSSCERT-----\n"
1330 "jLg3D3VO4i0sN8p2qtB6+5C3tai/K4M89mP7z2abQnUTbynOacPoNXIk4o64DjBJ\n"
1331 "kaR42yfA7yQZ8Rj8abwgz0Zz6zbd+JjE+s/EklrEEtOl+jZAl3i+92FaHROJojXq\n"
1332 "hw+ZEPOb9zgb1UQ7S1Fo+GoqA5bdGm/Wg1kSQielkNE=\n"
1333 "-----END CROSSCERT-----\n"
1334 "published 2014-10-05 12:00:00\n"
1335 "bandwidth 1000 1000 1000\n"
1337 "router-sig-ed25519 TRKvIl/wIIRD4Xcmd6HYmy7tD0KhVGgoStpWPtX0zmXGZ7+jugItrY0frDu9n82syiruuA45ZOs1Rfi4CbOSCg\n"
1338 "router-signature\n"
1339 "-----BEGIN SIGNATURE-----\n"
1340 "NYpRfurB1YhFmDAdRc2Sd77S7By2V/0kgEHpJhtySb7efiQsyOA4ZBr1zEFPAXdp\n"
1341 "TviKzyS9kN2fnz3hORoqFul33BDZbiLMNLtt5tzp62TYtmIg9IZdjjczbJUgbVLt\n"
1342 "KCJL0vM7fdbXkZX61GIBbMYwzwIiHvVxG7F/AS5RbtE=\n"
1343 "-----END SIGNATURE-----\n"
1346 static const char EX_RI_ED_MISPLACED2[] =
1347 "router fred 127.0.0.1 9001 0 9002\n"
1348 "identity-ed25519\n"
1349 "-----BEGIN ED25519 CERT-----\n"
1350 "AQQABf55AfJo9FIePrxeDNnWT6SWkoz0/L27018XjUNWEHfaR06MAQAgBAAMgolK\n"
1351 "nLg3ZnVv0skzHCfmX+ZR9Ttwj7FNXfhXCsyr860S79OW5LD0/m1GcS9JflWhP+FO\n"
1352 "ng5cRb+aqNc8Ul+/4sQudZRx8w4U3d5rOuMGCqhQXnktH9AFzQHFq0jpAAU=\n"
1353 "-----END ED25519 CERT-----\n"
1355 "-----BEGIN RSA PUBLIC KEY-----\n"
1356 "MIGJAoGBAPeK/znKLRvSUmCIUiZOgfhiRFt7XGN//C2GFuey4xkKiIr9LWMuVe9m\n"
1357 "Wx39Ea2UGEtNGCEVvZdJMDVRl7heFTfJTN4L1YeyWx6iNRWlpAmgQOKII7slHwlq\n"
1358 "seEULOLOXc9AsU/v9ba9G54DFbHfe2k44ZOwEmaQZW5VF/I0YMMdAgMBAAE=\n"
1359 "-----END RSA PUBLIC KEY-----\n"
1361 "-----BEGIN RSA PUBLIC KEY-----\n"
1362 "MIGJAoGBAKFRzlrqPPxEW0nboAJ1qzKFb/vFtvRW0xNVb8RtbOY/NY5FV1hS8yfH\n"
1363 "igtugkrOBmWah7cmJhiON2j+TKeBxEoXwJMZeyV+HLbr7nY/mFhad4BQ3Frkl8d6\n"
1364 "1kQMhOJswMdwnnVHPNGUob4YAX0SpFA6MpBVj92zmMBeaihqUS9VAgMBAAE=\n"
1365 "-----END RSA PUBLIC KEY-----\n"
1366 "ntor-onion-key br8svioLcJCAQxoo3KvlT288p8rb4lQIZNLlplkIKkw=\n"
1367 "ntor-onion-key-crosscert 0\n"
1368 "-----BEGIN ED25519 CERT-----\n"
1369 "AQoABf55AQyCiUqcuDdmdW/SyTMcJ+Zf5lH1O3CPsU1d+FcKzKvzAG9XqwmRm0uJ\n"
1370 "E49NoHcWr9IzdIwSGo+PJSkVpk95a5p2s065BetCWxEEBJQniajQf2hZ36zmV9rq\n"
1372 "-----END ED25519 CERT-----\n"
1373 "onion-key-crosscert\n"
1374 "-----BEGIN CROSSCERT-----\n"
1375 "d6QGIVAJL5JjHUyV+aicLIdBYyxHwviKpPcp7uldRF8vfDGFpu0qFgJ5KT+3t36w\n"
1376 "QY1r75bvUMG/ZzGKDg95dcK0X2AK6GFlcrYyCoQEVOsuPc1QEUeK9P2s7viNQE4V\n"
1377 "tRwG/CvJhPfcnxErzVGfXIeYRL1r/hPNFDZSeSxPPM0=\n"
1378 "-----END CROSSCERT-----\n"
1379 "published 2014-10-05 12:00:00\n"
1380 "bandwidth 1000 1000 1000\n"
1381 "router-sig-ed25519 ts9pFk8PnDWtXgQad09XC/ZCbruSx1U1pNOMWF9fyoNG0CodxdDH9Vglg+BOS7Nd9fmsINfPWKCVdVuSSM7zCA\n"
1383 "router-signature\n"
1384 "-----BEGIN SIGNATURE-----\n"
1385 "YMl6mpQm7UCsPQhZKMm0aZ7fzGevWzRbQO+de20HTn7fVqMWQf2hBDJe9QTN/uDK\n"
1386 "/VKYT8SnIBexbrSMy1N5q8kNFKxxUtwA9GRtz620Vvc4m+lz/tnT9qucIKCDL5iJ\n"
1387 "eRpnls0JoAMIHKl99zdUioYubmOZuqUaRAdT8ulWy+Y=\n"
1388 "-----END SIGNATURE-----\n"
1391 static const char EX_RI_ED_BAD_CERT1[] =
1392 "router fred 127.0.0.1 9001 0 9002\n"
1393 "identity-ed25519\n"
1394 "-----BEGIN ED25519 CERT-----\n"
1395 "AQoABf55AYf+rX8a5rzdTBGPvLdQIP8XcElDDQnJIruGqfDTj+tjAP+3XOL2UTmn\n"
1396 "Hu39PbLZV+m9DIj/DvG38M0hP4MmHUjP/iZG5PaCX6/aMe+nQSNuTl0IDGpIo1l8\n"
1398 "-----END ED25519 CERT-----\n"
1400 "-----BEGIN RSA PUBLIC KEY-----\n"
1401 "MIGJAoGBAM4o2DrTwn3wrvUMm41S/hFL5ZtRHGRDh26o8htn14AKMC65vpygKFY7\n"
1402 "fUQVClAiJthAs5fD/8sE5XDtQrLnFv5OegQx8kSPuwyS/+5pI1bdxRJvKMOUl2Tc\n"
1403 "fAUhzeNBmPvW3lMi9Fksw5sCSAKQ5VH/+DlYvBGZIO49pTnOAty1AgMBAAE=\n"
1404 "-----END RSA PUBLIC KEY-----\n"
1406 "-----BEGIN RSA PUBLIC KEY-----\n"
1407 "MIGJAoGBAMzIsJeEWWjN3Lp6qrzaJGn8uhJPJyjy2Wt3sp7z7iD/yBWW6Q7Jku3e\n"
1408 "C5QfKmSmNi2pNjS0SqPjqZZNsbcxpq/bEOcZdysZG1lqi/QgxUevk57RWjh3EFsG\n"
1409 "TwK3ougKWB5Q6/3m32dNsnnnDqzVapgZo7Zd3V/aCo0BVtL5VXZbAgMBAAE=\n"
1410 "-----END RSA PUBLIC KEY-----\n"
1411 "ntor-onion-key W28nwT/5FJ818M78y/5sNOkxhQ7ENBhjVhGG2j6KvFY=\n"
1412 "ntor-onion-key-crosscert 0\n"
1413 "-----BEGIN ED25519 CERT-----\n"
1414 "AQoABf55AYf+rX8a5rzdTBGPvLdQIP8XcElDDQnJIruGqfDTj+tjAP+3XOL2UTmn\n"
1415 "Hu39PbLZV+m9DIj/DvG38M0hP4MmHUjP/iZG5PaCX6/aMe+nQSNuTl0IDGpIo1l8\n"
1417 "-----END ED25519 CERT-----\n"
1418 "onion-key-crosscert\n"
1419 "-----BEGIN CROSSCERT-----\n"
1420 "FWnEjvFob0ObgqohMT7miwGsAuioCT7Urz6tyWaGWph/TP9hbFWj4MPK5mt998mn\n"
1421 "xA8zHSF5n/edu7wVX+rtnPrYPBmg+qN8+Pq6XMg64CwtWu+sqigsi6vtz/TfAIDL\n"
1422 "mypENmSY32sWPvy/CA8dAZ2ASh57EH9a+WcFModpXkM=\n"
1423 "-----END CROSSCERT-----\n"
1424 "published 2014-10-05 12:00:00\n"
1425 "bandwidth 1000 1000 1000\n"
1427 "router-sig-ed25519 88YqJdGJS4O6XiUCNrc9xbOHxujvcN/TkCoRuQQeKfZGHM+4IhI6AcXFlPIfDYq0SAavMhVmzsDDw0ROl7vyCQ\n"
1428 "router-signature\n"
1429 "-----BEGIN SIGNATURE-----\n"
1430 "cU4WDO3w9ZfVRbNUgxOQMbwS2xWXvaL+cZmIV6AAjAZVWkLEpif4g6uYu+jJUZOS\n"
1431 "NUT7lNOMwTu4tE4b1YJpnD9T8iW0DlOXxlvRBMQYmKwhQuYk898BDGTSk+0AY0HJ\n"
1432 "vv8wRVewDajNhW7tFY907IdHvPXG0u83GANxkYrRyUg=\n"
1433 "-----END SIGNATURE-----\n"
1436 static const char EX_RI_ED_BAD_CERT2[] =
1437 "router fred 127.0.0.1 9001 0 9002\n"
1438 "identity-ed25519\n"
1439 "-----BEGIN WOBBLY RUTABAGA-----\n"
1441 "-----END WOBBLY RUTABAGA-----\n"
1443 "-----BEGIN RSA PUBLIC KEY-----\n"
1444 "MIGJAoGBANZvqyqFeiekh8ApqIGK4ZtOqjaX87EzDestvAWwamVOXiPoUrzXgM3O\n"
1445 "l8uuTnMA4TfnjLyyA2TnaMzJylOI1OMHuW/D9B/liWDstSxWNNIlKgLQ/Dh9xBS7\n"
1446 "uQb2PYlI+iMkPKPyJQSTDdGHE7cdFPewUfhRtJU3F5ztm/3FLBFvAgMBAAE=\n"
1447 "-----END RSA PUBLIC KEY-----\n"
1449 "-----BEGIN RSA PUBLIC KEY-----\n"
1450 "MIGJAoGBANZl8U/Z8KCPS7EBDzt8i9kNETXS7vnp9gnw3BQNXfjiDtDg9eO7ChxY\n"
1451 "NBwuOTXmRxfX3W9kvZ0op9Hno6hixIhHzDql+vZ+hN7yPanVVDglSUXcr31yBm5K\n"
1452 "kA+ZnRvH3oVQ97E4rRzpi09dtI13Pzu7JS5jRMtH+JF1kQBoNC0dAgMBAAE=\n"
1453 "-----END RSA PUBLIC KEY-----\n"
1454 "ntor-onion-key lUrEL+TVXpjjHQ2BIKk34vblyDmoyMro1a6/9hJ4VRc=\n"
1455 "ntor-onion-key-crosscert 0\n"
1456 "-----BEGIN ED25519 CERT-----\n"
1457 "AQoABf55Abm5E7FBdd3F8N1xuz/vdv03zh2lABrmGjzPQ3AFJtntALNeQTgjv0JL\n"
1458 "jON4+SPNi0B2Bva3yKaSsdxiHQ1rIwQqIUVkzXmmX4jmsvJK/9gERAdD7GafTKZQ\n"
1460 "-----END ED25519 CERT-----\n"
1461 "onion-key-crosscert\n"
1462 "-----BEGIN CROSSCERT-----\n"
1463 "OxkqFsw1vHUQ9iPYcKC/MHUBtbLPK6JY2i81ccAai2eW118UXcTbeCRccrXyqSkl\n"
1464 "RLcooZyli1D6wg9x7O8+2+HXIbUa6WcTOD1Qi7Z9wKZfk4sDUy7QHKENMRfAXwX3\n"
1465 "U/gqd4BflMPp4+XrYfPzz+6yQPWp0t9wXbFv5hZ9F3k=\n"
1466 "-----END CROSSCERT-----\n"
1467 "published 2014-10-05 12:00:00\n"
1468 "bandwidth 1000 1000 1000\n"
1470 "router-sig-ed25519 fW6Bt4R3xVk5KMDyOcYg8n5ANP0OrQq2PQFK2cW0lTAdi+eX+oT/BeWnkrn0uSWOC/t4omCmH4Rdl8M9xtpfBA\n"
1471 "router-signature\n"
1472 "-----BEGIN SIGNATURE-----\n"
1473 "DHxiQXuLxZR0ylqwUGGePgN4KF4ItlOV/DuGmmszCO/Ut0p+5s4FP2v6Mm9M92Wj\n"
1474 "75rS9xF/Ts0Kf49dvgc+c5VTvhX5I5SwGQkRk0RNJtNoP0t+qXBHaFV8BlAeaWF6\n"
1475 "Lg3O+GUK325fQv9uDPCe37mFQV9jafAzsZUrO/ggb1U=\n"
1476 "-----END SIGNATURE-----\n"
1479 static const char EX_RI_ED_BAD_CERT3[] =
1480 "router fred 127.0.0.1 9001 0 9002\n"
1481 "identity-ed25519\n"
1482 "-----BEGIN ED25519 CERT-----\n"
1483 "BVVVnf55AW5TTGF9jCMl7aALZzqypD9Bj8WYnAPIrKCoIJdgMbY0AQAgBAB7eCn8\n"
1484 "rukx7t/egZUdqU7+FYqsnO4wdmOkLZkp0+gpF3jjk6N1Q0037NNVNZBjONB0Nm2F\n"
1485 "CpB3nWSJliSSKr5tOYsuBPFy5VVGYeKPakpOoxanQ1UcqevMBAQy0zf9hwA=\n"
1486 "-----END ED25519 CERT-----\n"
1488 "-----BEGIN RSA PUBLIC KEY-----\n"
1489 "MIGJAoGBAPgeQNbKwpnTU+qW/2djh66hptS9rcy1B4vdyWkDTdREao2ECuCv691Y\n"
1490 "oIw3MpTWvpC1qHIKorunusR0FKgwXw3xQTikXbDq/1ptsekzoIA1R/hltQV3UuGH\n"
1491 "zdzHuQXAMX7Fdll2gyya03c3Yq5s+xSDvGdkEeaIoctKjwxp4SdNAgMBAAE=\n"
1492 "-----END RSA PUBLIC KEY-----\n"
1494 "-----BEGIN RSA PUBLIC KEY-----\n"
1495 "MIGJAoGBAOzWuH4cPW9rIrfi8MrruMUg4IUVHz4BxfY4/szMIUvzeEAdHn4FYkWy\n"
1496 "Vt7MDtUELZsmZeFNmkn72kLxnrdZ5XhxZBriq1Fzq11cSWRBF+SyE1MdcouY4GyG\n"
1497 "drw6T8xb8ty19q0eO6C/gw27iqXPAp1clvkroLg6Nv9lGZvsedVDAgMBAAE=\n"
1498 "-----END RSA PUBLIC KEY-----\n"
1499 "ntor-onion-key /vYZ+9yLqG7yUnutoI57s96JBl36GTz0IDWE244rbzE=\n"
1500 "ntor-onion-key-crosscert 0\n"
1501 "-----BEGIN ED25519 CERT-----\n"
1502 "AQoABf55AZ4zVBWP/fIYEgWmyj0WpO6CkXRJjtrWXtiT02k3IddiAMpYgMemGIpN\n"
1503 "xj7TQRULsHHYvo4fLcKrSgndQbUUhfLTUuVhIzbnE2TBLMVOEkpxKU6mTuvTT/3h\n"
1505 "-----END ED25519 CERT-----\n"
1506 "onion-key-crosscert\n"
1507 "-----BEGIN CROSSCERT-----\n"
1508 "c/Vqu3wtsTsYMdnhTS9Tn1Pq6jDmH4uRD5WmbaCKKrkin2DjuYSMVpypndkdlZDE\n"
1509 "He7uF7SUO3QG/UcRIXYOsg9MSLUmvn2kIwef8ykyqlRh95Csjo5DyattUhL2w4QF\n"
1510 "tJkJBQAnXWaAVW1O8XimGCAvJ84cxbmZEcpN6WKjrXI=\n"
1511 "-----END CROSSCERT-----\n"
1512 "published 2014-10-05 12:00:00\n"
1513 "bandwidth 1000 1000 1000\n"
1515 "router-sig-ed25519 Ue7bkPpOoc8ca7cyQj/Vq3BP5X4vwLA5QmpLGw/WfRNVRPojJRxU3RVqWMi3JbsJFRTe6pH6ZHyXER33G5aAAA\n"
1516 "router-signature\n"
1517 "-----BEGIN SIGNATURE-----\n"
1518 "ifKUtbxmqHVs8A0oT5n7Te0c6D/XqWQTc0RxX9OKGspzh6wNX26h0Xa2vpK1Q9Zu\n"
1519 "sj61I7vbHuZN6rxiWs9IzJgb//XaNJasX1pd9tbGSXW+yYzc9G9kaa7vp3HcnhIP\n"
1520 "XVWzzS8WmOiVNGcF65j6f7yGloTgN7cHMptgJG7pWes=\n"
1521 "-----END SIGNATURE-----\n"
1524 static const char EX_RI_BAD_EI_DIGEST2[] =
1525 "router fred 127.0.0.1 9001 0 9002\n"
1526 "identity-ed25519\n"
1527 "-----BEGIN ED25519 CERT-----\n"
1528 "AQQABf55ATrK8IVBWLO2yXKCqXLXJOTu89W2b+hREPO+tCrxjVqWAQAgBACG/vVx\n"
1529 "NK8wKVZvf34d75ZObSR0ge1N2RrAIKNslNXBq/tcllIrNE4S0ZNcMpA+hxXoVFeo\n"
1530 "jbxifYX7nTs5N3GrGPmkiuo82v2X6ZwoIXJGFnvWMxCjsYsUVDDxoT6h/w8=\n"
1531 "-----END ED25519 CERT-----\n"
1532 "extra-info-digest E5FAC29E766D63F96AD175069640E803F2723765 99oo\n"
1534 "-----BEGIN RSA PUBLIC KEY-----\n"
1535 "MIGJAoGBAK9wHSdRalxkuAybrSCA3dlEC1ZGc7oHOzXRGLg+z6batuiCdQtus1Rk\n"
1536 "LP821eZJtEMAE56aewCIHDcTiCxVa6DMqmxRjm5pfW4G5H5QCPYT6Fu0RoYck3Ef\n"
1537 "vkgits5/fNYGPPVC7k8AdGax5dKj5oFVGq+JWolYFRv6tyR9AThvAgMBAAE=\n"
1538 "-----END RSA PUBLIC KEY-----\n"
1540 "-----BEGIN RSA PUBLIC KEY-----\n"
1541 "MIGJAoGBAKxjxTQ/T/MHpFbk7/zwA7l5b3IW3yVcyVe6eIGFoYun8FI0fbYRmR4M\n"
1542 "G5Asu07gP9Bbgt3AFPuEqrjg4u+lIkgqTcCgKWJbAgm7fslwaDTXQ36A7I1M95PD\n"
1543 "GJ10Dk5v4dVbrqwoF7MSrQPFtMO91RP11nGPSvDqXZJ4XpwqwdxpAgMBAAE=\n"
1544 "-----END RSA PUBLIC KEY-----\n"
1545 "ntor-onion-key LuVmHxpj4F5mPXGNi4MtxbIbLMav6frJRBsRgAvpdzo=\n"
1546 "ntor-onion-key-crosscert 0\n"
1547 "-----BEGIN ED25519 CERT-----\n"
1548 "AQoABf55AYb+9XE0rzApVm9/fh3vlk5tJHSB7U3ZGsAgo2yU1cGrAKBcSzwi4lY/\n"
1549 "salCELOLdeZzOjDNnBd6cKp2WJg7Yz5zFlbVbyNk0iwfGmucHk8vQZe5BS0Oq/Pz\n"
1551 "-----END ED25519 CERT-----\n"
1552 "onion-key-crosscert\n"
1553 "-----BEGIN CROSSCERT-----\n"
1554 "QsAQVdDVHtasDbhrZG4ZxImdTTMY7fz3vouAiGyZx6/jCCB5v0gHwTn4xo6pgLEW\n"
1555 "LQfMhQZIr76Ky67c0hAN2hihuDlfvhfVe9c2c5UOH1BOhq3llE3Hc3xGyEy3rw7r\n"
1556 "5y38YGi759CvsP2/L8JfXMuBg89OcgJYFa27Q6e6MdQ=\n"
1557 "-----END CROSSCERT-----\n"
1558 "published 2014-10-05 12:00:00\n"
1559 "bandwidth 1000 1000 1000\n"
1561 "router-sig-ed25519 5zoQ0dufeeOJ/tE/BgcWgM8JpfW1ELSXLz4dI+K8YRH/gUtaPmYJgU2QfeUHD0oy1iwv4Qvl8Ferga7aBk1+DA\n"
1562 "router-signature\n"
1563 "-----BEGIN SIGNATURE-----\n"
1564 "D6KRMwkb6JmVEnpZ825SD3LMB84UmVy0i94xk44OwhoWNKLXhaSTWJgf6AqnPG5o\n"
1565 "QrCypSb44bYLn+VaDN5LVUl36jeZqCT4xd+4ZwIRdPOUj7vcVmyUDg3lXcAIk97Q\n"
1566 "E5PrQY1mQuLSIjjKInAR2NRBumNJtRw31Y/DTB7tODU=\n"
1567 "-----END SIGNATURE-----\n"