Use tls.Config.VerifyPeerCertificate, not the dialer, to verify the Uphold TLS certificate fingerprint. This ensures that the fingerprint checks are done even if a proxy is used.
Summary
Type of Change
[ ] Product feature
[x ] Bug fix
[ ] Performance improvement
[ ] Refactor
[ ] Other
Tested Environments
[ x] Development
[ ] Staging
[ ] Production
Before Requesting Review
[ x] Does your code build cleanly without any errors or warnings?
[ ] Have you used auto closing keywords?
[ ] Have you added tests for new functionality?
[ ] Have validated query efficiency for new database queries?
[ ] Have documented new functionality in README or in comments?
[ ] Have you squashed all intermediate commits?
[ ] Is there a clear title that explains what the PR does?
[ ] Have you used intuitive function, variable and other naming?
[ ] Have you requested security and/or privacy review if needed
Use tls.Config.VerifyPeerCertificate, not the dialer, to verify the Uphold TLS certificate fingerprint. This ensures that the fingerprint checks are done even if a proxy is used.
Summary
Type of Change
Tested Environments
Before Requesting Review
Manual Test Plan