1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-03-04 10:39:50 +00:00

Merge pull request #6632 from ThomasWaldmann/fix-info-authenticated-1.2

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

View file

@ -1471,7 +1471,7 @@ class Archiver:
json_print(info)
else:
encryption = 'Encrypted: '
if key.NAME == 'plaintext':
if key.NAME in ('plaintext', 'authenticated'):
encryption += 'No'
else:
encryption += 'Yes (%s)' % key.NAME