Author

Topic: Verify a public and private key pair (Read 491 times)

full member
Activity: 210
Merit: 104
“Create Your Decentralized Life”
July 18, 2015, 04: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.
staff
Activity: 3500
Merit: 6152
July 18, 2015, 01: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 .
legendary
Activity: 2254
Merit: 1140
July 18, 2015, 01: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.
legendary
Activity: 1120
Merit: 1038
July 18, 2015, 12: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.
tyz
legendary
Activity: 3360
Merit: 1533
July 18, 2015, 11:58:21 AM
#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
Jump to: