1
0
Fork 0
mirror of synced 2024-11-17 14:45:34 -05:00
yadm/test
Tim Byrne ebc90bfc98
Create secured private dirs (#74)
Directories are created prior to merge during clone, and prior to any
Git command run.

This directly addresses CVE-2017-11353.

When cloning a repo which includes data in a .ssh or .gnupg directory,
if those directories do not exist at the time of cloning, yadm will
create the directories with mask 0700 prior to merging the fetched data
into the work-tree.

When running a Git command and .ssh or .gnupg directories do not exist,
create those directories with mask 0700 prior to running the Git
command. However, do not create those directories if
yadm.auto-private-dirs is false.
2017-08-22 21:28:07 -05:00
..
000_unit_syntax.bats Resolve shellcheck errors in bats tests 2016-04-07 08:16:22 -05:00
001_unit_paths.bats Add tests for bootstrap command (#42) 2017-01-23 17:53:40 -06:00
002_unit_gpg_program.bats Unit tests for alternate gpg program (#19) 2016-08-14 23:53:21 -05:00
003_unit_ls_program.bats Rename unit tests for ls program 2017-01-07 19:47:07 -06:00
004_unit_git_program.bats Unit tests for alternate Git program (#30) 2017-01-07 19:47:18 -06:00
005_unit_bootstrap_available.bats Add tests for bootstrap command (#42) 2017-01-23 17:53:40 -06:00
006_unit_set_operating_system.bats Support WSL detection (#61) 2017-04-09 08:47:18 -05:00
007_unit_query_distro.bats Support YADM_DISTRO in Jinja templates (#68) 2017-07-03 16:21:27 -05:00
100_accept_version.bats Switch to semantic versioning 2017-05-10 08:00:29 -05:00
101_accept_help.bats Resolve shellcheck errors in bats tests 2016-04-07 08:16:22 -05:00
102_accept_clean.bats Resolve shellcheck errors in bats tests 2016-04-07 08:16:22 -05:00
103_accept_git.bats Add acceptance tests for improved exit values (#35) 2017-01-06 16:26:00 -06:00
104_accept_init.bats Resolve shellcheck errors in bats tests 2016-04-07 08:16:22 -05:00
105_accept_clone.bats Create secured private dirs (#74) 2017-08-22 21:28:07 -05:00
106_accept_config.bats Fix tests that set local.hostname (#59) 2017-03-31 12:43:32 -05:00
107_accept_list.bats Resolve shellcheck errors in bats tests 2016-04-07 08:16:22 -05:00
108_accept_alt.bats Fix tests that set local.hostname (#59) 2017-03-31 12:43:32 -05:00
109_accept_encryption.bats Acceptance tests for encrypt globs and paths with space (#53, #54) 2017-03-24 17:37:40 -05:00
110_accept_perms.bats Resolve shellcheck errors in bats tests 2016-04-07 08:16:22 -05:00
111_accept_wildcard_alt.bats Store class/os/host/user overrides in the local repo config 2017-01-26 10:48:40 -06:00
112_accept_bootstrap.bats Add tests for bootstrap command (#42) 2017-01-23 17:53:40 -06:00
113_accept_jinja_alt.bats Support YADM_DISTRO in Jinja templates (#68) 2017-07-03 16:21:27 -05:00
114_accept_enter.bats Add tests for enter command 2017-03-30 16:30:39 -05:00
115_accept_introspect.bats Create secured private dirs (#74) 2017-08-22 21:28:07 -05:00
116_accept_cygwin_copy.bats Gracefully handle changes in yadm.cygwin-copy 2017-06-01 17:06:27 -05:00
117_accept_hooks.bats Add tests for hooks 2017-07-05 16:33:50 -05:00
118_accept_assert_private_dirs.bats Create secured private dirs (#74) 2017-08-22 21:28:07 -05:00
common.bash Add tests for hooks 2017-07-05 16:33:50 -05:00
ownertrust.txt Create acceptance tests for asymmetric encryption 2016-04-21 07:13:40 -05:00
test_key Create acceptance tests for asymmetric encryption 2016-04-21 07:13:40 -05:00