Explorar o código

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

Thomas Waldmann %!s(int64=3) %!d(string=hai) anos
pai
achega
ab2ba210da
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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