diff options
author | Krasimir Angelov <kangelov@gitlab.com> | 2019-12-05 11:44:17 +0300 |
---|---|---|
committer | Krasimir Angelov <kangelov@gitlab.com> | 2019-12-05 11:44:17 +0300 |
commit | e97fad680a73720b4b539f54f0ac9bcd46ee92f9 (patch) | |
tree | 201489a46f33ee4ca4236dcd605e5bcba3341d4e /internal/fixture | |
parent | 7f35a7b7c1dde36f695fd7f1627fa77d9d8d2be0 (diff) |
Base64 decode GitLab API secret
before using it.
Diffstat (limited to 'internal/fixture')
-rw-r--r-- | internal/fixture/fixtures.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/fixture/fixtures.go b/internal/fixture/fixtures.go index 38bbd375..e425da1b 100644 --- a/internal/fixture/fixtures.go +++ b/internal/fixture/fixtures.go @@ -53,4 +53,8 @@ yhGSbQKBgD3VEnPiSUmXBo39kPcnPg93E3JfdAOiOwIB2qwfYzg9kpmuTWws+DFz lKpMI27YkmnPqROQ2NTUfdxYmw3EHHMAsvnmHeMNGn3ijSUZVKmPfV436Qc8iVci s4wKoCRhBUZ52sHki/ieb+5hycT3JnVXMDtbJxgXFW5a86usXEpO -----END RSA PRIVATE KEY-----` + + // GitLabAPISecretKey used in tests + // 32 bytes, base64 encoded + GitLabAPISecretKey = "e41rcFh7XBA7sNABWVCe2AZvxMsy6QDtJ8S9Ql1UiN8=" ) |