Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Commit

Permalink
Merge pull request #243 from brave/update-ledger-bridge
Browse files Browse the repository at this point in the history
Update to use Ledger Bridge with chrome.hid
  • Loading branch information
bbondy authored Jun 9, 2021
2 parents 1135a2e + 75ac539 commit fc6056f
Show file tree
Hide file tree
Showing 4 changed files with 580 additions and 39 deletions.
42 changes: 41 additions & 1 deletion app/manifest/_base.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,47 @@
"activeTab",
"webRequest",
"*://*.eth/",
"notifications"
"notifications",
"hid",
"usb",
{
"usbDevices": [
{
"vendorId": 11415,
"productId": 0
}, {
"vendorId": 11415,
"productId": 16
}, {
"vendorId": 11415,
"productId": 64
}, {
"vendorId": 11415,
"productId": 1
}, {
"vendorId": 11415,
"productId": 4
}, {
"vendorId": 11415,
"productId": 4113
}, {
"vendorId": 11415,
"productId": 4101
}, {
"vendorId": 11415,
"productId": 4117
}, {
"vendorId": 11415,
"productId": 16405
}, {
"vendorId": 11415,
"productId": 16389
}, {
"vendorId": 11415,
"productId": 21441
}
]
}
],
"web_accessible_resources": [
"inpage.js",
Expand Down
8 changes: 7 additions & 1 deletion app/scripts/audit.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@ const { execSync } = require('child_process')

// Ping security team before adding to ignoredAdvisories
const ignoredAdvisories = [
1693, // Regular Expression Denial of Service
1693, // postcss: Regular Expression Denial of Service
1751, // glob-parent: Regular expression denial of service
1755, // normalize-url: Regular Expression Denial of Service
1754, // css-what: Denial of Service
1753, // trim-newlines: Regular Expression Denial of Service
1748, // ws: Regular Expression Denial of Service
1747, // browserslist: Regular Expression Denial of Service
]

const prettyPrint = (advisories) => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"@material-ui/core": "^4.11.0",
"@metamask/contract-metadata": "^1.25.0",
"@metamask/controllers": "^2.0.5",
"@metamask/eth-ledger-bridge-keyring": "^0.2.6",
"@metamask/eth-ledger-bridge-keyring": "github:brave/eth-ledger-bridge-keyring#6db82c15435f9ae47dadbc1fc19586552a7044eb",
"@metamask/etherscan-link": "^1.1.0",
"@metamask/inpage-provider": "^6.1.0",
"@popperjs/core": "^2.4.0",
Expand Down
Loading

0 comments on commit fc6056f

Please sign in to comment.