def _decrypt_masterpassword(self):
aes = AESCipher(self.password)<EOL>checksum, encrypted_master = self.config[self.config_key].split("<STR_LIT:$>")<EOL>try:<EOL><INDENT>decrypted_master = aes.decrypt(encrypted_master)<EOL><DEDENT>except Exception:<EOL><INDENT>self._raise_wrongmasterpassexception()<EOL><DEDENT>if checksum != self._derive_checksum(decrypted_master):<EOL><INDENT>self._raise_wrongmasterpassexception()<EOL><DEDENT>self.decrypted_master = decrypted_master<EOL>
Decrypt the encrypted masterkey