Questions tagged [private-key]

in assymetric cryptography, the private key is used to unlock, sign or decrypt

Filter by
Sorted by
Tagged with
12
votes
1answer
8k views

How to generate a keystore (UTC) file from the raw private key?

If I have the plaintext private key, -how- can I generate a geth-compatible keystore file using Node.js? I think I need to encrypt it using the scrypt algorithm by supplying a password, but I don't ...
3
votes
0answers
212 views

How to derive the private key from UTC file? [duplicate]

I want to implement a client-side wallet where the transaction is generated and signed on the browser, and sent to the server which is running a geth node. Apparently ethereumjs-tx does what I want ...
4
votes
1answer
572 views

Wrong address derived from the private key

I try to create and sign a transaction using ethereumjs-tx, as follows: (same code as in here, except the private key) var Transaction = require('ethereumjs-tx') var tx = new Transaction() tx.nonce = ...
3
votes
1answer
81 views

Is it bad security to use the same private keys and/or keyfiles across production, testnet, and dev?

I'd like to understand the security implications of re-using keys across a privatenet, the public testnet, and the production network. If this is bad, why so? Are there advantages or disadvantages to ...
1
vote
1answer
599 views

How blockstack implements identity management?

Reading https://blockstack.org/posts/blockchain-identity it states Blockstack is the largest, most popular blockchain identity system, with 50,000 registered identities. but reading the available ...
4
votes
1answer
2k views

Forgot my Ethereum Address. Still have seed phrase and private key

I got started with Ethereum using the Get Address option on https://live.ether.camp/ So I registered and got my own address. I securely saved my seed phrase and my private key, but forgot to copy my ...
3
votes
1answer
3k views

Ethereum private keys

