forked from borgbackup/borg
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto: fix and simplify _get_session_key, fixes borgbackup#7953
also: - convert sessionid memoryview to bytes before calling _get_cipher, to avoid TypeError in (session + flavour) operation. - add docstring and comments
- Loading branch information
1 parent
443245a
commit ec33b0c
Showing
1 changed file
with
17 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters