Questions tagged [private-key]

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

Filter by
Sorted by
Tagged with
0 votes
2 answers
21 views

Convert a private key to a .pem file

How can I convert a private key to a .pem file to upload it to AWS KMS?
Falcon Stakepool's user avatar
0 votes
1 answer
13 views

How to import an existing private key into AWS KMS?

Is there a way to import into AWS Key Management Service an already existing private key so I can sign transactions with that wallet? I have found some tutorials online (like this one: https://www....
Falcon Stakepool's user avatar
0 votes
0 answers
24 views

What is the private keys and wallet [duplicate]

{ "type": "private-key", "version": 3, "crypto": { "ciphertext": "513b4f7565bc1d655bc1789f486f66c812e5af97a0b297167f083567c913f488"...
Shugar Yum's user avatar
0 votes
0 answers
133 views

How to know in a deterministic way if a specifc address is vulnerable to the profanity hack?

Context : My private key just got stolen. The thieve sent to me a message starting by ”nice payment for your work„ on https://chat.blockscan.com along an e‑mail from [email protected] revealing a ...
user2284570's user avatar
0 votes
1 answer
55 views

A special private key that can be used to make a TX to a certain wallet ONLY

I want to be able to archive this: a private key or its substitute (P) of a user wallet is stored on a server there're 100s of user wallets there, hence 100s of (P) too server isn't a safe ...
nicholas.fowler's user avatar
0 votes
2 answers
24 views

What ways are there to prevent frontrunning on published private keys?

Since once a private key is public knowledge, anyone can sign with them, and there are plenty of bots prepared to drain funds added to exposed accounts. My question is, what ways are there to ...
Zommuter's user avatar
  • 113
0 votes
0 answers
39 views

Generating Ethereum Address from Mnemonic Seed Phrase in Java

I hope you're doing well. I have a question related to Ethereum address generation in Java. I'm currently working on a project and I need to generate an Ethereum address using a mnemonic seed phrase. ...
Abdul Moiz's user avatar
0 votes
1 answer
25 views

Is it possible to trigger send transaction from NodeJs server for safe wallet without owner private key and owner get the notification for signing

I want to create a NodeJs server and use the safe sdk wallet to create the safe Instance and initiate the transaction from it, and then send the notification to all owners so that they can sign the ...
rizwan ahmad's user avatar
0 votes
1 answer
50 views

How to generate a valid Private Key using CLI?

I am trying to create a private key which is valid and can be used for production work. What tool should I use to create a Valid Private key on my system using Terminal/CLI?
Megabyte's user avatar
2 votes
1 answer
119 views

Deriving an address from a private key programmatically

I'm stuck between a rock and a hard place right now. I'm developing an app with react native, and users need to be able to import their wallets via their private keys (and hopefully mnemonic phrases) ...
Morgandril's user avatar
0 votes
0 answers
25 views

What happens to ECDSA public key if a constant is added to private key?

Consider I have a random number on curve Secp256k1 as the private key. I know if I calculate G multiplied by the private key in EC domain, I get the public key. I am wondering what happens to public ...
MJay's user avatar
  • 140
1 vote
0 answers
32 views

What kind of malicious activity could an RPC gateway inflict on the user?

Let's say, a third-party RPC gateway for an Ethereum-like networks decided to turn itself into a malicious one. Apart from the likes of selling users' data, what kind of malicious activity could it ...
Kyell's user avatar
  • 91
0 votes
1 answer
56 views

Is private key sent out at any ocassion in a request to any RPC?

Do I understand correnctly that no RPC whether it be the standard Ethereum full node, or an RPC/REST API gateway, require a private key to be sent to it in the pure text? A private key is only used to ...
Kyell's user avatar
  • 91
0 votes
1 answer
40 views

Custom digital signature of a wallet

I would like to get a custom signature from a wallet. What I mean is, according to EIP-712 the signature algorithm used in Ethereum is kekkac256; I would like instead to use a custom signature ...
Mattia Monari's user avatar
3 votes
0 answers
28 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 ...
Falcon Stakepool's user avatar
0 votes
1 answer
31 views

how blockchain verify private keys, I am sure nodes does not store private key, so how private key is validated?

it's the doubts lie in the very core concept, but I wanna know how the nodes know that the private+public key is right.
aakash4dev's user avatar
1 vote
1 answer
70 views

Use private key to encode your own public address

Let's say I use a wallet's private key to encode/digitally sign it's own public address, meaning that upon using its public address to decrypt that encoded/signed data, the result would be the public ...
user2340939's user avatar
0 votes
0 answers
85 views

Can't derive an account from a mnemonic phrase like in metamask?

I wrote a script that derivate keys on a given derivate path. I tested it here, and the results are for the path m/44'/60'/0'/0/0 matched. My goal is to generate a mnemonic phrase, and then derive an ...
Mod diller's user avatar
1 vote
0 answers
86 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 ...
pgermani's user avatar
0 votes
0 answers
62 views

How to get extended public key from extended private key in bip39?

I have root key, and I want derivate child key from it. As I understood, I need parent key`s fingerprint, which is first 32 bits of ripemd160, of sha256 of public key. How can I get public key from ...
Mod diller's user avatar
1 vote
1 answer
26 views

sending a method on nodejs with admin account

I want to send a method from the owner's account to which I have the private key. I tried adding the private key int he red rectangle but when I run it I get this error:
Djillali SE's user avatar
3 votes
1 answer
470 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 ...
Jean Claude Dusse's user avatar
0 votes
0 answers
33 views

Storing credentials inside NFTs

I was wondering whether it was possible to store credentials or sensible informations inside a NFT in a secure way. The only way it came to my mind was encrypting the data using the private key of the ...
Mattia Monari's user avatar
3 votes
1 answer
222 views

Now that eth_decrypt and eth_getEncryptionPublicKey are deprecated, is there a good way to encrypt and decrypt data via a user's private key?

The project I'm trying to make has this flow: User inputs some data It gets encrypted using their private key It gets stored to a place which is accessible to anyone but only the person in possession ...
AweSamarth's user avatar
1 vote
0 answers
34 views

how to get 'z' in ECDSA?

There are 2 nice articles about ECDSA of getting private key by the same 'r'. I dont know how to get the 'z'. Can u describe in detail and give an example?first article second article
LEVI_104's user avatar
0 votes
1 answer
65 views

creating multiple eth keys from one private key [duplicate]

I want to create multiple Eth public Keys from one private Key like exchange hot wallet
Oswald's user avatar
  • 1
0 votes
1 answer
260 views

What is the format of the private key required to deploy using deploy-zksync?

I am trying to deploy a very basic smart contract using zkSync. This is the code, from they docs: deploy.ts import { Wallet, utils } from "zksync-web3"; import * as ethers from "ethers&...
Falcon Stakepool's user avatar
1 vote
0 answers
313 views

How to quickly get private keys from mnemonic phrases

I need to get private keys (ethereum/bitcoin and other currencies) from mnemonic phrases as fast as possible. At the moment I am using BitcoinJ library: Set<BigInteger> privateKeys = new HashSet&...
Cosmo773's user avatar
0 votes
0 answers
52 views

retrieve private key from v4 keystore with password

I've got a keystore file from when I staked 2 years ago. I have the password and the keystore tests as valid, but I'm trying to get the privatekey/mnemonic back out of it. All the material I see for ...
John Westlund's user avatar
0 votes
1 answer
204 views

What is the best way to store the private key to sign transactions on web3js

So I have a web3js script(bot), something along these lines: let walletAddress = "" let pvtKey = "" signed = await web3.eth.accounts.signTransaction(txObject, pvtKey); What is ...
Jonh Snow's user avatar
0 votes
2 answers
95 views

How can someone verify that the deployer of a smart contract does not hold a matching private key?

Smart contracts don't have private keys. But there exists a private key matching their public key/address in the sense that their public key is derived from a key pair generation mechanism. How can I ...
fallen_angel's user avatar
0 votes
0 answers
127 views

Get Private key from UUID of old eth Wallet

I have a UUID generated by the eth-cli (2016). Is it possible to generate the private key from this UUID, or does the UUID get generated from the private key? If it works from UUID to private key, how ...
Tidoni's user avatar
  • 101
0 votes
1 answer
34 views

Why would Ethereum forks chose different Bip39 Derivation paths derivation path than ethereum?

Just wondering why Ethereum forks like Ethereum Classic or others would chose a different derivation path than Ethereum? Having the same derivation path would guaranty greater support as it would be ...
Kevin Wad's user avatar
  • 317
0 votes
1 answer
46 views

Can ECDSA keys hashing to a contract address be used to sign a transaction?

Theoretical question: say I randomly managed to get a private key that provides a pubic key that hashes to and address that happens to be already in use for a contract instead of being an EOA. Does ...
Pablo González's user avatar
0 votes
1 answer
513 views

Hardhat Tasks - How to import an account with a private key as signer

I am writing a Hardhat task. Hardhat ethers provides ethers.getSigners()which returns me the addresses derived from the mnemonics saved in process.env. However, I want to use an account address, of ...
user66732's user avatar
  • 435
0 votes
1 answer
37 views

Is there a hardware wallet solution which allows importing existing private keys?

I would like to avoid storing private keys for signing messages and transactions on my computer. The logical solution would be a hardware wallet like Trezor or Ledger. The problem is, I was unable to ...
CherryDT's user avatar
  • 103
3 votes
2 answers
609 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 ...
IsmailK's user avatar
  • 31
0 votes
0 answers
48 views

What is the best way to store master private keys and mnemonic in an HD Wallet implementation?

I have to implement HD Wallet and issue a deposit address to the user. Is there a best practice for storing master private keys and mnemonic? I would appreciate it if you could also tell me how to ...
Primrose's user avatar
0 votes
1 answer
93 views

Why i am getting different public key values from same private key?

I have been exploring ethereum-cryptography library to build HD wallet features for my demo application. I have used HDkey library to generate master private key from master seed. The code is below ...
Rohit's user avatar
  • 3
-1 votes
1 answer
854 views

Can you use multiple seed phrases on a Ledger Nano hardware wallet?

When you're shipped a Leger Nano hardware wallet, you generate that device's native seed phrase (private key) upon opening the device. Can you additionally recover an existing seed phrase on the ...
user610620's user avatar
  • 1,486
1 vote
1 answer
408 views

Why I can't import private key to metamask?

I'm new. Sorry for the question. Please, help me to understand why I can't import a similar private key to metamask: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE8AF48A04CBFD47E8CB0366361 how I can fix this?...
Vincent's user avatar
  • 11
1 vote
0 answers
468 views

ECDSA Nonce reuse attack

so I recently stumbled upon this video by @bertcmiller who created two transactions with the same nonce "k". That seen I researched quite a lot of pages explaining how to recover the private ...
Robert Bahn's user avatar
0 votes
1 answer
23 views

Alphabets in x , y coordinates of Elliptic graph

I was reading about the ethereum address generation process. I am very confused that when Private key generated is processed under "Elliptic Curve Digital Signature Algorithm" , we get a ...
Brijesh Roy's user avatar
0 votes
1 answer
51 views

Receiving payments from my clients on a website, and when each user is given his own address

I want to receive crypto-payments from my clients in such a way that they'll be able to send them to an address directly and from any type wallet they may have. Namely, I don't want to have them sign ...
Kum's user avatar
  • 75
0 votes
0 answers
45 views

Crypto Exchange Account Model (HD Wallet?)

There are some crypto networks such as Bitcoin, Ethereum, TRON, Solana, etc. To develop a crypto exchange, it is a good idea to have a private key for each network, and generate an address (for ...
raitech's user avatar
0 votes
1 answer
245 views

How to send tokens to a wallet without exposing your Private Key (ethers.js)?

Intro: I am trying to create a web app where I can send some tokens from my personal account to another. I found out a possible way to achieve my goal using ethers.js in the following way: // connect ...
Federico Gentile's user avatar
0 votes
1 answer
212 views

How to store private key on a VPS in a secure manner?

I have a service which will interract with my smart contract which will include money transfer. For this reason, a private key of the owner or deployer of a smart contract will have to be store on a ...
Kum's user avatar
  • 75
1 vote
0 answers
31 views

How to correctly get PubKey from PrivateKey in Python

I'm trying to master the basics of cryptography behind ethereum etc, mean very basics. trying to calculate the Pub Key via basic Pub = Priv * Generator Poing G in python, so basically from ecdsa....
user109280's user avatar
0 votes
1 answer
248 views

How secure and trusted Web3Auth is?

So my question is about the to which degree Web3Auth is trusted? I played around with their SDK a bit, and after user logs into the DApp, the application can even retrieve user's private key and ...
Ahmet Yazıcı's user avatar
1 vote
2 answers
45 views

how does one secure one's key when writing an oracle?

I'm looking to write an oracle that will interact with the blockchain in the following way. Client submit a withdrawal request on the contract The Oracle will pick up that request, check the balance ...
zcaudate's user avatar
  • 105

1
2 3 4 5
10