Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 scenario Mapping2
7 entity Root
8 type Root
10 entity CA1
11 type Intermediate
12 issuer Root
13 policy OID.1.0
15 entity CA2
16 type Intermediate
17 issuer CA1
18 policy OID.1.0
19 mapping OID.1.0:OID.1.1
21 entity CA3
22 type Intermediate
23 issuer CA2
24 policy OID.1.1
26 entity User
27 type EE
28 issuer CA3
29 policy OID.1.1
31 db All
33 import Root::
34 import CA1:Root:
35 import CA2:CA1:
36 import CA3:CA2:
38 verify User:CA3
39 trust Root
40 policy OID.1.0
41 # should fail, bug 430859
42 result pass
44 verify User:CA3
45 trust Root
46 policy OID.1.1
47 # should pass, bug 430859
48 result fail
50 verify User:CA3
51 trust CA1
52 policy OID.1.0
53 # should fail, bug 430859
54 result pass
56 verify User:CA3
57 trust CA1
58 policy OID.1.1
59 # should pass, bug 430859
60 result fail
62 verify User:CA3
63 trust CA2
64 policy OID.1.0
65 result fail
67 verify User:CA3
68 trust CA2
69 policy OID.1.1
70 result pass