1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-02-24 23:13:25 +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)
else:
encryption = 'Encrypted: '
if key.NAME == 'plaintext':
if key.NAME in ('plaintext', 'authenticated'):
encryption += 'No'
else:
encryption += 'Yes (%s)' % key.NAME