fix: add warning for long secret names #359

Merged
decentral1se merged 14 commits from rix/abra:add-secret-length-linting into main 2024-04-06 21:41:37 +00:00

14 Commits

Author SHA1 Message Date
Rich M ba956f340a Attempted rework to match new code.
continuous-integration/drone/pr Build is passing Details
2024-04-06 21:11:31 +01:00
Rich M eea47f9099 Attempt to fix post merge problems.
continuous-integration/drone/pr Build is passing Details
2024-04-06 11:42:16 +01:00
Rich M 296bed9704 Merge remote-tracking branch 'coopcloud/main' into add-secret-length-linting 2024-04-06 11:13:05 +01:00
Rich M 29bd057460 Add common check to generate secrets command.
continuous-integration/drone/pr Build is failing Details
2023-10-05 18:25:02 +01:00
Rich M 66cf63a665 Move secret checking to a shared location. 2023-10-05 18:13:37 +01:00
Rich M 2abb7264b8 Added 'secret' before error to make it clear it's a secret.
continuous-integration/drone/pr Build is failing Details
2023-10-04 19:10:18 +01:00
Rich M 344590b19b Switch to using const for max docker secret length.
continuous-integration/drone/pr Build is failing Details
2023-10-04 19:07:08 +01:00
Rich M f85a3e40aa Switch to using const for max sanitised app length. 2023-10-04 18:58:20 +01:00
Rich M 2583fe2861 Drop debug logging and fail on first secret that is too long. 2023-10-04 18:51:13 +01:00
Rich M d78abfec2f Fix where the secret check happens and fiddle with messages.
continuous-integration/drone/pr Build is passing Details
2023-10-03 21:26:40 +01:00
Rich M 0480235758 Fix typo. 2023-10-03 21:26:40 +01:00
Rich M 22f1ffacaa Written secret length verification in the wrong place. 2023-10-03 21:26:40 +01:00
Rich M 81d9e03800 Error when domain is too long for secret lengths. 2023-10-03 21:26:40 +01:00
Rich M 95b081867c Add warning for long secret names. 2023-10-03 21:26:40 +01:00