mirror of https://github.com/borgbackup/borg.git
Merge pull request #4712 from saurvs/forward-port-4646
Forward port #4646
This commit is contained in:
commit
8a401d3c0b
|
@ -73,7 +73,8 @@ class SecurityManager:
|
|||
shutil.rmtree(path)
|
||||
|
||||
def known(self):
|
||||
return os.path.exists(self.key_type_file)
|
||||
return all(os.path.exists(f)
|
||||
for f in (self.key_type_file, self.location_file, self.manifest_ts_file))
|
||||
|
||||
def key_matches(self, key):
|
||||
if not self.known():
|
||||
|
|
Loading…
Reference in New Issue