File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -132,6 +132,17 @@ begin_test "ghe-backup without password pepper"
132
132
)
133
133
end_test
134
134
135
+ begin_test " ghe-backup without management console argon2 secret"
136
+ (
137
+ set -e
138
+
139
+ git config -f " $GHE_REMOTE_DATA_USER_DIR /common/secrets.conf" secrets.manage-auth.argon-secret " "
140
+ ghe-backup
141
+
142
+ [ ! -f " $GHE_DATA_DIR /current/manage-argon-secret" ]
143
+ )
144
+ end_test
145
+
135
146
begin_test " ghe-backup empty git-hooks directory"
136
147
(
137
148
set -e
Original file line number Diff line number Diff line change @@ -202,6 +202,7 @@ setup_test_data () {
202
202
# Create a fake manage password file§
203
203
mkdir -p " $GHE_REMOTE_DATA_USER_DIR /common"
204
204
git config -f " $GHE_REMOTE_DATA_USER_DIR /common/secrets.conf" secrets.manage " fake password hash data"
205
+ git config -f " $GHE_REMOTE_DATA_USER_DIR /common/secrets.conf" secrets.manage-auth.argon-secret " fake argon2 secret"
205
206
206
207
# Create a fake password pepper file
207
208
mkdir -p " $GHE_REMOTE_DATA_USER_DIR /common"
You can’t perform that action at this time.
0 commit comments