. "The closest to a solution is what was mentioned in another answer, in that the password is stored also in the encrypted version and the private key is kept offline." . . .