Questions tagged [private-key]

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

Filter by
Sorted by
Tagged with
14
votes
2answers
3k views

What the difference between Bitcoin and Ethereum private/public keys and address?

I am trying to find a library for creating Ethereum wallets in a web environment (PHP, JS). I found Keytheremjs lib, but if use it in a browser, this tool is very slow. But I found a lot of simple PHP ...
0
votes
1answer
293 views

Sending transactions without downloading the blockchain

I'm rather new to this world and it's a bit overwhelming. I would like to manage an eth address from a lightweight device (think of a raspberry). I want to handle incoming transactions i.e resend ...
0
votes
3answers
71 views

How to let an ethereum address reveal its private key when it detects specific contract conditions?

1. Is this even possible? Can an ethereum address be programmed to do something when certain blockchain conditions are met? All without relying on a 3rd-party to have to observe the blockchain and ...
0
votes
0answers
248 views

What are the best practices for handling private keys on behalf of dApp users?

I have seen many answers and theory about it but didn't find any concrete example of how it should be done.
0
votes
3answers
6k views

Generate keystore file from raw private key (using geth)?

I have my public & private key (generated with MyEtherWallet), however, I forgot to create a keystore file, which would make my online access to the wallet a bit safer if I'm correct. I got to ...
7
votes
3answers
9k views

How to get private through UTC files in keystore

I create accounts by geth account new with a password, then I get a UTC file which is a json file saved in folder keystore under data directory. Now I am attempt to get private key from this json file....
0
votes
1answer
263 views

Ethereum converting string & random string to private key

I am receiving as input a private key string and a random string. Goal is to get public key and address. When I am receiving the string I do: var hash = Crypto.util.hexToBytes(privStr); this.priv = ...
0
votes
1answer
764 views

recover ETH transferred to ETC wallet [closed]

I have mistakenly transferred ETH to ETC wallet from Binance to Kucoin as I have gone through the reviews & noticed that I can only recover my ETH through Kucoin & there is no other way i can ...
14
votes
3answers
25k views

How to properly create a raw transaction and sign it using web3 in browser

I want to create and sign a transaction in browser using web3. In order to create a raw transaction, I think I have to do something like this (hopefully you can fill the gaps of my knowledge) var pk =...
1
vote
2answers
3k views

Convert Ethereum private key to public key (without network)

Is there a calculation to convert Ethereum private keys to the public address, without being connected to the internet?
3
votes
0answers
587 views

OpenSSL error message when decrypting Ethereum encrypted private key

I'm trying to help a friend recover his password for an older format ethereum encrypted private key (EPK). My friend thinks he knows the password. My plan has been to use his best guess at the ...
0
votes
0answers
192 views

Any possible threats of making a private key of a testnet (Ropsten) available to public

I'm about to publish a sample Dapp (with source code) and would like to provide an account and its private key available in the source code to make the life easy for anyone trying to use it. This ...
1
vote
3answers
4k views

How to build and sign a transaction to deploy a contract

I am trying to generate a transaction to deploy a smart contract on the chain and to sign it with web3js. My problem is that I have no idea how to build the transaction object needed for the ...
0
votes
1answer
287 views

Creating an offline address creator for Ethereum

I found this Bitcoin Paper Wallet: https://bitcoinpaperwallet.com/bitcoinpaperwallet/generate-wallet.html I would like to add it Ethereum just for fun. On this question, they show how to create ...
1
vote
1answer
430 views

Generating Ethereum Keys in Terminal

I stumbled across this interesting code on Reddit for generating Ethereum private keys with terminal: cat /dev/urandom |LC_ALL=C tr -dc '0-9a-f' | fold -w 64 | head -n 1 Of course the randomness and ...
2
votes
1answer
3k views

Generate Ethereum address from a private key

My question was first asked on stackoverflow but due lack of privileges I couldn't move it here directly. I am trying to generate an Ethereum address based on a given private key following this "How ...
0
votes
2answers
9k views

Lost my private keys and Json or keystore file

