Bitcoin Forum
May 31, 2024, 03:17:34 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to sign a message from a paper wallet without importing your private key?  (Read 1361 times)
Chris! (OP)
Legendary
*
Offline Offline

Activity: 1382
Merit: 1122



View Profile
June 09, 2017, 04:51:44 PM
 #1

Is there any relatively simple way to sign a message from a Bitcoin paper wallet without importing the private key into a wallet? If there's a way to securely sign a message without adding my private key onto the internet I'd love to know what wallet I need in order to do it and how to actually sign too. Even if there is no way let me know so at least I'm aware!
stefek99
Full Member
***
Offline Offline

Activity: 233
Merit: 102


https://genesis.re


View Profile WWW
June 09, 2017, 05:15:31 PM
 #2

without adding my private key onto the internet

You can run your software locally, without connecting to the internet.

Some software is required, humans are error-prone when hashing and signing messages Smiley

Chris! (OP)
Legendary
*
Offline Offline

Activity: 1382
Merit: 1122



View Profile
June 09, 2017, 06:30:32 PM
 #3

without adding my private key onto the internet

You can run your software locally, without connecting to the internet.

Some software is required, humans are error-prone when hashing and signing messages Smiley

Is it possible to do in a live environment for extra security? If not, what would I need in order to do this? Bitcoin core?
HI-TEC99
Legendary
*
Offline Offline

Activity: 2772
Merit: 2846



View Profile
June 09, 2017, 06:58:53 PM
 #4

Download this webpage and run it inside a browser from an offline live CD.

https://coinb.in/

Go to the sign section, input your private key and message into the text boxes and click the submit button.

https://coinb.in/#sign

Don't ever put your private key into an online version of it.
Chris! (OP)
Legendary
*
Offline Offline

Activity: 1382
Merit: 1122



View Profile
June 09, 2017, 07:56:21 PM
 #5

Download this webpage and run it inside a browser from an offline live CD.

https://coinb.in/

Go to the sign section, input your private key and message into the text boxes and click the submit button.

https://coinb.in/#sign

Don't ever put your private key into an online version of it.

I'll give it a shot and see if it's simple enough for me. Their website seems to say it's simple enough so let's hope they're right Wink
HI-TEC99
Legendary
*
Offline Offline

Activity: 2772
Merit: 2846



View Profile
June 09, 2017, 08:21:11 PM
Last edit: June 09, 2017, 08:42:51 PM by HI-TEC99
 #6

Download this webpage and run it inside a browser from an offline live CD.

https://coinb.in/

Go to the sign section, input your private key and message into the text boxes and click the submit button.

https://coinb.in/#sign

Don't ever put your private key into an online version of it.

I'll give it a shot and see if it's simple enough for me. Their website seems to say it's simple enough so let's hope they're right Wink

Sorry, I made a mistake. You can't sign a message with that page, you can only sign a transaction.

Sleep deprivation got the better of me. This is the webpage that signs messages. Don't ever use it unless it's in an offline isolated environment like a live CD (or preferably a virtual machine).

Disclaimer: Don't blame me if it steals your coins, I don't know how reliable the author is.


*snip*

4. Now I have created a foolproof bitcoin signing tool which you can find here: https://ordinarydude.github.io/offline-bitcoin-signer/

5. Use the private key and the messages to obtain your signature.

Disclaimer: Use at own risk, the sources for the offline signing tool can be found here: https://github.com/OrdinaryDude/offline-bitcoin-signer
The paranoids download the code and sign on an offline machine!



Screenshots of this process:

*snip*


stefek99
Full Member
***
Offline Offline

Activity: 233
Merit: 102


https://genesis.re


View Profile WWW
June 09, 2017, 10:06:23 PM
 #7

without adding my private key onto the internet

You can run your software locally, without connecting to the internet.

Some software is required, humans are error-prone when hashing and signing messages Smiley

Is it possible to do in a live environment for extra security? If not, what would I need in order to do this? Bitcoin core?

Here you go: https://github.com/aeternity/wiki/wiki/How-to-sign-a-message-with-a-private-key%3F

I've contributed one of these methods...

Tell me if you need any help.

- Make offline copy of the HTML.
- Copy on USB stick to offline computer
- Run the website offline
- Sign it via HTML / JavaScript
- Put the signature on USB stick / write it down

PROFIT / DONE

Click +1 if it helps you Smiley

Chris! (OP)
Legendary
*
Offline Offline

Activity: 1382
Merit: 1122



View Profile
June 09, 2017, 10:58:42 PM
 #8

Disclaimer: Don't blame me if it steals your coins, I don't know how reliable the author is.

Ya I wasn't sure if some normal wallet could do this with some fancy maneuvers. I guess not and I don't want to have to trust someone else's coding skills. Thanks for the help though!

Here you go: https://github.com/aeternity/wiki/wiki/How-to-sign-a-message-with-a-private-key%3F

I've contributed one of these methods...

Tell me if you need any help.

- Make offline copy of the HTML.
- Copy on USB stick to offline computer
- Run the website offline
- Sign it via HTML / JavaScript
- Put the signature on USB stick / write it down

PROFIT / DONE

Click +1 if it helps you Smiley

I'll check it out and see if it requires any trust. Thanks.
HI-TEC99
Legendary
*
Offline Offline

Activity: 2772
Merit: 2846



