github.com/advanderveer/restic@v0.8.1-0.20171209104529-42a8c19aaea6/doc/070_encryption.rst (about) 1 .. 2 Normally, there are no heading levels assigned to certain characters as the structure is 3 determined from the succession of headings. However, this convention is used in Python’s 4 Style Guide for documenting which you may follow: 5 6 # with overline, for parts 7 * for chapters 8 = for sections 9 - for subsections 10 ^ for subsubsections 11 " for paragraphs 12 13 ########## 14 Encryption 15 ########## 16 17 18 *"The design might not be perfect, but it’s good. Encryption is a first-class feature, 19 the implementation looks sane and I guess the deduplication trade-off is worth it. So… I’m going to use restic for 20 my personal backups.*" `Filippo Valsorda`_ 21 22 .. _Filippo Valsorda: https://blog.filippo.io/restic-cryptography/ 23 24 ********************** 25 Manage repository keys 26 ********************** 27 28 The ``key`` command allows you to set multiple access keys or passwords 29 per repository. In fact, you can use the ``list``, ``add``, ``remove`` 30 and ``passwd`` sub-commands to manage these keys very precisely: 31 32 .. code-block:: console 33 34 $ restic -r /tmp/backup key list 35 enter password for repository: 36 ID User Host Created 37 ---------------------------------------------------------------------- 38 *eb78040b username kasimir 2015-08-12 13:29:57 39 40 $ restic -r /tmp/backup key add 41 enter password for repository: 42 enter password for new key: 43 enter password again: 44 saved new key as <Key of username@kasimir, created on 2015-08-12 13:35:05.316831933 +0200 CEST> 45 46 $ restic -r backup key list 47 enter password for repository: 48 ID User Host Created 49 ---------------------------------------------------------------------- 50 5c657874 username kasimir 2015-08-12 13:35:05 51 *eb78040b username kasimir 2015-08-12 13:29:57