mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-25 17:27:31 +00:00
crypto: better raise NotImplementedError if we have no id_hash
This commit is contained in:
parent
aff626119a
commit
e647360a0e
1 changed files with 1 additions and 0 deletions
|
@ -156,6 +156,7 @@ def __init__(self, repository):
|
|||
def id_hash(self, data):
|
||||
"""Return HMAC hash using the "id" HMAC key
|
||||
"""
|
||||
raise NotImplementedError
|
||||
|
||||
def encrypt(self, chunk):
|
||||
pass
|
||||
|
|
Loading…
Reference in a new issue