Bitcoin Forum
May 27, 2024, 09:15:05 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Signing a BTC address on a Windows PC?  (Read 400 times)
Javelina (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
October 29, 2017, 03:42:33 AM
 #1

I am trying to sign a message to claim Bitcore for my BTC addresses. I use a Ledger Nano wallet (not a Nano S) which cannot sign messages on its own. I was told to try doing it in conjunction with Electrum but have been unsuccessful in signing the message. Is there a Windows friendly program that will sign messages either in conjunction with my Nano or independently? Thanks very much
Retired
Sr. Member
****
Offline Offline

Activity: 490
Merit: 250


View Profile WWW
October 29, 2017, 04:07:18 AM
 #2

Does Ledger have a message signing API? Since the private key never leaves the device, if it doesn't you'll be left with insecure options.
Javelina (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
October 29, 2017, 04:15:09 AM
 #3

The Nano has a "sign message" option but you get an error message when you try and sign. This is not some glitch on my end, but a well-known flaw in the Nano. There have been two firmware updates recently to deal with BCH and Segwit. I don't think that had anything to do with disabling the signing function but in any case it just doesn't work on the Nano. The newer Nano S apparently can sign. Electrum is capable of utilizing the addresses from the Nano (and has done it with mine). It also has a "sign message" option but again, perhaps because of the Nano flaw, that signing doesn't work either. It says it's signing but it never happens.
Retired
Sr. Member
****
Offline Offline

Activity: 490
Merit: 250


View Profile WWW
October 29, 2017, 09:27:29 AM
 #4

As a last resort, would recovery seeds from the Nano work with the Nano S? If so, you can switch from one to another with a trusted computer.
OmegaStarScream
Staff
Legendary
*
Offline Offline

Activity: 3486
Merit: 6150



View Profile
October 29, 2017, 10:36:29 AM
 #5

The Ledger Nano seed should work with any other Ledger device or any BIP39 compatible software. So you could import it to Electrum and sign there, but If you ever do that, the device will be kinda useless as the whole point from using it in the first place is to not have your private keys leave the device.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
October 29, 2017, 11:19:51 AM
 #6

The ledger nano s offers the option to sign messages from addresses which were created on this ledger.
You have to open the settings menu -> tools -> "sign message".
Afterwards you can choose an address which you want to use signing the message and enter your message.
Sometimes it shows an error message. In this case you should try to update your firmware and try it again afterwards.

Javelina (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
October 29, 2017, 02:13:33 PM
 #7

The ledger nano s offers the option to sign messages from addresses which were created on this ledger.
You have to open the settings menu -> tools -> "sign message".
Afterwards you can choose an address which you want to use signing the message and enter your message.
Sometimes it shows an error message. In this case you should try to update your firmware and try it again afterwards.

But I have a Nano, not a Nano S.
aleksej996
Sr. Member
****
Offline Offline

Activity: 490
Merit: 389


Do not trust the government


View Profile
October 29, 2017, 04:01:34 PM
 #8

Just install Bitcoin Core and import the keys by going to Help->Debug windows->Console and type
Code:
importprivkey <your_private_key>
. I am unfamiliar with Nano devices, but if you can get your private key then you should be fine. In order to revert back to the security you had before you imported the address you need to send the bitcoins from that address to the new address created on your hardware wallet.
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
October 30, 2017, 08:54:48 PM
 #9

The ledger nano s offers the option to sign messages from addresses which were created on this ledger.
You have to open the settings menu -> tools -> "sign message".
Afterwards you can choose an address which you want to use signing the message and enter your message.
Sometimes it shows an error message. In this case you should try to update your firmware and try it again afterwards.

But I have a Nano, not a Nano S.

Excuse me for my typo. I meaned the Nano. I own a ledger nano myself (nano, not the new nano s).
And signing message works as i wrote above.


Just install Bitcoin Core and import the keys by going to Help->Debug windows->Console and type
Code:
importprivkey <your_private_key>
.

I would not recommend to import your private keys into bitcoin core. You would have to use your recovery seed to create the
private keys to be able to import them to bitcoin core since ledger does not support key exports.
Additionally this would completely destroy the sense of having a hardware wallet which is not directly connected to the internet.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!