The client store its private key locally and use to sign messages send to server, the server stores the public key of the user in a database to verify messages from client.
Here's my problem, if the client lose its private key due to some accident(like hard-disk being destroyed), it will never be able to connect to server(unless call the administrator of the server to reset his key).
So I'm thinking, if there's an algorithm to generate a deterministic RSA key-pair from a password(which can be kept in the client's human brain), the problem mentioned above will be eliminated.
Is that possible to implement such algorithm using Rust-openssl?