Tim Byrne
2517e4b4ac
Add test-case for exclusions in `.yadm/encrypt` ( #86 )
7 years ago
Tim Byrne
b78bb1eef4
Eliminate the use of `eval`
...
`eval` has always been used to process the globs in `.yadm/encrypt`.
This is being removed, as there is a risk of executing "dirty" data
found in `.yadm/encrypt`.
Caveats of this change:
* Brace and tilde expansion will no longer work in `.yadm/encrypt`
* Paths with spaces must not be quoted anymore
7 years ago
Tim Byrne
df952094a1
Add test case for supporting directories in .yadm/encrypt ( #81 )
7 years ago
Tim Byrne
d80bbff2b9
Acceptance tests for encrypt globs and paths with space ( #53 , #54 )
8 years ago
Tim Byrne
671b5c6ec6
Support both gpg1 and gpg2 missing key error messages
8 years ago
Tim Byrne
ef796bc2c1
Add acceptance test for space-lines/empty-lines in .yadm/encrypt ( #40 )
8 years ago
Tim Byrne
e40c054805
Use gpg1 (if available) for automated tests
...
gnupg2 does not support agent-less password input (breaking the
expect-driven tests).
8 years ago
Tim Byrne
8bede1cb84
Test for correct error message when public key is missing
9 years ago
Tim Byrne
ea3b2ecfa8
Support `yadm.gpg-recipient = ASK`
9 years ago
Tim Byrne
7854275488
Create acceptance tests for asymmetric encryption
9 years ago
Tim Byrne
f48dea6879
Resolve shellcheck errors in bats tests
9 years ago
Tim Byrne
d2cd3b1b26
Add tests
...
Tests will be run using `bats`.
9 years ago