Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

trezor/trezor-password-manager

Repository files navigation

Trezor Password Manager

Overview

Development setup

  1. 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
  1. Set Chrome/Chromium to Developer Mode

  2. 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
  3. 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",
    
  4. Now run gulp serve and load unpacked extension from /extension/

    • For production run gulp production
  5. Have fun!

Build & release

Always check version number and manifest keys in manifest.json file before build!

make modules
make build
make release

License

Trezor LICENSE view on github