Skip to content

Commit

Permalink
fix: ensure certificates have pem header/footer
Browse files Browse the repository at this point in the history
  • Loading branch information
soniqua committed Aug 15, 2024
1 parent 607a5d5 commit 5a6177c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .gitleaksignore

This file was deleted.

2 changes: 1 addition & 1 deletion charts/snyk-broker/tests/broker_deployment_ca_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,6 @@ tests:

- it: rejects a non-PEM certificate
set:
caCertFile: "\n \n-----BEGIN RSA PRIVATE KEY-----\nCERTIFICATE GOES HERE\n-----END RSA PRIVATE KEY-----\n\n\n"
caCertFile: "\n \n-----BEGIN RSA PRIVATE KEY-----\nCERTIFICATE GOES HERE\n-----END RSA PRIVATE KEY-----\n\n\n" #gitleaks:allow
asserts:
- failedTemplate: {}

0 comments on commit 5a6177c

Please sign in to comment.