Questions tagged [private-key]
in assymetric cryptography, the private key is used to unlock, sign or decrypt
459
questions
3
votes
1
answer
2k
views
Is it possible to generate a priv key from scratch? [duplicate]
I'm just figuring out how to create my personal keypair in an isolated computer.
By this way all the solutions that I've found are installing software from third parties. Even if I choose to use geth, ...
3
votes
1
answer
2k
views
Are there invalid private keys?
Private keys of Ethereum accounts are usually represented as 64-character hex strings. Will any such string work as a private key? Are there limitations on what the key could be? If not, I can just ...
3
votes
2
answers
10k
views
How to derive address from private key? [duplicate]
I want to give users a private key so they can Easily get address..
Why? So a single series of digits enables them to have both public address and private key.
Of course this is for temporary use ...
3
votes
1
answer
133
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 ...
3
votes
1
answer
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?
3
votes
1
answer
423
views
how do I create an ethereum valid key pair in nodeJS?
I need to generate a key pair that can be used to write the a besu (ethereum) private ledger. I wrote the following code but the architect says this will probably not work with ethereum.
The ...
3
votes
1
answer
9k
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 ...
3
votes
1
answer
1k
views
I need help with signatures
So, for my studies, I am supposed to interact with a contract function that has the following built in condition:
if (ecrecover(_h, _v, _r, _s) == msg.sender && _h == sha3(this))
I am ...
3
votes
2
answers
306
views
Securely send symmetrically encrypted data to contract?
Hey there I was wondering what the best technique would be for sending encrypted data to a contract, which can later be decrypted, either by the initial user, or by the contract itself, but not anyone ...
3
votes
2
answers
795
views
Can one wallet address have multiple private keys?
On the forum there were some threads about people creating multiple public keys from one private key. I am wondering if the reverse is possible as well. Can 2 private keys create 1 public key. I am ...
3
votes
1
answer
806
views
Find a lost private key in text files on Mac
I have been developing a web app and used many autogenerated ETH addresses. I stored all of them into one folder in the next format:
/storage
123456789/
mainnet.eth.privateKey:
"...
3
votes
1
answer
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 ...
3
votes
2
answers
1k
views
How public key is recovered for signature verification?
I see address everywhere in ethereum but not public key, and I understood that address is Keccak-256 of pubkey, and I do not think it is possible to derive pubkey from address. So, my question is ...
3
votes
1
answer
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 ...
3
votes
1
answer
320
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.
3
votes
1
answer
755
views
How do you calculate a privatekey/public key from an xprv/pbub?
I am trying to understand how HD wallets work in Ethereum. Currently I have managed to generate a child extended private and public key (xpub and xpriv) from my BIP32 Root Key. However, I can't find ...
3
votes
2
answers
18k
views
I accidentally lost the key to my wallet
So I recently formatted my drives again and wiped my hard drives. I mistakenly did not copy my Account key but I copied my password. Is there anyway to gain back my account?
3
votes
1
answer
570
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 ...
3
votes
1
answer
391
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 ...
3
votes
1
answer
314
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 ...
3
votes
0
answers
37
views
Is there a library to sign transactions using a cold wallet?
I have a Ledger Nano S I want to use for signing transactions on a server. Is it possible to use a library to do this every time without the need of someone manipulating the hardware wallet but ...
3
votes
0
answers
109
views
Storing Private Keys in IoT Devices
In a network of IoT devices like internet-connected Raspberry Pis which sends transactions to the Ethereum blockchain, the Pis need to be able to access their own Ethereum private keys in order to ...
3
votes
2
answers
3k
views
How to generate ethereum address derived from xpub in PHP?
How to generate ethereum address derived from xpub in PHP?
I am trying to generate ethereum address similar like below link does for bitcoin.
https://github.com/blockchain/receive-payments-demos
I ...
3
votes
0
answers
718
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 ...
3
votes
1
answer
804
views
Can't locate local key file asked by parity to sign a transaction
When I use NODE-RED enviroment to send transaction using Parity, the signer doesn't ask only for the password as usual but also for the local key file, which I can't locate in my laptop (I'm looking ...
3
votes
0
answers
230
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 ...
3
votes
0
answers
1k
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 ...
2
votes
2
answers
1k
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 ...
2
votes
2
answers
5k
views
account recovery with web3 privateKeyToAccount()
I'm currently stucked by this strange thing:
I started by exporting my private key(fdba67e41f7c6767100969ae3f045d10a59e35d380acf5b37a3b208bd2969347) from my metamask account, which i can use to login ...
2
votes
3
answers
824
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 ...
2
votes
1
answer
4k
views
Recovering private key from keystore file
Recently I came across my old keystore file from the original Ethereum Wallet that I used back in 2017. Unfortunately I cannot find the private key or password for that wallet anymore, big problem of ...
2
votes
2
answers
28k
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?
2
votes
1
answer
16k
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 ...
2
votes
1
answer
432
views
Why is Ethereum's key generation so much faster than GPG's?
Ethereum uses asymmetric public/private key pairs to generate its accounts. So does GPG.
GPG key generation takes ages and needs lots of time/entropy. Ethereum doesn't. Why the big difference?
2
votes
1
answer
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, ...
2
votes
1
answer
2k
views
How to verify a signed message and that it hasn't been reused/tampered with?
I have seen this question and others but none answers my qustion.
How can I sign a message and make sure that the public key I recover is actually belongs to the private key that signed the message?
...
2
votes
1
answer
417
views
Simple question : Can I send private key via Solidity and an approved contract code?
I want to make an approved contract using Solidity and place the private key altering the state of a contract, for a certain address owner to obtain.
Can this be done, and how ?
2
votes
1
answer
2k
views
What does it mean when "admin keys have been burnt"?
I've seen multiple times projects on Ethereum that have stated that their "admin keys have been burnt", thus ensuring security to all the users that the developer will not modify/update any ...
2
votes
2
answers
592
views
Programmatically getting an Ethereum address for a raw hex private key
Let's assume one has a private key in a raw hexadecimal format:
# Not a real key
ddc64840388bc5f2bc9d40a29b35ae3c41a8cdf9ee1dfdc5a46414e3db3de2db
How one would get the corresponding Ethereum account ...
2
votes
2
answers
348
views
How to authenticate a smart contract
my Question is, how the identity of a smart contract can be verified, or basically how to authenticate a contract.
As far as I know a contract does not have a private key and also cannot keep one, ...
2
votes
1
answer
946
views
Keeping private key for signing transactions on a local server
Need an idea for not storing private key to sign transactions (on public server/database file system).
The private key is needed to sign the transactions for transfer function ERC20 standard.
To ...
2
votes
2
answers
3k
views
How can I obtain my public key (using web3)
I know my Ethereum address, my Metamask wallet will give it to me, and I can run :
web3.eth.coinbase
But I want to know what my public key is.
Is there any way I can find that ?
(the reason I want ...
2
votes
2
answers
2k
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 ...
2
votes
1
answer
206
views
Proof of authenticity without microchips?
If I was looking to "tag" items to prove uniqueness/authenticity, it'd be easiest to register them on the blockchain (public key) and then verify them through signing with the private key, right?
It ...
2
votes
1
answer
154
views
Can I use a BLS12-381 private key to sign Ethereum transactions?
I'm new to cryptography and I've recently been studying BLS signatures. Please forgive me if I make any mistakes while writing.
I've tried generating a BLS key pair and using the private key to derive ...
2
votes
2
answers
25k
views
How can I change the 12 word phrase in my trust wallet?
I created a ETH trust wallet on my phone for someone and he has now imported the trust wallet to his phone. Is there any way to change the 12 word phrase or somehow give the sole control to the ...
2
votes
1
answer
78
views
Wallet generator
probably this will be a very stupid question... So be careful :)
from eth_account import Account
while True:
newAccount = Account.create()
f = open("File.txt", "a")
f.write("\nAddress: " +...
2
votes
2
answers
570
views
is it possible to steal my ether when I unlock it?
is it possible to steal my ether when I unlock my account? The private key is stored in my local storage. I am running geth on my PC.
How can someone make transaction with my account? without my ...
2
votes
1
answer
16k
views
How to extract private keys from Ethereum Wallet? [duplicate]
How to extract private key of an account from Ethereum Wallet on Linux? Please specify the exact filesystem locations.
I need private keys both for the main network and for the Ropsten test network.
2
votes
2
answers
2k
views
How wallets and web3 find public key from private key? [duplicate]
How is it possible for wallets like MetaMask or libraries like web3js to find public key by only providing private key? AFAIK this is not possible generally in elliptic curve.