Przeglądaj źródła

Merge pull request #6631 from ThomasWaldmann/fix-info-authenticated-1.1

info: fix authenticated mode repo to show "Encrypted: No", fixes #6462
TW 3 lat temu
rodzic
commit
c2f59c9409
1 zmienionych plików z 1 dodań i 1 usunięć
  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