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:
commit
f937a72a13
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue