Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GODRIVER-3120 Add list of possible OS errors to case 11 #1637

Merged
merged 1 commit into from May 13, 2024

Conversation

prestonvasquez
Copy link
Collaborator

GODRIVER-3120

Summary

Add list of possible OS dependent errors that can occur when an unknown authority signs a certificate, see here for more details.

Background & Motivation

Example failure:

 [2024/02/02 06:42:59.770] === RUN   TestClientSideEncryptionProse/11._kms_tls_options_tests/kmip
 [2024/02/02 06:42:59.770]     client_side_encryption_prose_test.go:1631:
 [2024/02/02 06:42:59.770]         	Error Trace:	/data/mci/a715128daf36f39e041d22b141c0582a/src/go.mongodb.org/mongo-driver/mongo/integration/client_side_encryption_prose_test.go:1631
 [2024/02/02 06:42:59.770]         	            				/data/mci/a715128daf36f39e041d22b141c0582a/src/go.mongodb.org/mongo-driver/mongo/integration/mongotest.go:267
 [2024/02/02 06:42:59.770]         	Error:      	Should be true
 [2024/02/02 06:42:59.770]         	Test:       	TestClientSideEncryptionProse/11._kms_tls_options_tests/kmip
 [2024/02/02 06:42:59.770]         	Messages:   	expected error 'tls: failed to verify certificate: x509: certificate is not authorized to sign other certificates' to contain 'certificate signed by unknown authority'
 [2024/02/02 06:42:59.770] --- FAIL: TestClientSideEncryptionProse (0.14s)

@mongodb-drivers-pr-bot mongodb-drivers-pr-bot bot added the priority-3-low Low Priority PR for Review label May 10, 2024
Copy link

API Change Report

No changes found!

Copy link
Member

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@prestonvasquez prestonvasquez merged commit b6a2bbb into mongodb:v1 May 13, 2024
32 of 38 checks passed
@prestonvasquez prestonvasquez deleted the GODRIVER-3120 branch May 13, 2024 15:39
blink1073 pushed a commit to blink1073/mongo-go-driver that referenced this pull request May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority-3-low Low Priority PR for Review
Projects
None yet
2 participants