Decrypt key credentials in keystore-legacy