浏览代码

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

(cherry picked from commit 68bb3792fb438aac4d8e8456d67250cf9789f2a3)
Milkey Mouse 7 年之前
父节点
当前提交
f1164b131b
共有 1 个文件被更改,包括 3 次插入0 次删除
  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