Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [private-key]

This tag should be used for questions pertaining to private keys. Private keys are used for signing transactions and allow the holder of the private key to spend the Bitcoin associated with the address derived from the private key.

36
votes
2answers
55k views

How can I export the private key for an address from the satoshi client?

If I want to transfer an address from the satoshi client into a different client, how can I find its private key to do so?
32
votes
2answers
38k views

How do I import a private key into Bitcoin-Core?

How do I import a private key into Bitcoin-Qt? bitcoind is nowhere to be found, and pywallet says it requires "bsddb" when I run it, which is also nowhere to be found. I generated some vanity ...
29
votes
5answers
12k views

How are public & private keys in an address created?

I understand the high level concept I am more interested specific details. How is a private key generated. How exactly is public key generated, how is address generated from public key.
7
votes
2answers
8k views

How to sweep private extended key from mycellium for bitcoin cash coins?

I have my coins stored in mycellium, but when I try to export my private key I get a private extended key. How can I import this into coinomi android wallet? I see there is a sweep option in conomi, ...
61
votes
4answers
20k views

What is a compressed Bitcoin key?

The standard Bitcoin client in version 0.6 apparently introduces compressed keys. What are they? Are there any drawbacks to using them? Any incompatibilities with older software? Reductions in ...
6
votes
3answers
25k views

I don't know how to export a private key from blockchain.info

I am trying to make a raw transaction which requires a private key but i can't seem to find a way to get it from blockchain.info.
6
votes
3answers
18k views

Using dumpprivkey to make a paper backup

I'm just getting started with bitcoin and haven't acquired any significant amount yet, but want to feel relatively secure before I do. And at the moment, my fear of losing bitcoins or a device on ...
19
votes
1answer
14k views

What is a private key and a public key?

What exactly is a private key and public key in relation to Bitcoin? What are they, how are they used, and how does one find out what their private and public keys are?
12
votes
5answers
5k views

Recovering bitcoins after the owner's death

My Brother died in April and we believe he had a bitcoin account. Is it possible to find out how to recover/take over his accounts? I know this is a new form of currency but it seems odd there is no ...
15
votes
2answers
20k views

How can I convert a SHA256 hash into a Bitcoin base58 private key?

How can I take the output of sha256sum sudofox@ubuntu:~$ echo -n 'Hi guys!' | sha256sum 7542fb6685f9fd8f37d56faf62f0bb4563684a51539e4b26f0840db361e0027c - and turn it into a Base58Check encoded ...
16
votes
5answers
20k views

How do I get the public bitcoin address from a given private key in wallet import format offline?

I have made paper wallets. And I continually send what bitcoins I get to them. I'm paranoid that I've been sending bitcoins to the paper bitcoin addresses where somehow at sometime my saved private ...
6
votes
2answers
7k views

How can I export all my private keys using bitcoind?

I know that PyWallet has a -dumpwallet but without using pywallet, how can I export all the addresses and privatekeys with the stock bitcoind? Is there an API command that lists all addresses held by ...
5
votes
3answers
493 views

Importing private keys creates different address

How does importing private keys work? I have previously imported the private key for a 1Archive... address into Bitcoin Core and noted then it added an address like 1AXbRq... and I didn't follow it ...
-1
votes
1answer
444 views

Recovering the private key from a blockchain wallet address

One of my friends used my wallet to import a funded blockchain wallet to my wallet id. First this wallet is watch-only and I can't spend the bitcoins inside this wallet because I need the private key. ...
0
votes
2answers
304 views

Unlocking a Private Key from watch status

I received Some mining profits to my Blockchain. However the person who sent them to me send them to me with a private key. They then wanted me to send them money to unlock the private key. Does ...
17
votes
2answers
10k views

Does a wallet containing multiple addresses have a single private key?

Title says it all. Would one private key enable you to recover all the addresses in your wallet? Or does a wallet just contain a series of key-pairs?
13
votes
2answers
9k views

Why doc says importing private keys is so dangerous?