I made an account on Ether wallet and I lost my private keys and Json or keystore file. I only have Public keys. Is there any ways to recover my account?
0
votes
1answer
483 views

What's wrong with generating private keys in this way?

Mostly out of curiosity, but if you wanted to generate your own ethereum private/public key pair, and NOTE use anyone else's code, is there anything that's wrong with doing it like this: const ...
0
votes
1answer
2k views

Is it possible to extract private key from json/UTC file?

I created an ethereum paper wallet on an offline computer. Do I need to keep both the private key and the UTC/json file or can I just keep the UTC/json file and extract the private key from it. Thank ...
0
votes
0answers
1k views

A question about EtherZero

I'm reading about the hard fork EtherZero, in particular the section about how to get ETZ money. Can someone explain me what does it means "Derive the private key from the private key-approving ...
1
vote
0answers
331 views

Very confused. Seem to have lost my private key?

I created an Etherwallet today and printed out a hard copy. I also physically wrote down both my address and private key for security purposes. I carelessly transferred coins from Etherdelta to the ...
2
votes
2answers
19k views

what is a private key in an ethereum wallet like metamask? and how do I find it?

my question is about what a private key is? and where would I find it on an ewallet like metamask?
3
votes
1answer
1k views

Is it possible to create an X.509 certificate from an Ethereum/Bitcoin private key?

We all love Ethereum/Bitcoin (i.e. EC secp256k1) private keys, because they let us sign transactions. However, browsers don't support those keys for authentication -- what they do (sort of) support is ...
3
votes
1answer
6k views

How can I convert a 24 word seed into a 12 word seed (BIP39)?

The Ethereum wallet app Blockwallet for iOS generates seed phrases with 24 words (BIP39). Using their keytools I am able to get a private key. How do I convert the private key into a 12 word seed ...
0
votes
2answers
237 views

Web wallet best practices

I'm putting together an ether/erc20 token wallet in a chrome extension but would like to follow best practices with regards to private key security. I'm using localstorage to handle login and its ...
0
votes
1answer
1k views

How to generate private / public keys?

I'm trying to create a mobile app that will 1) generate transactions 2) send them to my server as a string 3) and my server will relay that transaction to a Smart Contract on the Ethereum ...
0
votes
2answers
384 views

Noob: If everything is public, how do I restrict access by clients?

Lets say I want to create a protocol for storing user data for ecommerce stores. If Walmart and Macy's sign up, how do I prevent Walmart from accessing Macy's user data when they do something like ...
0
votes
1answer
48 views

Security: Creating transactions through downloadable app

Let's say I own a smart home ecosystem and a mobile app that users can use to turn on their air conditioner. Is there a way to incorporate blockchain so that no one else can turn on that air ...
7
votes
3answers
4k views

Storing and passing encrypted data to another owner

I've been thinking about this situation for quite a while and I wonder if there is a way to solve this on the public Ethereum blockchain. User A stores some data on the blockchain, encrypted in some ...
2
votes
2answers
681 views

Consolidate Batch of ETH Wallets w/ERC20 Tokens?

