Fixes issue #334. Change FAQ to reference "encrypt" instead of "files.gpg".

This commit is contained in:
Eric V. Smith 2021-04-28 10:41:31 -04:00
parent 5b3e5de331
commit 0b3e73f245
1 changed files with 5 additions and 5 deletions

View File

@ -113,18 +113,18 @@ you when you clone your repository.
### Should I `yadm add` encrypted files to repository? ### Should I `yadm add` encrypted files to repository?
No, you should not. Files you want encrypted should be added to the file No, you should not. Files you want encrypted should be added to the file
`.config/yadm/files.gpg` using the `yadm encrypt` command. Then `.config/yadm/encrypt` using the `yadm encrypt` command. Then
`.config/yadm/files.gpg` should be added to the yadm repository. This way, only `.config/yadm/encrypt` should be added to the yadm repository. This way, only
an encrypted collection of those files are put into the repository. After an encrypted collection of those files are put into the repository. After
cloning or updating your repository, you can use `yadm decrypt` to extract those cloning or updating your repository, you can use `yadm decrypt` to extract those
files from `.config/yadm/files.gpg`. See the files from `.config/yadm/encrypt`. See the
[encryption help](encryption) for more details. [encryption help](encryption) for more details.
### I modified an encrypted file, but yadm doesn't show any modifications. Why? ### I modified an encrypted file, but yadm doesn't show any modifications. Why?
If you changed files which are matched by `.config/yadm/encrypt`, you must If you changed files which are matched by `.config/yadm/encrypt`, you must
re-run `yadm encrypt` to generate a new version of `.config/yadm/files.gpg`. re-run `yadm encrypt` to generate a new version of `.config/yadm/encrypt`.
Then `.config/yadm/files.gpg` can be added to a new commit. Then `.config/yadm/encrypt` can be added to a new commit.
### Why do I get the error `Inappropriate ioctl for device` when encrypting. ### Why do I get the error `Inappropriate ioctl for device` when encrypting.