Generate keys deterministically based on your email and passphrase, store them locally, and upload the encrypted private key to the server.