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 Revocation
7 entity Root
8 type Root
9 serial 10
11 entity CA0
12 type Intermediate
13 issuer Root
14 serial 11
16 entity CA1
17 type Intermediate
18 issuer CA0
19 serial 12
21 entity EE11
22 type EE
23 issuer CA1
24 serial 13
26 entity EE12
27 type EE
28 issuer CA1
29 serial 14
31 entity CA2
32 type Intermediate
33 issuer CA0
34 serial 15
36 entity EE21
37 type EE
38 issuer CA2
39 serial 16
41 crl Root
42 crl CA0
43 crl CA1
44 crl CA2
46 revoke CA1
47 serial 14
49 revoke CA0
50 serial 15
52 db All
54 import Root::CTu,CTu,CTu
55 import CA0:Root:
56 import CA1:CA0:
57 import CA2:CA0:
59 # EE11 - not revoked
60 verify EE11:CA1
61 trust Root:
62 rev_type leaf
63 rev_mtype crl
64 result pass
66 # EE12 - revoked
67 verify EE12:CA1
68 trust Root:
69 rev_type leaf
70 rev_mtype crl
71 result fail
73 # EE11 - CA1 not revoked
74 verify EE11:CA1
75 trust Root:
76 rev_type chain
77 rev_mtype crl
78 result pass
80 # EE21 - CA2 revoked
81 verify EE21:CA2
82 trust Root:
83 rev_type chain
84 rev_mtype crl
85 result fail