<blockquote>
  <p><strong>What if a person has your private key?</strong> </p>
</blockquote>

<p>Then they have independent control over all the unspent Bitcoins associated with that private key. Once they have the private key there is nothing you can do to rescind their control (other than moving the Bitcoin into a new wallet before the other person does)</p>

<blockquote>
  <p><strong>How can that person interact with your wallet?</strong> </p>
</blockquote>

<p>They don't need to.</p>

<p>The only valuable thing in your wallet are the private keys.</p>

<p>Bitcoins are "stored" as unspent transaction outputs (UTXOs) in the blockchain - but the blockchain is completely public. Every <em>full</em> node (wallet, miner etc) has a copy of the blockchain.</p>

<blockquote>
  <p><strong>Does he have to know which wallet you use as well ...</strong></p>
</blockquote>

<p>No, the other person doesn't need to know anything else.</p>

<blockquote>
  <p><strong>... or can he use just the private key to 'log in'?</strong> </p>
</blockquote>

<p>They don't use the private key to log in.</p>

<p>They can import the private key into any wallet software and use the private key to prove to all other bitcoin nodes that they have the right to spend any unspent bitcoin associated with that private key. </p>

<p>Knowing the private key allows them to construct a transaction spending your Bitcoins, they then broadcast that transaction to miners who add the transaction to the blockchain thus spending the Bitcoins (i.e. moving Bitcoins into another wallet which has a different private key)</p>

CC BY-SA 4.0
2018-10-06T22:07:17.263Z
2018-10-06T22:12:48.977Z
2018-10-06T22:12:48.977Z
RedGrittyBrick
<p>You can secure your private keys using the Hardware Wallet such as Trezor <a href="https://cryptototem.com/trezor-wallet/" rel="nofollow noreferrer">https://cryptototem.com/trezor-wallet/</a>. Such wallets are used for storing your coins and secure them from different interventions. The developers of such wallets ensure us that will not have any troubles with loss of coins and leakage of your personal data.</p>

CC BY-SA 4.0
2019-07-13T10:48:44.803Z
2019-07-13T10:48:44.803Z
Lisa Philips
<p>Anyone who knows the private key will have full access and control of any coins stored at the corresponding address. </p>

<p>When you put a password on a wallet or login account, that password is <em>only for unlocking that instance of the wallet</em> (it is possible to create another instance, that is not locked by your password). Once unlocked, the wallet will use the private key to sign transactions that move the coins, etc. But without the password an attacker can not unlock the wallet if it the wallet alone is found. </p>

<p>However, having the private key itself means you don’t need to unlock the wallet, because you already have the key. You can import the key into just about any other wallet software, and then use that wallet instance to move the coins, etc. </p>

<p><a href="https://github.com/bitcoin/bips/blob/master/bip-0038.mediawiki" rel="nofollow noreferrer">There is BIP38</a>, which allows you to password protect a private key itself, but this is different, and a less common set up. </p>

CC BY-SA 4.0
2018-10-06T19:36:01.177Z
2018-10-06T19:36:01.177Z
chytrik
<p>I am trying to understand all security regarding blockchain and bitcoins. </p>

<p>Let's say you have a bitcoin wallet which is secured, only you know the private key. This bitcoin address was created on one of the bitcoins wallet provided by <a href="https://bitcoin.org/en/choose-your-wallet" rel="nofollow noreferrer">bitcoin.org</a> 
What if a person has your private key? I know it's difficult but let's say he knows the 54 letters private key from hacking a database. How can that person interact with your wallet? 
Does he have to know which wallet you use as well or can he use just the private key to 'log in'? </p>

<security><private-key><buy-bitcoins><wallet-security>
What can you do with the private key?
Iulian
# What can you do with the private key?

(Asked by: username_0 on 2018-10-06)

I am trying to understand all security regarding blockchain and bitcoins.

Let's say you have a bitcoin wallet which is secured, only you know the private key. This bitcoin address was created on one of the bitcoins wallet provided by [bitcoin.org](https://bitcoin.org/en/choose-your-wallet)
What if a person has your private key? I know it's difficult but let's say he knows the 54 letters private key from hacking a database. How can that person interact with your wallet?
Does he have to know which wallet you use as well or can he use just the private key to 'log in'?

**Tags:** security, private-key, buy-bitcoins, wallet-security


---

## 3 answers

### Answer by username_3 on 2018-10-06. Score: 4 | Accepted answer

Anyone who knows the private key will have full access and control of any coins stored at the corresponding address.

When you put a password on a wallet or login account, that password is *only for unlocking that instance of the wallet* (it is possible to create another instance, that is not locked by your password). Once unlocked, the wallet will use the private key to sign transactions that move the coins, etc. But without the password an attacker can not unlock the wallet if it the wallet alone is found.

However, having the private key itself means you don’t need to unlock the wallet, because you already have the key. You can import the key into just about any other wallet software, and then use that wallet instance to move the coins, etc.

[There is BIP38](https://github.com/bitcoin/bips/blob/master/bip-0038.mediawiki), which allows you to password protect a private key itself, but this is different, and a less common set up.


---

### Answer by username_1 on 2018-10-06. Score: 4

> **What if a person has your private key?**

Then they have independent control over all the unspent Bitcoins associated with that private key. Once they have the private key there is nothing you can do to rescind their control (other than moving the Bitcoin into a new wallet before the other person does)

> **How can that person interact with your wallet?**

They don't need to.

The only valuable thing in your wallet are the private keys.

Bitcoins are "stored" as unspent transaction outputs (UTXOs) in the blockchain - but the blockchain is completely public. Every *full* node (wallet, miner etc) has a copy of the blockchain.

> **Does he have to know which wallet you use as well ...**

No, the other person doesn't need to know anything else.

> **... or can he use just the private key to 'log in'?**

They don't use the private key to log in.

They can import the private key into any wallet software and use the private key to prove to all other bitcoin nodes that they have the right to spend any unspent bitcoin associated with that private key.

Knowing the private key allows them to construct a transaction spending your Bitcoins, they then broadcast that transaction to miners who add the transaction to the blockchain thus spending the Bitcoins (i.e. moving Bitcoins into another wallet which has a different private key)


---

### Answer by username_2 on 2019-07-13. Score: 0

You can secure your private keys using the Hardware Wallet such as Trezor <https://cryptototem.com/trezor-wallet/>. Such wallets are used for storing your coins and secure them from different interventions. The developers of such wallets ensure us that will not have any troubles with loss of coins and leakage of your personal data.


---

