mirror of https://github.com/borgbackup/borg.git
crypto: better raise NotImplementedError if we have no id_hash
This commit is contained in:
parent
aff626119a
commit
e647360a0e
|
@ -156,6 +156,7 @@ class KeyBase:
|
|||
def id_hash(self, data):
|
||||
"""Return HMAC hash using the "id" HMAC key
|
||||
"""
|
||||
raise NotImplementedError
|
||||
|
||||
def encrypt(self, chunk):
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue