Open matevz opened 3 months ago
The oasis web wallet checks whether the public key corresponds to the secret key when importing the 64- byte Ed25519 keypair (https://github.com/oasisprotocol/oasis-wallet-web/pull/1007).
The CLI should do the same.
OPTIONALLY: Support importing the 32-byte secret key only and print a warning that this is very unsafe.
The oasis web wallet checks whether the public key corresponds to the secret key when importing the 64- byte Ed25519 keypair (https://github.com/oasisprotocol/oasis-wallet-web/pull/1007).
The CLI should do the same.
OPTIONALLY: Support importing the 32-byte secret key only and print a warning that this is very unsafe.