I was wondering if we could add a function to import keys (from IO or somewhere else) and check them. A test is already performed for that but no functions on the documentation allows to import keys and check them, only generating them from randomness.
Therefore the programmer should code to detect if keys are valid (secret key matches the public key) if they are not generated by the script.
It also allows import zeroize on keypair and forbids copy.
Hello,
I was wondering if we could add a function to import keys (from IO or somewhere else) and check them. A test is already performed for that but no functions on the documentation allows to import keys and check them, only generating them from randomness.
Therefore the programmer should code to detect if keys are valid (secret key matches the public key) if they are not generated by the script.
It also allows import zeroize on keypair and forbids copy.