Explain how to use encrypted repos in README - dedup - deduplicating backup program
 (HTM) git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Tags
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 08da54bc98110a6bb2757e8aee340ad3e0704d91
 (DIR) parent f81b3debf25007a65bed7285027fe09a81dd5517
 (HTM) Author: sin <sin@2f30.org>
       Date:   Thu,  2 May 2019 15:59:45 +0100
       
       Explain how to use encrypted repos in README
       
       Diffstat:
         M README                              |      24 ++++++++++++++++++++++++
       
       1 file changed, 24 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/README b/README
       @@ -25,6 +25,30 @@ To extract a snapshot:
        
            dup-unpack -r repo foo > dir.tar
        
       +Encrypting a dedup repository
       +=============================
       +
       +First a secret key has to be generated using dup-keygen(1).  This is a
       +256-bit symmetric key.
       +
       +    dup-keygen keyfile
       +
       +Initialize the repo and select XChaCha20-Poly1305 as the encryption
       +algorithm:
       +
       +    dup-init -E XChaCha20-Poly1305 repo
       +
       +To create a snapshot:
       +
       +    tar -c ~/dir | dup-pack -k keyfile -r repo foo
       +
       +To extract a snapshot:
       +
       +    dup-unpack -k keyfile -r repo foo > dir.tar
       +
       +All tools understand the -k option when operating on an encrypted
       +dedup repository.
       +
        Portability
        ===========