Questions tagged [private-key]

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

86 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
4k views

UTC/json wallet file: deleted -> recovered -> corrupted. 0.1 ETH REWARD

--EDIT-- I have advanced in my research. The UTC/JSON file in question is a 491 byte file. There are 256 random characters in the file with each 16 possible characters. Like a 256-number long ...
3
votes
0answers
703 views

Verify Public Key from an RSA SHA256 signature

Given an RSA SHA256 signature (obtained from encrypting a hash using an RSA Private Key), I must assert whether a provided Public Key matches this signature or not. It is imperative that this ...
3
votes
0answers
76 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
2answers
2k 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
0answers
564 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 ...
2
votes
0answers
18 views

Check whether public address was derived from a private key

I have several ETH accounts (and I own a private key from each one of them). I also have an address with a public key (holding some funds of course) but I totally forgot where this address came from. ...
2
votes
0answers
14 views

How to get public key from private key in C?

I know the theory behind generating the public address. convert to 65 byte uncompressed key removed first "04" byte, we have ...
2
votes
1answer
71 views

How to have users sign transactions on an ethereum based platform without giving up their Private Keys to the platform?

How to have users sign transactions on an ethereum based platform without surrendering their Private Keys to the platform? Need the process to be automated, while users not giving up their private ...
2
votes
0answers
82 views

Truffle test to verify events can be queried by the address of the signing user?

I'm trying to write a test which verifies I can query a given type of events by the user/address which sign them. I would like to apply TDD (relevant to say I haven't made the implementation for this ...
2
votes
1answer
237 views

Is it possible that Ganache can handle a private key without an “0x” prefix, but Parity cannot?