View Profile
June 10, 2017, 01:05:56 AM
 #9

Disclaimer: Don't blame me if it steals your coins, I don't know how reliable the author is.

Ya I wasn't sure if some normal wallet could do this with some fancy maneuvers. I guess not and I don't want to have to trust someone else's coding skills. Thanks for the help though!

Here you go: https://github.com/aeternity/wiki/wiki/How-to-sign-a-message-with-a-private-key%3F

I've contributed one of these methods...

Tell me if you need any help.

- Make offline copy of the HTML.
- Copy on USB stick to offline computer
- Run the website offline
- Sign it via HTML / JavaScript
- Put the signature on USB stick / write it down

PROFIT / DONE

Click +1 if it helps you Smiley

I'll check it out and see if it requires any trust. Thanks.

There's another offline webpage that can sign messages for you at this link. However any such webpage shouldn't be trusted when online. I wouldn't consider using it unless it was run in an offline isolated environment.

https://brainwalletx.github.io/#sign

That webpage is capable of creating five different message signature types including multibit's and armory's.
stefek99
Full Member
***
Offline Offline

Activity: 233
Merit: 102


https://genesis.re


View Profile WWW
June 10, 2017, 10:39:43 AM
 #10

Disclaimer: Don't blame me if it steals your coins, I don't know how reliable the author is.

Ya I wasn't sure if some normal wallet could do this with some fancy maneuvers. I guess not and I don't want to have to trust someone else's coding skills. Thanks for the help though!

Here you go: https://github.com/aeternity/wiki/wiki/How-to-sign-a-message-with-a-private-key%3F

I've contributed one of these methods...

Tell me if you need any help.

- Make offline copy of the HTML.
- Copy on USB stick to offline computer
- Run the website offline
- Sign it via HTML / JavaScript
- Put the signature on USB stick / write it down

PROFIT / DONE

Click +1 if it helps you Smiley

I'll check it out and see if it requires any trust. Thanks.

At some point you need to trusts something.

Calculating hash by hand = error prone.

Cryptographic libraries tend to have many lines of code but doing this on air-gapped computer minimises the risk.

Chris! (OP)
Legendary
*
Offline Offline

Activity: 1382
Merit: 1122



View Profile
June 10, 2017, 12:40:25 PM
 #11

Disclaimer: Don't blame me if it steals your coins, I don't know how reliable the author is.

Ya I wasn't sure if some normal wallet could do this with some fancy maneuvers. I guess not and I don't want to have to trust someone else's coding skills. Thanks for the help though!

Here you go: https://github.com/aeternity/wiki/wiki/How-to-sign-a-message-with-a-private-key%3F

I've contributed one of these methods...

Tell me if you need any help.

- Make offline copy of the HTML.
- Copy on USB stick to offline computer
- Run the website offline
- Sign it via HTML / JavaScript
- Put the signature on USB stick / write it down

PROFIT / DONE

Click +1 if it helps you Smiley

I'll check it out and see if it requires any trust. Thanks.

There's another offline webpage that can sign messages for you at this link. However any such webpage shouldn't be trusted when online. I wouldn't consider using it unless it was run in an offline isolated environment.

https://brainwalletx.github.io/#sign

That webpage is capable of creating five different message signature types including multibit's and armory's.

Thanks for the links. These are definitely simple for me to use, I'm just going to see if there have been any negative repercussions after someone has used them.

Disclaimer: Don't blame me if it steals your coins, I don't know how reliable the author is.

Ya I wasn't sure if some normal wallet could do this with some fancy maneuvers. I guess not and I don't want to have to trust someone else's coding skills. Thanks for the help though!

Here you go: https://github.com/aeternity/wiki/wiki/How-to-sign-a-message-with-a-private-key%3F

I've contributed one of these methods...

Tell me if you need any help.

- Make offline copy of the HTML.
- Copy on USB stick to offline computer
- Run the website offline
- Sign it via HTML / JavaScript
- Put the signature on USB stick / write it down

PROFIT / DONE

Click +1 if it helps you Smiley

I'll check it out and see if it requires any trust. Thanks.

At some point you need to trusts something.

Calculating hash by hand = error prone.

Cryptographic libraries tend to have many lines of code but doing this on air-gapped computer minimises the risk.

Hmm, calculating by hand eh? How do I go about doing that? That's about as safe as you can get!
BTCLovingDude
Legendary
*
Offline Offline

Activity: 1134
Merit: 1010

BTC to the moon is inevitable...


View Profile WWW
June 10, 2017, 01:22:09 PM
 #12

just a thought/question that i would like to ask here:
is it possible that some of these codes for signing a message create a weak signature leading to leaking your private keys?

i know it is possible when creating a signature for transaction. and although signing a message is similar but it has some differences so i am not sure if it is also possible for that!

--looking for signature--
stefek99
Full Member
***
Offline Offline

Activity: 233
Merit: 102


https://genesis.re


View Profile WWW
June 21, 2017, 08:44:16 AM
 #13



Cryptographic libraries tend to have many lines of code but doing this on air-gapped computer minimises the risk.

Hmm, calculating by hand eh? How do I go about doing that? That's about as safe as you can get!

See here: http://www.righto.com/2014/09/mining-bitcoin-with-pencil-and-paper.html

Calculating cryptographic functions by hand = not practical.

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!