1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-02-25 07:23:28 +00:00

info: fix authenticated mode repo to show "Encrypted: No", fixes #6462

This commit is contained in:
Thomas Waldmann 2022-04-19 22:09:45 +02:00
parent 5743ec7e09
commit 16f6983b1d

View file

@ -1660,7 +1660,7 @@ def _info_repository(self, args, repository, manifest, key, cache):
json_print(info) json_print(info)
else: else:
encryption = 'Encrypted: ' encryption = 'Encrypted: '
if key.NAME == 'plaintext': if key.NAME in ('plaintext', 'authenticated'):
encryption += 'No' encryption += 'No'
else: else:
encryption += 'Yes (%s)' % key.NAME encryption += 'Yes (%s)' % key.NAME