Hot answers tagged

7 votes
Accepted

Can I change the passphrase of a private key that has been encrypted?

The passphrase set during the fundraiser can not be changed. After you have entered the fundraiser details, some wallets will store your private key in a keystore file encrypted with a password. In ...
user avatar
  • 1,310
5 votes

What are the differences between key, key_hash, address, contract and signature in Michelson?

Why can I convert between address and contract. But not between address and key_hash? There is the (IMPLICIT_ACCOUNT) instruction to go from key_hash to address. For the other direction, there was (a ...
user avatar
5 votes
Accepted

What are the differences between key, key_hash, address, contract and signature in Michelson?

key_hash is blake2b hash of a public key, in the base58 encoded form it can start only with tz, but address is more general, it can also hold KT accounts; There are no instructions for that, probably ...
user avatar
5 votes

Creating public key hash

Try https://github.com/murbard/pytezos/blob/master/pytezos/crypto.py from pytezos.crypto import Key key = Key(key='mnemonic', passphrase='******', email='foo@bar.com') key.public_key_hash() >>&...
user avatar
5 votes

How to obtain an unencrypted private key from an encrypted private key?

With pytezos import pytezos print(pytezos.Key('edesk...', passphrase='yourpassword').secret_key()) UPD >>> from pytezos import Key >>> key = Key.generate() >>> key....
user avatar
  • 4,399
4 votes
Accepted

Can I use BIP32 HD key pairs to derive ed25519 addresses

You can not derive Ed25519 keys in a way that is compatible with bip32 or bip44. Bip32 only defines a derivation scheme for secp256k1, and bip44 depends on bip32. To get around this problem there's a ...
user avatar
  • 1,310
3 votes
Accepted

How to convert ed25519 bytes to Tezos public key

You can find those bytes at the bottom of this file https://gitlab.com/tezos/tezos/blob/master/src/lib_crypto/base58.ml In your case, "\013\015\037\217"
user avatar
  • 4,399
3 votes

How to obtain an unencrypted private key from an encrypted private key?

You may want to read this guide. There is some Python code inside.
user avatar
  • 3,278
2 votes
Accepted

eztz paper wallet

With regards to the difference between public key (pk), secret key (sk) and public key hash (pkh). The public key is used by other people to send encrypted messages to you, and it is also used by ...
user avatar
  • 2,348
2 votes
Accepted

Is it possible to estimate transaction fee without using a private key?

You can use any signature in place of that parameter. For example, you can use edsigtXomBKi5CTRf5cjATJWSyaRvhfYNHqSUGrn4SdbYRcGwQrUGjzEfQDTuqHhuA8b2d8NarZjz8TRf65WkpQmo423BtomS8Q and it should return ...
user avatar
  • 421
2 votes
Accepted

If I delete one of my tezos account in ledger live, what happens technically?

Ledger Live, Temple, Kukai, and other wallets use HD key generation which allows for an infinite number of cryptographic secrets to be generated from a single master seed. The master seed is the 12-24 ...
user avatar
  • 36
2 votes

How do I change the originating address in truffle?

I haven't found a solution myself using what is provided by Truffle to do what you want, so here is what I do. I guess you must be using Taquito. In this case, you can use this function to change the ...
user avatar
1 vote
Accepted

The revealed key of a contract in Michelson

I think we are in the third case: Maybe useful but none has yet proposed it with convincing use cases? It is true that the keys must be given from the outside but so are the signatures so if one ...
user avatar
1 vote

Understanding base58check encoding of a Tezos public key

Have a look at this library for Tezos, written in Go. This function in particular generates a new wallet from random bytes (mnemonic and password can both be considered as random bytes) and creates an ...
user avatar
  • 3,344
1 vote

Can I change the passphrase of a private key that has been encrypted?

The passphrase used for fundraiser wallets contribute to the makeup of the secret key, so it's impossible to change it (these passwords aren't actually used for encryption). If you believe your wallet ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible