소스 검색

key change-passphrase: fix --encryption value in examples

"repokey" (as in borg < 2.0, referring to the AES-CTR mode)
does not exist any more and was superseded by other repokey-*
modes.
Thomas Waldmann 2 년 전
부모
커밋
54892f711d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docs/usage/key.rst

+ 1 - 1
docs/usage/key.rst

@@ -37,7 +37,7 @@ Fully automated using environment variables:
 
 ::
 
-    $ BORG_NEW_PASSPHRASE=old borg rcreate -e=repokey
+    $ BORG_NEW_PASSPHRASE=old borg rcreate --encryption=repokey-aes-ocb
     # now "old" is the current passphrase.
     $ BORG_PASSPHRASE=old BORG_NEW_PASSPHRASE=new borg key change-passphrase
     # now "new" is the current passphrase.