Browse Source

Clarify encrypted key format for borg key export (fixes #3296)

(cherry picked from commit 68bb3792fb438aac4d8e8456d67250cf9789f2a3)
Milkey Mouse 7 năm trước cách đây
mục cha
commit
f1164b131b
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      borg/archiver.py

+ 3 - 0
borg/archiver.py

@@ -1285,6 +1285,9 @@ class Archiver:
         key_export_epilog = textwrap.dedent("""
         key_export_epilog = textwrap.dedent("""
         If repository encryption is used, the repository is inaccessible
         If repository encryption is used, the repository is inaccessible
         without the key. This command allows to backup this essential key.
         without the key. This command allows to backup this essential key.
+        Note that the backup produced does not include the passphrase itself
+        (i.e. the exported key stays encrypted). In order to regain access to a
+        repository, one needs both the exported key and the original passphrase.
 
 
         There are two backup formats. The normal backup format is suitable for
         There are two backup formats. The normal backup format is suitable for
         digital storage as a file. The ``--paper`` backup format is optimized
         digital storage as a file. The ``--paper`` backup format is optimized