-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Copy path.htaccess
122 lines (82 loc) · 6.77 KB
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
Header set Access-Control-Allow-Origin *
Header set Access-Control-Allow-Headers DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified$
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^$ https://w3c.github.io/vc-data-integrity/vocab/security/vocabulary.html [R=302,L]
RewriteRule ^v1$ https://w3c-ccg.github.io/security-vocab/contexts/security-v1.jsonld [R=302,L]
RewriteRule ^v2$ https://w3c-ccg.github.io/security-vocab/contexts/security-v2.jsonld [R=302,L]
# TODO: make v3 "stable"
RewriteRule ^v3-unstable$ https://w3c-ccg.github.io/security-vocab/contexts/security-v3-unstable.jsonld [R=302,L]
# https://w3id.org/security/data-integrity
RewriteRule ^data-integrity$ https://www.w3.org/TR/vc-data-integrity/ [R=302,L]
RewriteRule ^data-integrity/v1$ https://w3c.github.io/vc-data-integrity/contexts/data-integrity/v1.jsonld [R=302,L]
RewriteRule ^data-integrity/v2$ https://w3c.github.io/vc-data-integrity/contexts/data-integrity/v2.jsonld [R=302,L]
# https://w3id.org/security/multikey
RewriteRule ^multikey$ https:/w3id.org/security/ [R=302,L]
RewriteRule ^multikey/v1$ https://w3c.github.io/vc-data-integrity/contexts/multikey/v1.jsonld [R=302,L]
# https://w3id.org/security/jwk
RewriteRule ^jwk$ https:/w3id.org/security/ [R=302,L]
RewriteRule ^jwk/v1$ https://w3c.github.io/vc-data-integrity/contexts/jwk/v1.jsonld [R=302,L]
# https://w3id.org/security/suites
# TODO: update registry to reflect this file.
RewriteRule ^suites$ https://w3c.github.io/vc-specs-dir/ [R=302,L]
RewriteRule ^suites/ed25519-2018$ https://digitalbazaar.github.io/ed25519-signature-2018-context [R=302,L]
RewriteRule ^suites/ed25519-2018/v1$ https://digitalbazaar.github.io/ed25519-signature-2018-context/contexts/ed25519-signature-2018-v1.jsonld [R=302,L]
RewriteRule ^suites/ed25519-2020$ https://digitalbazaar.github.io/ed25519-signature-2020-context [R=302,L]
RewriteRule ^suites/ed25519-2020/v1$ https://digitalbazaar.github.io/ed25519-signature-2020-context/contexts/ed25519-signature-2020-v1.jsonld [R=302,L]
RewriteRule ^suites/x25519-2020$ https://digitalbazaar.github.io/x25519-key-agreement-2020-context [R=302,L]
RewriteRule ^suites/x25519-2020/v1$ https://digitalbazaar.github.io/x25519-key-agreement-2020-context/contexts/x25519-key-agreement-2020-v1.jsonld [R=302,L]
RewriteRule ^suites/aes-2019$ https://digitalbazaar.github.io/aes-key-wrapping-2019-context [R=302,L]
RewriteRule ^suites/aes-2019/v1$ https://digitalbazaar.github.io/aes-key-wrapping-2019-context/contexts/aes-key-wrapping-2019-v1.jsonld [R=302,L]
RewriteRule ^suites/hmac-2019$ https://digitalbazaar.github.io/sha256-hmac-key-2019-context [R=302,L]
RewriteRule ^suites/hmac-2019/v1$ https://digitalbazaar.github.io/sha256-hmac-key-2019-context/contexts/sha256-hmac-2019-v1.jsonld [R=302,L]
# http://w3id.org/security/suites/merkle-disclosure-2021
RewriteRule ^suites/merkle-disclosure-2021$ https://w3c-ccg.github.io/Merkle-Disclosure-2021/ [R=302,L]
RewriteRule ^suites/merkle-disclosure-2021/v1$ https://w3c-ccg.github.io/Merkle-Disclosure-2021/contexts/v1 [R=302,L]
# http://w3id.org/security/suites/multikey-2021
RewriteRule ^suites/multikey-2021$ https://ns.did.ai/suites/multikey-2021 [R=302,L]
RewriteRule ^suites/multikey-2021/v1$ https://ns.did.ai/suites/multikey-2021/v1 [R=302,L]
# http://w3id.org/security/suites/secp256k1recovery-2020
RewriteRule ^suites/secp256k1recovery-2020$ https://identity.foundation/EcdsaSecp256k1RecoverySignature2020/ [R=302,L]
RewriteRule ^suites/secp256k1recovery-2020/v1$ https://identity.foundation/EcdsaSecp256k1RecoverySignature2020/lds-ecdsa-secp256k1-recovery2020-0.0.jsonld [R=302,L]
RewriteRule ^suites/secp256k1recovery-2020/v2$ https://identity.foundation/EcdsaSecp256k1RecoverySignature2020/lds-ecdsa-secp256k1-recovery2020-2.0.jsonld [R=302,L]
# http://w3id.org/security/suites/pgp-2021
RewriteRule ^suites/pgp-2021$ https://or13.github.io/lds-pgp2021 [R=302,L]
RewriteRule ^suites/pgp-2021/v1$ https://ns.did.ai/suites/pgp-2021/v1 [R=302,L]
# http://w3id.org/security/suites/blockchain-2021
RewriteRule ^suites/blockchain-2021$ https://or13.github.io/lds-blockchain2021/ [R=302,L]
RewriteRule ^suites/blockchain-2021/v1$ https://or13.github.io/lds-blockchain2021/contexts/blockchain-v1.jsonld [R=302,L]
# http://w3id.org/security/suites/jws-2020
RewriteRule ^suites/jws-2020$ https://w3c.github.io/vc-jws-2020/ [R=302,L]
RewriteRule ^suites/jws-2020/v1$ https://w3c.github.io/vc-jws-2020/contexts/v1/ [R=302,L]
# http://w3id.org/security/suites/bls12381-2020
RewriteRule ^suites/bls12381-2020$ https://w3c.github.io/vc-di-bbs/ [R=302,L]
RewriteRule ^suites/bls12381-2020/v1$ https://w3c.github.io/vc-di-bbs/contexts/v1 [R=302,L]
# http://w3id.org/security/suites/eip712sig-2021
RewriteRule ^suites/eip712sig-2021$ https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec [R=302,L]
RewriteRule ^suites/eip712sig-2021/v1$ https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/contexts/v1 [R=302,L]
# http://w3id.org/security/suites/secp256k1-2020
RewriteRule ^suites/secp256k1-2020$ https://ns.did.ai/suites/secp256k1-2020 [R=302,L]
RewriteRule ^suites/secp256k1-2020/v1$ https://ns.did.ai/suites/secp256k1-2020/v1 [R=302,L]
# http://w3id.org/security/suites/secp256k1-2019
RewriteRule ^suites/secp256k1-2019$ https://ns.did.ai/suites/secp256k1-2019 [R=302,L]
RewriteRule ^suites/secp256k1-2019/v1$ https://ns.did.ai/suites/secp256k1-2019/v1 [R=302,L]
# http://w3id.org/security/suites/x25519-2019
RewriteRule ^suites/x25519-2019$ https://ns.did.ai/suites/x25519-2019 [R=302,L]
RewriteRule ^suites/x25519-2019/v1$ https://ns.did.ai/suites/x25519-2019/v1 [R=302,L]
# http://w3id.org/security/suites/merkle-2019
RewriteRule ^suites/merkle-2019$ https://www.blockcerts.org/schema/3.1/merkleProof2019Context.json [R=302,L]
RewriteRule ^suites/merkle-2019/v1$ https://www.blockcerts.org/schema/3.1/merkleProof2019Context.json [R=302,L]
# http://w3id.org/security/suites/chained-2021
RewriteRule ^suites/chained-2021$ https://www.blockcerts.org/schema/3.1/chainedProof2021Context.json [R=302,L]
RewriteRule ^suites/chained-2021/v1$ https://www.blockcerts.org/schema/3.1/chainedProof2021Context.json [R=302,L]
# 🚧 DEPRECATED as of 04/29/2021 🚧
# The content of these contexts is available under /suites above.
RewriteRule ^jws$ https://w3c-ccg.github.io/lds-jws2020/ [R=302,L]
RewriteRule ^jws/v1$ https://w3c-ccg.github.io/lds-jws2020/contexts/v1/ [R=302,L]
RewriteRule ^pgp$ https://or13.github.io/lds-pgp2021/ [R=302,L]
RewriteRule ^pgp/v1$ https://or13.github.io/lds-pgp2021/contexts/pgp-v1.jsonld [R=302,L]
RewriteRule ^bbs$ https://github.com/w3c/vc-di-bbs/ [R=302,L]
RewriteRule ^bbs/v1$ https://w3c.github.io/vc-di-bbs/contexts/v1/ [R=302,L]
RewriteRule ^blockchain$ https://or13.github.io/lds-blockchain2021/ [R=302,L]
RewriteRule ^blockchain/v1$ https://or13.github.io/lds-blockchain2021/contexts/blockchain-v1.jsonld [R=302,L]