Bitcoin Forum
June 17, 2024, 04:12:12 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Verify a public and private key pair  (Read 483 times)
tyz (OP)
Legendary
*
Offline Offline

Activity: 3360
Merit: 1533



View Profile
July 18, 2015, 04:58:21 PM
 #1

Is there a tool to verify a public and private key pair? I am thinking about a small Python or Java based tool, where I can provide the private key in order to get the public key or something else.

I am asking because I created a paper wallet on what the public and private keys were printed. Before I send Bitcoins to the address I just want to check if the private key fits to the public key.   Cheesy
jambola2
Legendary
*
Offline Offline

Activity: 1120
Merit: 1038


View Profile
July 18, 2015, 05:34:45 PM
 #2

Is there a tool to verify a public and private key pair? I am thinking about a small Python or Java based tool, where I can provide the private key in order to get the public key or something else.

I am asking because I created a paper wallet on what the public and private keys were printed. Before I send Bitcoins to the address I just want to check if the private key fits to the public key.   Cheesy

That is what importing an address is.
And if you ask anybody paranoid about the security of their paper wallet, they'll tell you to never type down a private key on an internet connected device.

What's the solution if you really really want to verify it, but still want to be 100% sure that there is no means for someone to remotely access your wallet?
Import your wallet on a device not connected to the internet, and then format it. (Sounds overkill right)

The easiest I could think of would be an android device. Download a bitcoin app, put it in airplane mode, confirm that the address you get from your private key is the same, factory reset your device.

Whatever small Python or Java based tool you're thinking of would be the same as importing your private key when it comes to how vulnerable it is. Maybe more if you don't audit the code and someone else slips something malicious in.

No longer active on bitcointalk, however, you can still reach me via PMs if needed.
Rmcdermott927
Legendary
*
Offline Offline

Activity: 2254
Merit: 1140


View Profile
July 18, 2015, 06:28:29 PM
 #3

Is there a tool to verify a public and private key pair? I am thinking about a small Python or Java based tool, where I can provide the private key in order to get the public key or something else.

I am asking because I created a paper wallet on what the public and private keys were printed. Before I send Bitcoins to the address I just want to check if the private key fits to the public key.   Cheesy

Do you have a web server you can use?   The brainwallet script has that functionality.   You can download it here: https://github.com/brainwallet/brainwallet.github.io

You can even just go to brainwallet.org and use their program.  It's client side javascript so you can load the page, and then disconnect your PC from the internet.

OmegaStarScream
Staff
Legendary
*
Offline Offline

Activity: 3514
Merit: 6164



View Profile
July 18, 2015, 06:36:28 PM
 #4

Is there a tool to verify a public and private key pair? I am thinking about a small Python or Java based tool, where I can provide the private key in order to get the public key or something else.

I am asking because I created a paper wallet on what the public and private keys were printed. Before I send Bitcoins to the address I just want to check if the private key fits to the public key.   Cheesy

That would be definitly awesome , it's like you are a mind reader or something .
I'am too paranoid and I was too afraid to make a Paper wallet last time and I was afraid that public and private key don't match in case of problem in the source code  so having a tool that check and do that would be awesome . just to check to see if wallet is the Paper working properly .

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
d4n13
Full Member
***
Offline Offline

Activity: 210
Merit: 101


“Create Your Decentralized Life”


View Profile
July 18, 2015, 09:00:48 PM
 #5

Is there a tool to verify a public and private key pair?

PyBitcoinTools

But as others have said, you should never, ever, take a private key out of the security of an encrypted wallet unless you are OK loosing the funds associated with it.

If on the other hand you are determined to proceed, buy a cheep computer (raspberry pi) and ensure it never, ever connect to the internet.  You can work with private keys on it.

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!