mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-26 17:57:59 +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):
|
def id_hash(self, data):
|
||||||
"""Return HMAC hash using the "id" HMAC key
|
"""Return HMAC hash using the "id" HMAC key
|
||||||
"""
|
"""
|
||||||
|
raise NotImplementedError
|
||||||
|
|
||||||
def encrypt(self, chunk):
|
def encrypt(self, chunk):
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in a new issue