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
|
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This features file defines permissions for extension APIs implemented
// under src/extensions.
// See extensions/common/features/* to understand this file, in particular
// feature.h, simple_feature.h, and base_feature_provider.h.
// To add a new whitelisted ID, SHA-1 it and force it to uppercase. In Bash:
//
// $ echo -n "aaaabbbbccccddddeeeeffffgggghhhh" | \
// sha1sum | tr '[:lower:]' '[:upper:]'
// 9A0417016F345C934A1A88F55CA17C05014EEEBA -
//
// Google employees: please update http://go/chrome-api-whitelist to map
// hashes back to ids.
// If you add a new platform_app permission please update the "stubs_app" test:
// chrome/test/data/extensions/api_test/stubs_app/manifest.json
{
"dns": [
{
"channel": "dev",
"extension_types": ["extension", "platform_app"]
},
{
"channel": "stable",
"extension_types": ["extension", "platform_app"],
"whitelist": [
"7AE714FFD394E073F0294CFA134C9F91DB5FBAA4", // CCD Development
"C7DA3A55C2355F994D3FDDAD120B426A0DF63843", // CCD Testing
"75E3CFFFC530582C583E4690EF97C70B9C8423B7" // CCD Release
]
}
],
// Note: runtime is not actually a permission, but some systems check these
// values to verify restrictions.
"runtime": {
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app", "platform_app"]
},
"socket": [
{
"channel": "stable",
"extension_types": ["platform_app"]
},
{
"channel": "stable",
"extension_types": ["extension"],
"whitelist": [
// The connectivity diagnostic utility is a component extension that is
// used to try to provide suggestions on how to fix connection issues.
// It should be the only non-app allowed to use the socket API.
"32A1BA997F8AB8DE29ED1BA94AAF00CF2A3FEFA7"
]
}
],
"storage": {
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app", "platform_app"],
"min_manifest_version": 2
},
"usb": [
{
"channel": "stable",
"extension_types": ["platform_app"]
},
{
"channel": "stable",
"extension_types": ["extension"],
"whitelist": [
"496B6890097EB6E19809ADEADD095A8721FBB2E0", // FIDO U2F APIs
"E24F1786D842E91E74C27929B0B3715A4689A473" // CryptoToken
]
}
],
"usbDevices": [
{
"channel": "stable",
"extension_types": ["platform_app"]
},
{
"channel": "stable",
"extension_types": ["extension"],
"whitelist": [
"496B6890097EB6E19809ADEADD095A8721FBB2E0", // FIDO U2F APIs
"E24F1786D842E91E74C27929B0B3715A4689A473" // CryptoToken
]
}
]
}
|