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.
michael@0 | 1 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 4 | |
michael@0 | 5 | scenario CRLDP |
michael@0 | 6 | |
michael@0 | 7 | entity Root |
michael@0 | 8 | type Root |
michael@0 | 9 | |
michael@0 | 10 | entity CA0 |
michael@0 | 11 | type Intermediate |
michael@0 | 12 | issuer Root |
michael@0 | 13 | |
michael@0 | 14 | entity CA1 |
michael@0 | 15 | type Intermediate |
michael@0 | 16 | crldp CA0 |
michael@0 | 17 | issuer CA0 |
michael@0 | 18 | serial 10 |
michael@0 | 19 | aia CA0:Root |
michael@0 | 20 | |
michael@0 | 21 | entity EE11 |
michael@0 | 22 | type EE |
michael@0 | 23 | crldp CA0 |
michael@0 | 24 | issuer CA1 |
michael@0 | 25 | |
michael@0 | 26 | entity CA2 |
michael@0 | 27 | type Intermediate |
michael@0 | 28 | crldp CA0 |
michael@0 | 29 | issuer CA0 |
michael@0 | 30 | serial 20 |
michael@0 | 31 | aia CA0:Root |
michael@0 | 32 | |
michael@0 | 33 | entity EE21 |
michael@0 | 34 | type EE |
michael@0 | 35 | issuer CA2 |
michael@0 | 36 | |
michael@0 | 37 | entity EE1 |
michael@0 | 38 | type EE |
michael@0 | 39 | crldp CA0 |
michael@0 | 40 | issuer CA0 |
michael@0 | 41 | serial 30 |
michael@0 | 42 | aia CA0:Root |
michael@0 | 43 | |
michael@0 | 44 | entity EE2 |
michael@0 | 45 | type EE |
michael@0 | 46 | crldp CA0 |
michael@0 | 47 | issuer CA0 |
michael@0 | 48 | serial 40 |
michael@0 | 49 | aia CA0:Root |
michael@0 | 50 | |
michael@0 | 51 | crl Root |
michael@0 | 52 | crl CA0 |
michael@0 | 53 | crl CA1 |
michael@0 | 54 | crl CA2 |
michael@0 | 55 | |
michael@0 | 56 | revoke CA0 |
michael@0 | 57 | serial 20 |
michael@0 | 58 | |
michael@0 | 59 | revoke CA0 |
michael@0 | 60 | serial 40 |
michael@0 | 61 | |
michael@0 | 62 | copycrl CA0 |
michael@0 | 63 | |
michael@0 | 64 | db All |
michael@0 | 65 | |
michael@0 | 66 | import Root::CTu,CTu,CTu |
michael@0 | 67 | |
michael@0 | 68 | # intermediate CA - OK, EE - OK |
michael@0 | 69 | verify EE11:CA1 |
michael@0 | 70 | cert CA1:CA0 |
michael@0 | 71 | trust Root: |
michael@0 | 72 | fetch |
michael@0 | 73 | rev_type chain |
michael@0 | 74 | rev_flags requireFreshInfo |
michael@0 | 75 | rev_mtype crl |
michael@0 | 76 | result pass |
michael@0 | 77 | |
michael@0 | 78 | # intermediate CA - revoked, EE - OK |
michael@0 | 79 | verify EE21:CA2 |
michael@0 | 80 | cert CA2:CA0 |
michael@0 | 81 | trust Root: |
michael@0 | 82 | fetch |
michael@0 | 83 | rev_type chain |
michael@0 | 84 | rev_flags requireFreshInfo |
michael@0 | 85 | rev_mtype crl |
michael@0 | 86 | result fail |
michael@0 | 87 | |
michael@0 | 88 | # direct EE - OK |
michael@0 | 89 | verify EE1:CA0 |
michael@0 | 90 | trust Root: |
michael@0 | 91 | fetch |
michael@0 | 92 | rev_type leaf |
michael@0 | 93 | rev_flags requireFreshInfo |
michael@0 | 94 | rev_mtype crl |
michael@0 | 95 | result pass |
michael@0 | 96 | |
michael@0 | 97 | # direct EE - revoked |
michael@0 | 98 | verify EE2:CA0 |
michael@0 | 99 | trust Root: |
michael@0 | 100 | fetch |
michael@0 | 101 | rev_type leaf |
michael@0 | 102 | rev_flags requireFreshInfo |
michael@0 | 103 | rev_mtype crl |
michael@0 | 104 | result fail |
michael@0 | 105 |