Closed jacobtomlinson closed 2 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 95.16%. Comparing base (
87063fc
) to head (01fc4ab
). Report is 111 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Fixes #484
Instead of trying to base64 decode the certs and failing when they are stored in plain-text this PR checks if they are certs and only decodes them if they are.
This fixes configs which contain new lines in their base64 encoded data (which is technically not valid base64, but decodes fine).
This should not break folks who have plain text certs, which is what the previous try/except behaviour was enabling. Added a test to verify this.