I am trying to sign and send a transaction as follows: let signedTx = await web3.eth.accounts.signTransaction(options, PRIVATE_KEY); let txReceipt = await web3.eth.sendSignedTransaction(signedTx....
2
votes
0answers
53 views

Why is an ephemeral key used in creating a digital signature?

When creating the 'S' component of a digital signature, both the actual private key and an ephemeral private key are used. The reasoning I've read is to ensure that the sender’s actual private key ...
2
votes
0answers
347 views

Customizable key generator for Node JS

I've been looking for a javescript/nodejs package that would take a passphrase as input and generate a public key. But I need it to produce the exact same public key with the exact same passphrase - ...
2
votes
1answer
2k 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 ...
2
votes
2answers
618 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
0answers
77 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 ...
2
votes
0answers
646 views

On Ubuntu, I can't build sha3sum

I was following this article. When I saw that I've to have this keccak256-sum, I moved to this GitHub repo. But, when I am building it, it's giving below issue. $ make cc -Wall -Wextra -pedantic ...
2
votes
2answers
621 views

How to programmatically generate sub addresses using the root address in hd wallet?

And without using the private key. I've been digging into the ConsenSys's eth-lightwallet, although it uses a derived private key to generate the address which would expose the root private in danger. ...
2
votes
2answers
336 views

Is there a way to access my wallet's private key? Recovering passcodes?

Not sure if this is appropriate here, but I'm trying to recover a lost wallet by brute-forcing the passcode. From a previous answer to the same question, it seems like the developers decided against ...
1
vote
0answers
13 views

Sign a transaction programmatically with a bash command line command

Let's suppose i have my metamask/ledger secret seed phrase. Here is what i want to do: I want to calculate the first account private key I want to sign a message with this private key It is possible ...
1
vote
0answers
45 views

Recover Lost Funds from Botched ETH Deposit Without Access to Private Keys?

I'm using the wei approach (4 right-most zeros) as a marker to track user deposits on my site. In short, every user on the site is told to append a custom amount of "wei" to every deposit ...
1
vote
0answers
42 views

My wallet has been compromised, how can I transfer all remaining funds to another wallet

Some scammers managed to get hold of my Private Key and trashed my wallet, using an automatic script. They didn't get hold of everything, because there was not enough Ethereum in it for paying gas ...
1
vote
1answer
776 views

Sweeping ETH from a 2 year old paper wallet, help?

I have a paper wallet from an ETH atm from 2 years ago. I am trying to sweep the funds onto a digital wallet. I have used multiple ETH wallet apps on my phone but none of them were able to recognize ...
1
vote
0answers
122 views

How does MetaMask secure / store unlocked accounts?

I understand that MetaMask stores the encrypted vault somewhere like C:\Users\USER_NAME\AppData\Local\Google\Chrome\User Data\Default\Local Extension Settings\nkbihfbeogaeaoehlefnkodbefgpgknn ...
1
vote
2answers
245 views

HD paths on MyEthereumWallet

I hae some coins on MyEthereumWallet, that I can see in block explorer, but can not access it. I think that the mnemoic and password is correct. My assumption is that I messed up something with the HD ...
1
vote
1answer
143 views

How get private key in private network?

I launched a private RPC Blockchain network and connected through another computer to this network. The connection is successful. How can I get a private key(through Python) if the file is on another ...
1
vote
0answers
199 views

Invalid Private Key Format

Apologies in advance if this is a silly question but I can't figure out why my metamask private key is 66 characters long instead of 64? I'm attempting to use this key with the MakerDao Dai.js library ...
1
vote
0answers
49 views

Why a buffer is required in the process of creating keys from the seed

This hdkey library is creating a Buffer in the process of creating keys as an example. var HDKey = require('hdkey') var seed = '...
1
vote
0answers
49 views

aes-128-ctr is not available

While trying to extract key from keystore file using password, using the library keythereum, I'm getting the error: aes-128-ctr is not available I'm using web3 version ^0.19.1. Ref: https://github....
1
vote
2answers
142 views

geth node on ubuntu setup question

To run a node on my vps, --rpccorsdomain "mydomain.com" and set maxconnection, can be set at the same time so that only my own website can send rpc call for security, also I use max connection to ...
1
vote
1answer
234 views

How can I provide an ethereum public address to each user registering on my website.?

is it possible to do using web3.js for a dapp that is going to be run on mainnet.? I have a requirement to assign valid ethereum address to each user who are registering on my website. I want this ...
1
vote
0answers
227 views

Web3.js function 'sign' - where does it obtain the private key from?

I'm reading Web3.js docs on function web3.eth.sign (here), which state: The address parameter can also be an address or index from the web3.eth.accounts.wallet. It will then sign locally using the ...
1
vote
2answers
876 views

geth: command not found (Ubuntu)

I have Ubuntu 18.04 installed, and I just installed Mist. To my understanding, installing Mist should have installed Geth as well, but when I do the command geth in a terminal, I receive geth: ...
1
vote
0answers
213 views

Is it safe to use web3 with electron/angular?

I am building an electron or angular (not sure yet) application integrated with web3. I will be using a parity node and infura as a fallback node to communicate with the blockchain. I will be ...
1
vote
0answers
70 views

Derive additional accounts from private key

Im building a dApp and during account creation I can generate an address as well as private/public (extended) keys. What i want is to be able to generate further accounts after the seed is no longer ...
1
vote
0answers
393 views

ERC20 token transfer without private Key

On my node there is an account, which I know the address and password, but do not know privateKey. This account has tokens ERC20 and ETH for gas. How can I transfer tokens to another wallet? The ...
1
vote
0answers
523 views

Whats going on with these mysterious ethereum addresses?

A while ago I found website ethersecret.com which turned out to be very interesting; it provides a search engine for ethereum private keys and their corresponding addresses and whether they hold any ...
1
vote
0answers
321 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 ...
1
vote
0answers
57 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 ...
1
vote
1answer
746 views

how to use private keys when working with smart contract

Here is my scenario . We have wallets (accounts) with private keys . In case of raw transaction I know how I can use private keys for signing tx . How I can use private key for an account when I am ...
1
vote
1answer
428 views

Help on recovering wallet through brute force or from extension data (Bounty on recovery)

I know 10 of 64 characters (hex) of my ethereum private key unencrypted and their positions. I also know the corresponding wallet address. Is a brute-force possible? What I am thinking of is ...
0
votes
0answers
3 views

Change seed phrases

How I understand seed phrase is a secured phrase of my private keys. And then I have a question: If I create a wallet I get one seed phrase, one account and one private key. If I push another private ...
0
votes
1answer
13 views

Does Exporting tokens from a metamask account with private key to a wallet, export the ethereum too?

Wanting to know if I’m exporting with my private key from metamask to a wallet will all contents of the MM account be exported? iE will the ethereum be exported along with my Theta token? Or would ...
0
votes
0answers
12 views

Is there any method to generate new public private key pair in solidity?

I want to generate a new ethereum account in solidity(if possible in online Ide remix) & sign transactions with the private key. In other words, I want more ethereum account apart from the default ...
0
votes
0answers
26 views

How to extract private key for Ethereum Ledger Account using Recovery Phrase BIP39 tool?

Can someone please tell me how to find my public key address in a "sea" of Derived Addresses when using the BIP39 (44 for Ethereum) tool? I've isolated a laptop with this loaded in a browser,...
0
votes
1answer
44 views

What is the safest way to generate an ethereum wallet for cold storage?

I am currently making a DIY cold storage using a desktop computer. I cannot find any good desktop wallet for ethereum cold storage. Something like electrum for BTC. So, I can only found these 3 ways ...
0
votes
0answers
66 views

Non ERC 20 coin sent by mistake to MyEtherWallet (MEW)

Newbie here - apologies for anything inappropriate and lack of tech expertise. I made a dumb mistake and sent some THETA tokens to a MEW Ether address. My bad - I had not realised that THETA had moved ...
0
votes
1answer
40 views

If I don't use metamask who manages the private key and the incoming or outgoing ether?

I want to build a dapp without using metamask but web3.js and a node (geth / parity). So if I use this second method what happens when ethere needs to be sent to an account?
0
votes
0answers
30 views

Please help to detect ETHEREUM JSON key file

Time: 2014 year. I have next key: {"public_key":"02f6197ef15d989898b11c6c0axxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "data":"...
0
votes
0answers
34 views

one wallet address, multiple users, what is the best way to keep the private key secured?

I would like to develop an application using the web3j. However, it needs to be just one wallet that multiple users will deposit and withdraw from. The allowances are kept in a centralized database. ...
0
votes
1answer
15 views

Why is sending ETH from multiple accounts in a single transaction deemed a “security hole”?

A user on Ethereum SE posted the following As you noticed, there is no way to send a single from multiple addresses. There is always just one sender. For Ether transfers the Ether value is always ...