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

Merge pull request #6633 from ThomasWaldmann/fix-info-authenticated-master

info: fix authenticated mode repo to show "Encrypted: No", fixes #6462
This commit is contained in:
TW 2022-04-19 23:38:43 +02:00 committed by GitHub
commit f937a72a13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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