You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add creation of encrypted_column_current_encryption_key to backup
3.7.0+
* this is based on manual testing where we successfully used `ghe-ssh $host -- ghe-config --get 'secrets.github.encrypted-column-keying-material' | sed 's:.*;::' > encrypted-column-current-encryption-key`
in the console and by manually editing it in the `test-ghe-backup.sh` file
* when I attempted to write tests for the simple case of having only one
value in the encryption_keying_material list I received an error on
the `get` portion of the command. Removing the get allowed the test to
and follows the format used in the implementation of `backup-secret`
* then I added the complex test case of more than one entry in
encryption_keying_material delimited by semicolons. This caused the test
to fail with the error `fatal: ghe-ssh: Attempt to invoke complex
command with simple command form.`
Copy file name to clipboardExpand all lines: test/test-ghe-backup.sh
+64-13Lines changed: 64 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -566,7 +566,7 @@ begin_test "ghe-backup does not take backup of encrypted column encryption keyin
566
566
)
567
567
end_test
568
568
569
-
begin_test "ghe-backup takes backup of encrypted column encryption keying material for versions 3.7.0+"
569
+
begin_test "ghe-backup takes backup of encrypted column encryption keying material and create encrypted column current encryption key for versions 3.7.0+"
begin_test "ghe-backup takes backup of encrypted column current encryption key for versions 3.8.0+"
657
+
begin_test "ghe-backup takes backup of encrypted column encryption keying material and encrypted column current encryption key accounting for multiple encryption keying materials for versions 3.7.0+"
0 commit comments