1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-27 10:18:12 +00:00

crypto: better raise NotImplementedError if we have no id_hash

This commit is contained in:
Thomas Waldmann 2022-03-18 20:24:48 +01:00
parent aff626119a
commit e647360a0e

View file

@ -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