浏览代码

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

Thomas Waldmann 3 年之前
父节点
当前提交
ab2ba210da
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/borg/archiver.py

+ 1 - 1
src/borg/archiver.py

@@ -1608,7 +1608,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