浏览代码

docs: change-passphrase only changes the passphrase, fixes #2990

Thomas Waldmann 7 年之前
父节点
当前提交
713be765d1
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      src/borg/archiver.py

+ 5 - 0
src/borg/archiver.py

@@ -2520,6 +2520,11 @@ class Archiver:
         change_passphrase_epilog = process_epilog("""
         change_passphrase_epilog = process_epilog("""
         The key files used for repository encryption are optionally passphrase
         The key files used for repository encryption are optionally passphrase
         protected. This command can be used to change this passphrase.
         protected. This command can be used to change this passphrase.
+
+        Please note that this command only changes the passphrase, but not any
+        secret protected by it (like e.g. encryption/MAC keys or chunker seed).
+        Thus, changing the passphrase after passphrase and borg key got compromised
+        does not protect future (nor past) backups to the same repository.
         """)
         """)
         subparser = key_parsers.add_parser('change-passphrase', parents=[common_parser], add_help=False,
         subparser = key_parsers.add_parser('change-passphrase', parents=[common_parser], add_help=False,
                                           description=self.do_change_passphrase.__doc__,
                                           description=self.do_change_passphrase.__doc__,