- Clone repository and install dependencies
Notice: use node version 8 because of outdated dependencies
git clone git@github.com:satoshilabs/password-manager.git
cd password-manager
npm install yarn -g
yarn install
-
Set Chrome/Chromium to Developer Mode
-
For setup Dropbox and Google Drive, you need to register and obtain own API keys.
- Dropbox API key is located in file
/source/background/classes/dropbox_mgmt.js
view on github - Google Drive needs to set OAuth.client_id in
/extension/manifest.json
view on github
- Dropbox API key is located in file
-
To make your dev version of extension accessible for Trezor Chrome Extension and Trezor Bridge you need to append key value into your extension manifest file. It will override dev extension id to same id as original Trezor Password manager. Remove this key before releasing to production and inform our support to add your new extension key into whitelist! Read about Manifest key
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAgRzyy+IKeaKZA6SIHgrDSinXRNcNq1tT/WeyX1K6gTnVc8KFRVHu5CLf0xN0eCfuz7JKy7U+XfNBzO2i0pkamma6kFMEpvX73WU3Lvmc+g6jg/VSZc9OOgCocT6I8FX92ad1Mj6qcDjVyCkpE2FPotUkuH0PwqQNzSQjPor+KhNPnOQIf5IqLvFEr7P4hUTgyiTUsOX6ROxk61EvP1Fi+Qllscgkm961q+/puw+9Z0Gr4eNIgfAK7DpYj0UJQsdlBP59PQqbW91mwPrKTr3FHmaHGOk+odLCOgchN8MmXgLpqoar1Rxo/AXs5BdnyCprlVHvtXRYbLlthQVzxYylNwIDAQAB",
-
Now run
gulp serve
and load unpacked extension from/extension/
- For production run
gulp production
- For production run
-
Have fun!
Always check version number and manifest keys in manifest.json file before build!
make modules
make build
make release
Trezor LICENSE view on github