When I go to the key store folder via Mist I find a .json-file (doesn't have a .json extension, but I believe this is still a .json file) that corresponds with my ether address (UTC blablabla). If I'm ...
26
votes
2answers
7k views

Is each Ethereum address shared by (theoretically) 2 ** 96 private keys?

Summary This is an extended question to How are ethereum addresses generated?. In Ethereum, a private key is 256-bit long, but an address is only 160-bit long. By "Pigeonhole Principle", it ...
2
votes
0answers
1k views

Creating keyfile and address from private key [duplicate]

What is the logic behind Ethereum creating key file and account account address from the private key. I am able to import a ECDSA private key to create an account. Same account address is generated ...
6
votes
2answers
2k views

What algorithm is used to encrypt a private key?

In my understanding, private keys are encrypted with some symmetric algorithm, so you can't access them without passphrase. What is it called?
5
votes
1answer
991 views

Is it possible to regenerate the private key file?

I have created an account in testnet which I know the address and the password of, but I did not backup the private key file. Can I somehow create the key file again using the password? Or is my ...
3
votes
1answer
548 views

Why keep a private key in uPort?

Reading the uport whitepaper https://uport.me/library/pdf/whitepaper.pdf : The purpose of having a Proxy contract as the core identifier is defined as : The purpose of having a Proxy contract as ...
5
votes
1answer
909 views

How to generate an Ethereum "brain wallet" in Javascript?

Namely, enter string -> get private key?
18
votes
1answer
16k views

Getting private keys of geth accounts

Just the opposite of this question How to import a plain private key into geth or Mist? I would like to know how can I obtain the private keys of the accounts created with geth in this way: $ geth --...
3
votes
1answer
255 views

Hierarchial deterministic wallets on Android

Is there some implementation which lets me create Hierarchical Deterministic Wallets for Ethereum on Android ? I am looking for some library which lets me create the same.
5
votes
1answer
277 views

Unlinkability between transactions to a smart contract

I am trying to develop an application using Ethereum and it needs to have transactions which are not linkable. I read an article by Vitalik Buterin, which speaks about it. He speaks about something ...
3
votes
1answer
364 views

Is it possible to self-define a public/private key pair for a wallet?

Specifically, if I had valid, secure keys stored in variables from somewhere else, could I use those to initialize a wallet? Or do keys have to be generated by the wallet software? Thank you for your ...
1
vote
0answers
59 views

Trouble importing jaxxwallet into Mist

I cant´t import the keyfile from jaxx via geth into Mist. I know there are good answers here already. And i tried to solve it myself but it always says:" Fatal: keyfile must be given as argument". I`m ...
4
votes
2answers
404 views

How to import an icebox encrypted wallet into Geth

I am trying to take the encrypted keyfile from icebox and import into Geth. However I am coming up with this error when I try geth account import icebox.txt Fatal: Failed to load the private key: ...
4
votes
2answers
3k views

Generating Ethereum Private Key,Public Key On Mobile (Android/Java)

I'm looking for a way to generate Ethereum private keys and public keys inside an Android app. I've scavenged the web and ultimately decided to tear apart the code to myetherwallet and import the same ...
21
votes
2answers
7k views

Can I use the same private key for Ethereum and Bitcoin?

Both Bitcoin and Ethereum private keys are usually a 256-bit number, isn't it possible to use the same private key for both Bitcoin wallets and Ethereum accounts? For instance, the Bitcoin wiki states:...
4
votes
1answer
3k views

How to verify a paper wallet is working without compromising the private key?

MyEtherWallet tells the user: You need to back up your private keys externally and verify you can access the wallets. I am wondering, how do you verify you can access the accounts without ...
13
votes
1answer
14k views

How to change the password to an account?

The private key of an owned Ethereum account is encrypted with a password and kept in a so-called key file. How can I change this password?
1
vote
1answer
591 views

How can I create a different address and publickey for same private key in ethereumj?

If i follow the steps mentioned in How to create an account in ethereumj. It creates new account every time with different private key/address/public key. I would like to create different address/...
5
votes
1answer
648 views

Can you solo mine directly to an address you don't have the private key for?

Is it possible to solo mine directly to an address you don't have the private key for. I would like to directly mine into my exchange address. Thank you
5
votes
2answers
3k views

Forgot my private key in ether.li

I've bought 50 ethers on btc direct 2 weeks ago. I've send it to my user account on ether.li. What was not the best choice. Because now I need the private key to withdraw it. I can't remember I had to ...
3
votes
2answers
1k views

How do I pull a private key out of a keystore using eth-lightwallet "No seed set"

I am using eth-lightwallet on a NodeJS server. I am getting a stack trace when I try and get the private key from the keystore. It is flagging this line "keystore.generateNewAddress(pwDerivedKey);" I ...
29
votes
9answers
48k views

How do I get the raw private key from my Mist keystore file?

I use the Mist wallet. I would like to know: How I can get the private key of my account. How I can use this private key to sign messages.
2
votes
1answer
3k views

My MyEtherWallet address is different than the first address it gave me

I invest to TheDAO this week and I don't see my transaction. My address is: 0x72eb41AE7f943445Da9932662d31A06D56A3cfAa But when I look my wallet whith my private key I see an other: ...
3
votes
1answer
299 views

for Mac - Importing priv key / wallet of receiving DGD address into Mist

I've followed the instructions below but am getting an error message in terminal geth command not found Open TextEdit Paste key into TextEdit without any extra characters or quotations Save the file ...
16
votes
3answers
19k views

How can I get my accounts into metamask or vice versa?

I need my accounts in Metamask to match my local machine so I can deploy from the machine (using truffle), and test in a browser. How can I either: Upload my local geth accounts to Metamask Bring ...
7
votes
1answer
3k views

How to get address from private key in java

I use generate a private key in java code HashUtil.sha3("cow".getBytes()) Write to a new private key file: c85ef7d79691fe79573b1a7064c19c1a9819ebdbd1faaab1a8ec92344438aaf4 Then, I use geth account ...
3
votes
2answers
261 views

Where to find the private key for my contract in blockapps?

I am trying to use blockapps-js to invoke functions on my smart contract deployed in blockapps. Since I need the private key for it, I am looking at the app/users/admin/.json file. Problem is I cannot ...
3
votes
0answers
935 views

How to access and import presale ether without the json wallet file

I purchased ether presale. I have the public key, which shows the amount, and I have a text password I created at the time of purchase. I do not have a json drop file. How do I import my wallet? I ...
7
votes
3answers
4k views

Migration from Geth to Parity: Is there anything to copy/export?

So, I want to migrate to gain disk space thanks to blockchain pruning (it seems that it goes from ~11.4 GiB to ~3.3 GiB) and try the difference of sync speed. Is this already documented somewhere? (...
3
votes
1answer
5k views

Is there a way to manually import a private key into Mist?

I want to move Ether between different wallets. I have a private key and want to move it to the Mist wallet. Any way I can do that?
11
votes
2answers
2k views

Secure paper wallet creation for ETH using JS

I am about to start the process of transferring my ETH to paper wallets for safe keeping. Currently the funds are stored on an online exchange. History shows that this is a very bad idea. It is not ...
6
votes
2answers
2k views

Generating ethereum address from private key on Ubuntu 32 bit

I have a securely generated private key that I want to use to generate an ethereum address on an offline PC (Ubuntu 32 bit). My preferred way would be to use geth, but there's no geth binary for linux ...
29
votes
4answers
16k views

workflow on signing a string with private key, followed by signature verification with public key

I know this question has been asked and answered, but while trying to get everything to work, I've come across some problems. This is what I'm trying to do: 1. take a target string 'Schoolbus' 2. ...
15
votes
3answers
9k views

How to validate a private key?

I could not find any library that, given an hex value, returns true if the given string is a valid ether private key. Any hints?
4
votes
1answer
728 views

Is there a BIP38 equivalent for Ethereum private keys?

What is the best practice to encrypt an Ethereum private key? For example, Bitcoin has BIP38.
3
votes
1answer
668 views

How to access ethaddress.org funds if the private key is blurred out?

Tried out the paperwallet and sent 1 ether to the address on the screen as a test. After that I noticed the private key on it is blurred out. I generated another and found the same thing on the ...
4
votes
1answer
5k views

How can I import geth accounts into eth?

I had two accounts under ~/.ethereum/keystore when I used geth a while ago. I got a new PC, recompiled only the C++ version and I can't see my two accounts in eth. web3.admin.eth.allAccounts() ...
3
votes
2answers
7k views

Can I recover an account with just the Private key (no json file) [duplicate]

I have read a few things lately That in order to securely store an account, one should save the json file and private key. I'm wondering If the json file is really needed though. Say I were to lose ...
5
votes
1answer
830 views

How can I generate a cold wallet completely offline WITH a random number seeded by me?

Requirements: 1) An account created on a raspberry pi that has never been connected to the internet ever. 2) A great private key on this account, that does not rely on any random number generator. 3) ...
2
votes
1answer
278 views

How to import an Augur account in Geth?

I created an ethereum account on the sale.augur.net page. And now I've finally downloaded and installed Geth as well. How do I import that account into Geth?
2
votes
1answer
257 views

Is the address under the Ethbase account in mist a public address?

Is the address under the Ethbase account in mist a public address? If so, how do I find the related private key?
6
votes
2answers
514 views

Is it safe to generate an account with 256 coin flips?

Suppose one generates an account with the following procedure: Flip a coin 256 times; On a paper, write each heads as 1 and each tails as 0; Convert the 256-bit string to hex by mapping each 4-bit ...
1
vote
0answers
141 views

How to sign anything with my ethereum private key and verify with public key? [duplicate]

How can I use the private key of my eth.accounts[0] to sign a file from outside Ethereum, so people can verify that the file belongs to that account with the public key?
2
votes
1answer
1k views

Is it possible to *write* (not print) a paper wallet without having to copy a big JSON?

In Bitcoin, you can store a paper wallet by merely writing down the private key of an address, which is very small. You can also write ~20 words generated from that address, if you want. In Ethereum, ...

1
4 5 6
7
8