1
0
Fork 0
mirror of synced 2024-12-04 14:45:36 -05:00

Compare commits

...

6 commits

Author SHA1 Message Date
Erik Flodin
7e04250e62
Update brew install command to match instructions on brew.sh 2024-11-24 17:21:08 +01:00
Erik Flodin
349983a302
Minor reformat + trailing ws removal 2024-11-24 16:48:05 +01:00
Erik Flodin
fad957958f
Replace references to files.gpg with archive (#337) 2024-11-24 16:38:09 +01:00
Ross Smith II
e33cbbda4c
Update FAQ to consistently use ~/ 2021-05-01 09:38:11 -07:00
Ross Smith II
b08402569d
Fix section header location 2021-05-01 09:18:24 -07:00
Ross Smith II
3cc3388a3b
Fix obsolete references to files.gpg 2021-05-01 09:13:09 -07:00
2 changed files with 18 additions and 16 deletions

View file

@ -63,7 +63,7 @@ if [ "$system_type" = "Darwin" ]; then
# install homebrew if it's missing # install homebrew if it's missing
if ! command -v brew >/dev/null 2>&1; then if ! command -v brew >/dev/null 2>&1; then
echo "Installing homebrew" echo "Installing homebrew"
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
fi fi
if [ -f "$HOME/.Brewfile" ]; then if [ -f "$HOME/.Brewfile" ]; then

View file

@ -99,32 +99,34 @@ clone your repository. Read [bootstrap](bootstrap) for more details.
## Encryption ## Encryption
### Can I use yadm without gpg? ### Can I use yadm without gpg, openssl, transcrypt or git-crypt?
Of course. You only need `gpg` installed if you plan on using the Of course. You only need `gpg`, `openssl`, `transcrypt` or `git-crypt` installed
encrypt/decrypt features. yadm will tell you if it is missing a dependency if you plan on using the encrypt/decrypt features. yadm will tell you if it is
for any command. missing a dependency for any command.
### Should I `yadm add` my `.config/yadm/encrypt` file? ### Should I `yadm add` my `~/.config/yadm/encrypt` file?
Yes! This way your configuration for what files should be encrypted will follow Yes! This way your configuration for what files should be encrypted will follow
you when you clone your repository. 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. Instead, add the names (or wildcard patterns) of the files
`.config/yadm/files.gpg` using the `yadm encrypt` command. Then you want encrypted to `~/.config/yadm/encrypt`. Then, use the `yadm encrypt`
`.config/yadm/files.gpg` should be added to the yadm repository. This way, only command to encrypt the matched files which then adds them to
an encrypted collection of those files are put into the repository. After `~/.local/share/yadm/archive`. Then, use `yadm add ~/.local/share/yadm/archive`
cloning or updating your repository, you can use `yadm decrypt` to extract those to add this file to the yadm repository. This way, only encrypted versions of
files from `.config/yadm/files.gpg`. See the those files will be in the repository. After cloning or updating your
[encryption help](encryption) for more details. repository, you can use `yadm decrypt` to extract the encrypted files from
`~/.local/share/yadm/archive` into your working copy. See the [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 `~/.local/share/yadm/archive`.
Then `.config/yadm/files.gpg` can be added to a new commit. Then `~/.local/share/yadm/archive` 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.