Skip to content

Commit

Permalink
crypto: better raise NotImplementedError if we have no id_hash
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasWaldmann committed Mar 18, 2022
1 parent 52aaf3d commit 264ca1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/borg/crypto/key.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 264ca1d

Please sign in to comment.