made the encrypted private key optional in locked documents