Selaa lähdekoodia

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

Thomas Waldmann 3 vuotta sitten
vanhempi
sitoutus
c5f3214d8a
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/borg/archiver.py

+ 1 - 1
src/borg/archiver.py

@@ -1471,7 +1471,7 @@ class Archiver:
             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