I have a large number of Ethereum wallets with small amounts of ERC-20 tokens in each. How can I send all of these tokens to a single ethereum wallet without doing this process manually? (it would ...
2
votes
1answer
11k views

What is the easiest way to convert mnemonic phrase into keystore file?

I have an account created with Metamask - there is 12 words backup phrase. I'd like to import that account into Ethereum Wallet. I believe that in order to do so, I need to put a keystore file into ...
1
vote
2answers
789 views

Do private keys work across chains and networks?

If I generate a private key on mainnet now, would I be able to use it at the same address on Ethereum Classic? What about testnets? In what cases would the keys not give the same address on different ...
3
votes
1answer
9k views

Import unencrypted private key into ethereum wallet [duplicate]

I have an ETH adress. I have an unencrypted private key. How to import these in MyEtherWallet? Or another Desktop Ether wallet? Don't answer with an howto for Mist or Geth, because I use ...
2
votes
0answers
83 views

How does a relying party learn a PageSigner server's public key?

Hoping for some insight Into to page signing... I understand that: https://tlsnotary.org/pagesigner.html can provide proofs that a specific web page was returned from a third-party TLS-protected ...
0
votes
1answer
2k views

How was an address like 0x0000000000000000000000000000000000000001 generated?

How were the private keys for addresses like 0x0000000000000000000000000000000000000001 generated in ethereum? Surely they weren't made at random? Please let me know. How is it valid?
2
votes
1answer
325 views

Programmatic way of generating and extracting private address using Geth

I'm not sure why this is so tough but I can't find easy answer to do what I'm trying to do, which is following: Generate a new ETH address using passphrase using Geth (I can do this using "geth ...
11
votes
2answers
2k views

Does knowing half private key provide any useful information?

I have a private key and I want to store a paper version of it. I would like to split it in 2 equal parts (first 32 numbers and last 32 numbers) and store them in 2 different locations. Let's assume I'...
4
votes
1answer
5k views

Does a smart contract have a private key? [duplicate]

Does a smart contract have a private key ? Can it send the result of exucuting his code to the other nodes ?
2
votes
1answer
628 views

Sign Ethereum contract transaction w/ web3 on back-end?

How do I directly import via Private Key an account to the web3 library so it can get called by functions like myContract.methods.myMethod().call() & myContract.methods.myMethod().send()? I am not ...
1
vote
1answer
192 views

Why geth use scrypt for key derivation?

As I understand scrypt was designed to be computationally intensive, so that it takes a relatively long time to compute. For what geth need this? And why it does not use, for example, SHA-256?
3
votes
1answer
2k views

Is it Safe to Share the Wallet Keystore File Without Password?

There is an ICO that asks for ethereum keystore file, which is unusual for me as far as ICOs go. Even though it does not looks like it contains private key and password it still feels unsettling. Is ...
2
votes
3answers
605 views

Why shouldn't my application handle private keys for my users?

I'm in the early stages of planning the architecture of our Dapp, and one of my concerns is the barrier to entry of requiring the user to already be using Metamask or Mist. My understanding so far is ...
1
vote
2answers
192 views

How (without libraries) can I get the public address from a private key?

I want to know a way to know the public address used for funds transfer from the private key. (As myetherwallet do when you get your wallet info by entering your private key) I don't care with wich ...
4
votes
1answer
8k views

What is the difference between a private key, password, brain wallet, recovery passphrase, and wallet?

What is the difference between a private key, password, brain wallet, recovery passphrase, and wallet, if any? Is there any connection between these?
1
vote
1answer
5k views

Can I use my private key and pw to access MyEtherWallet on a new CPU? If so, how?

My hard drive pretty much melted because Dell laptops suck. I saved my private key and would like to access myetherwallet from a new computer. When I enter the private key on its own as a "Keystore ...
4
votes
1answer
1k views

Brute-forcing private keys

In this post by an Ethereum engineer taken from the Ethereum wiki about brute-forcing private keys, he writes: "Public keys are sized so that, absent a breakthrough in solving the discrete ...
4
votes
1answer
120 views

Can an Ethereum key generated on a laptop be brute-forced by someone else because of low entropy?

I read this and this tweets. Though, I understand that this issue occur because some people use the same private key mentioned in a blog/forum. But, on the first tweet, people were talking about the ...
1
vote
2answers
923 views

Does Ethereum have the "private key exposed on spend" problem?

Is it the case that Ethereum requires the spender to provide the private key for an address so that it can prove ownership when spending ETH? If so, is there some mechanism where each spend actually ...
0
votes
1answer
660 views

Can a smart contract safely store and use private keys? [duplicate]

Is there a way for a smart contract to safely store (and maybe use) private keys from other blockchains?
1
vote
1answer
3k views

Lost private key (keystore file)?

I am new in mining, so here's my story: I installed Linux, downloaded geth and Claymore DualMiner. Then generated a wallet address with geth (I was asked a passphrase) and started mining ETH ... ...

1
4
5
6 7 8