ghost.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:ghost 作者: nir0s 项目源码 文件源码
def _assert_valid_stash(self):
        if not self._storage.is_initialized:
            raise GhostError(
                'Stash not initialized. Please initialize it and try again')
        else:
            try:
                key = self._storage.get('stored_passphrase')
                if key:
                    self._decrypt(key['value'])
            except InvalidToken:
                raise GhostError(
                    'The passphrase provided is invalid for this stash. '
                    'Please provide the correct passphrase')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号