There are a lot of applications when someone would like to import a private key. However in wiki documentation they say it is very dangerous: https://en.bitcoin.it/wiki/How_to_import_private_keys ...
18
votes
2answers
2k views

What is the status of hierarchical deterministic wallets (BIP32)

BIP32 specifies hierarchical deterministic wallets, where a master seed fully determines a whole tree of keypairs that can be arbitrarily branched. It also introduces the notions of internal and ...
13
votes
2answers
6k views

Why so many warnings about importing private keys?

Blockchain.info and other products make you read dire (but vague) warnings that "you must be an expert" before you can import private keys. What's that all about?
20
votes
1answer
32k views

What is the wallet “word seed” that is commonly used in popular wallets clients and what does it do?

I've been using a pretty old version of Multibit classic and recently decided to upgrade. I tried out Multibit HD and Electrum and noticed that both have me set up a wallet with a "word seed". It's ...
10
votes
4answers
16k views

How can I delete an address (private key) in the list of received Bitcoins?

For every transaction I wanted to get, I was creating a new address, but soon I realized that there is just no way to delete all these addresses from the UI. To make it clear, here is a picture: I ...
6
votes
2answers
923 views

Bitcoin Blockchain in the Quantum computing era

The design and the evolution of quantum computers has been one of the "hot" topics during the last 20 years. My question is about the possible consequences of the rise of quantum computers (through ...
8
votes
8answers
5k views

How do I extract my private keys from a protobuf wallet?

Recent changes to Andreas Schildbach's Bitcoin client for Android have removed the option to export private keys. This has been replaced by an option to back up the entire wallet. Unfortunately, the ...
5
votes
3answers
4k views

Can same private key generate multiple addresses?

Is this possible using some clever bitcoin script? The intention is to get more privacy. I can give different addresses to different people still no one can guess how much I make in total. I can do ...
5
votes
1answer
4k views

How Do I Fix: “Safe mode: Warning: Displayed transactions may not be correct!”

While trying to retrieve the private key from satoshi bitcoin client i'm getting this error code: Safe mode: Warning: Displayed transactions may not be correct! You may need to upgrade, or other ...
5
votes
1answer
13k views

How can I get the private key from wallet.dat from 2011 Bitcoin software on WinXP?

I set up Bitcoin (application) software on a WinXP machine in 2011 and received some Bitcoin. I set the machine aside, disconnected from the internet. Now I want to access the 2011 Bitcoin. Lately I ...
3
votes
1answer
2k views

Generating private keys in Java

I'm looking for a way to generate private keys in Java. I'd like to make this a standalone program, so I'd rather not use a library like bitcoinj. From my research I've only seen people recommend ...
2
votes
1answer
834 views

Need sample compressed and uncompressed Public / Private key pairs for BigInteger

I am testing a different version of BigInteger that has different endian formats and the native implementation likes to add or remove zeros from the final output. Can anyone provide some sample ...
1
vote
1answer
939 views

What is the algorithm for generating a Ripple address from a ecdsa public key?

I know it is some combination of sha256 and ripemd160 that is used on the public key component to obtain the Ripple wallet address, but what is the specific algorithm?
2
votes
1answer
2k views

How to convert a WIF private key to a BIP32 extended private key

I am trying to recover the extended BIP32 master private key from its extended BIP32 public key (which I already know) and a WIF private key (which I obtained by decrypting a BIP38 seed with a ...
1
vote
3answers
673 views

Is it possible generate three public key( address ) by only one private key?

I hear that each address has one private key. Is it possible generate three public key address by only one private key?
1
vote
3answers
4k views

Bitcoin Cash Multibit HD/Electrum

If I had my BTC in a multibit HD wallet prior to the fork, and I exported my wallet to Electrum after the fork, will the BCH still be tied to the multibit HD wallet? And if so, how can I access the ...
1
vote
1answer
82 views

I have watched addresses in my wallet..how do i use them?

How do I use the watch only addresses that are in my wallet? I can't find the private keys. Is their any way to use them or should I just delete the wallet with the watch addresses in them?
1
vote
1answer
263 views

Why is my Bitcoin private key so much shorter than my PGP private key?

My PGP key takes up a huge, multi-line block of text, but my Bitcoin private key is just a small string. Yet both are considered extremely secure. Why is my PGP private key so long?
1
vote
2answers
2k views

How can transactions be verified without the private key?

Trying to get my head around her royal Bitcoin here... I understand that blocks of transactions are broadcast to the network, and that miners verify that the BC is 'spendable' by trawling the ...
0
votes
1answer
199 views

Where do I obtain private keys?

Just received my profits from a "watch only" address, where do I obtain private keys?
0
votes
2answers
3k views

Watch only wallet

I'm having this message: "Your wallet does not have private key for this address. You cannot spend coins received unless you have the private key elsewhere." How can I move my coins from watch only ...
15
votes
1answer
6k views

How does bitcoind generate a new address if the wallet is encrypted

Suppose that my wallet is encrypted with a passphase and currently I have not provided bitcoind with the passphrase to access the private keys section of the wallet. If I enter: bitcoind ...
21
votes
2answers
50k views

How are public and private keys related to the wallet?

I understand that all the Bitcoin protocol is based on an asymmetric cryptography. A user gets 2 keys (public and private). How do these keys connect to the Bitcoins? How are the keys are related ...
4
votes
1answer
2k views

How to derive the private key associated with a Coinbase multi-sig vault address

When I created a multi-sig vault on Coinbase, I obtained: A master public key in BIP32 extended format, of depth 0, parent fingerprint 00000000 and child index 0. A private key in WIF format ("user ...
1
vote
1answer
2k views

ecdsa - Create Private key and Bitcoin Address

I have the following code: import binascii import hashlib from fastecdsa import keys, curve # generate a private key for curve P256 priv_key = keys.gen_private_key(curve.secp256k1) print (priv_key) ...
11
votes
3answers
829 views

Will I need to keep track of my old private keys forever?

Let's say someone (person A) starts using Bitcoin and in a period of time eagerly publishes some of their randomly generated (eg. by the Satoshi client) receiving Bitcoin addresses on formus, sends ...
9
votes
1answer
3k views

Key derivation in HD wallets using the extended private key vs hardened derivation

I am reading the book Mastering Bitcoin and confused about wallet key derivations in Chapter 4. Keys, Addresses, Wallets. The book first mentions a private child key derivation where the child ...
8
votes
4answers
3k views

How to generate keypair completely offline?

Is it possible to generate address and private key pair completely offline, using only dice / other random number generators, calculators, paper and pen? If yes, whats the procedure and formulas used?
5
votes
2answers
1k views

What encoding or format is the private key in Dumpprivkey?

I'm trying to use the results of Dumpprivkey to sign a message outside of the QT client, however I'm either having a problem signing or extracting the real value of the key. What encoding, endian, or ...
9
votes
3answers
2k views

Is it important to have an unencrypted backup of the private key?

Am I correct that in not having our private keys written in paper or otherwise backed up we are implicitly trusting the wallet developers to keep publishing wallet versions that are capable of reading ...
4
votes
2answers
426 views

Invalid public key was spent! How was this possible?

From previous questions this bitcoin 1FYMZEHnszCHKTBdFZ2DLrUuk3dGwYKQxh address had an invalid public key of "00" and was unspendable but the coins are now spent?? The invalid key was generated by a ...
3
votes
3answers
3k views

Python code to generate private ECDSA key

Would this Python code generate a valid ECDSA private key? import random def r(a, b): sys_ran = random.SystemRandom() return sys_ran.randint(a, b) def create_private_key(): hex_chars = '...
2
votes
3answers
472 views

Can an exchange work which does not have control of the private keys?

It seems like there is really no great way to exchange USD for BTC. Having to trust an exchange with your private keys is undesirable. I'm wondering if there is a way to utilize the convenience of ...
1
vote
4answers
9k views

Correct way to convert a 256-bit private key to WIF?

On the Bitcoin wiki it has steps to convert a private key to WIF. So I tried following these steps in attempt to get the same result. So I took the private key. ...