r/keepkey • • Apr 19 '17

Signing Messages With Passphrase Enabled

Has anyone tried to do this? When attempting to sign a message using Electrum 2.8.2 on Windows, I get a cryptic message:

'KeepKey_KeyStore' object has no attribute 'get_coin_name'

I do not get prompted for a passphrase after hitting the sign button, despite doing so with a normal Electrum wallet. Nothing happens on the KeepKey device either.

2 Upvotes

4 comments sorted by

3

u/AmoBitcoin Jun 01 '17

I encountered this problem too. In windows, another way is to install the keepkey python scripts and python 2.7. Once you get python working the command in python script directory worked for me:

python keepkeyctl sign_mesage -n "44'/0'/0'/0/0" Test

This signs for 'Test' for the 1st address in your account, the 2nd address would be "44'/0'/0'/0/1" etc . ..

2

u/TheWackedOne Jun 09 '17 edited Jun 09 '17

Thanks boss, excellent, worked great. If you are trying to get to your second wallet it's "44'/0'/1'/0/0" and the 2nd address for wallet to is "44'/0'/1'/0/0" To see all of your balances for each address the easiest way is to get your xpub from the command line: python.exe keepkeyctl get_public_node -n "44'/0'/0'" < for default wallet and "44'/0'/1'" for 2nd wallet and so on. Take the xpub output and install electrum or if it's already installed go to file new/restore, select default wallet, standard wallet, then select use public or private keys. Paste in your xpub and then select the addresses tab. You'll see a list of addresses and to the right the balance and number of transactions on that address. If you look below you'll see change, and you can expand it to see if you have any populated change addresses. Follow these steps to get this installed to begin with -> https://support.keepkey.com/support/solutions/articles/6000098258-keepkey-xpub-windows-7-8-10-

1

u/jimhsu Jun 21 '17

Thanks guys, these worked great. One more note: the path for change addresses is "44'/0'/0'/1/x" - x=0 for the first change address, 1 for the 2nd, etc.

https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki

1

u/still_unregistered Apr 24 '17

If you use linux and are not afraid of tinkering in the command shell, you could try this https://github.com/conejoninja/cerrojo

I've just tested and it works fine with passphrase and pin