Questions tagged [public-key]

The tag has no usage guidance.

11 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
1answer
37 views

When running “sudo cleos wallet keys” I can't see the keys but with “cleos wallet keys”, I can see them

I've built the source I'm not using docker. I'm on ubuntu 16.04. eos version is 1.4.3 when running sudo cleos wallet keys I can't see the keys but with cleos wallet keys I can see them. How ...
1
vote
0answers
52 views

How to pass in a public key as a string to an action?

I see that public_key is public_key = std::variant<ecc_public_key, ecc_public_key, webauthn_public_key> While ecc_public_key is std::array<char, 33> How would I create a public key ...
1
vote
0answers
23 views

Which mobile wallets that let you change your owner and active keys?

What are some android and iOS wallets that let you change your owner and active keys by pasting in the new public key?
1
vote
0answers
113 views

How can I generate public and private key pairs within the contract

How can I generate public and private key pairs inside my smart contract? Is it even possible to generate key pairs insidet the smart contract?
1
vote
0answers
112 views

Importing a EOS private key into an Android or iOS wallet

I generated a EOS private key via the command line and would like to import this private key into my Android or iOS. Which mobile wallets support importing of EOS private keys?
1
vote
1answer
111 views

Smart contract error while calling recover_key

Specs I am using the function recover_key from the library crypto.h at the following link: https://github.com/EOSIO/eos/blob/master/contracts/eosiolib/crypto.h Code int compressed_size = ...
1
vote
1answer
210 views

Validate if active public key and owner public key is correct

How do i validate if user entered correct active public and owner public key (e.g. length, no forbidden characters entered) using javascript?
1
vote
0answers
165 views

how to convert eosio::public_key to c public_key?

In the vote.cpp, they use this type of public key: namespace eosio { struct public_key { unsigned_int type; std::array<char,33> data; friend bool operator == ( const ...
0
votes
0answers
14 views

Does EOS's P2P transmission mechanism support encrypted transmission of information?

I'm not sure if this is already supported. The use case is like this: Using secret-key cryptography, Alice and Bob would have to devise a single cryptographic key that they will both know and use ...
0
votes
1answer
50 views

How to encrypt a message using an EOS public key and decrypt with the EOS private key?

I'm not sure if this is possible or not. Can one encrypt a message using their EOS public key and then decrypt this message using their private key? I'm taking the approach of how one would use a PGP ...
0
votes
0answers
140 views

Generated a EOS public private key pair offline. How do I link an account to it?

I created a EOS public private key pair using eosio.js library and now I want to link this key with an account to make it usable so I can receive funds. How can I do this? And where can I do this? ...