mongo 2.19.3 → 2.20.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +37 -1
- data/Rakefile +81 -172
- data/lib/mongo/cluster/topology/base.rb +16 -0
- data/lib/mongo/cluster.rb +27 -1
- data/lib/mongo/collection/view/iterable.rb +1 -0
- data/lib/mongo/collection.rb +4 -2
- data/lib/mongo/config.rb +2 -2
- data/lib/mongo/error/transactions_not_supported.rb +34 -0
- data/lib/mongo/error.rb +1 -0
- data/lib/mongo/grid/fs_bucket.rb +6 -0
- data/lib/mongo/monitoring/event/secure.rb +1 -1
- data/lib/mongo/operation/shared/executable.rb +43 -27
- data/lib/mongo/operation/shared/response_handling.rb +23 -25
- data/lib/mongo/retryable/base_worker.rb +28 -3
- data/lib/mongo/retryable/read_worker.rb +16 -14
- data/lib/mongo/retryable/write_worker.rb +11 -8
- data/lib/mongo/retryable.rb +2 -2
- data/lib/mongo/server/app_metadata/environment.rb +64 -9
- data/lib/mongo/server/app_metadata.rb +5 -4
- data/lib/mongo/server/description/features.rb +1 -0
- data/lib/mongo/server/pending_connection.rb +19 -6
- data/lib/mongo/server_selector/base.rb +32 -6
- data/lib/mongo/session/server_session/dirtyable.rb +52 -0
- data/lib/mongo/session/server_session.rb +3 -0
- data/lib/mongo/session/session_pool.rb +12 -18
- data/lib/mongo/session.rb +32 -0
- data/lib/mongo/socket/ssl.rb +22 -1
- data/lib/mongo/uri.rb +0 -4
- data/lib/mongo/version.rb +1 -5
- data/mongo.gemspec +9 -18
- data/spec/atlas/atlas_connectivity_spec.rb +4 -4
- data/spec/faas/ruby-sam-app/Gemfile +9 -0
- data/spec/faas/ruby-sam-app/mongodb/Gemfile +4 -0
- data/spec/faas/ruby-sam-app/mongodb/app.rb +149 -0
- data/spec/faas/ruby-sam-app/template.yaml +48 -0
- data/spec/integration/client_side_encryption/corpus_spec.rb +10 -2
- data/spec/integration/client_side_encryption/range_explicit_encryption_prose_spec.rb +3 -0
- data/spec/integration/retryable_reads_errors_spec.rb +196 -31
- data/spec/integration/retryable_writes_errors_spec.rb +156 -0
- data/spec/integration/sdam_error_handling_spec.rb +2 -0
- data/spec/lite_spec_helper.rb +0 -10
- data/spec/mongo/cluster_spec.rb +36 -0
- data/spec/mongo/collection/view/aggregation_spec.rb +6 -1
- data/spec/mongo/collection/view/explainable_spec.rb +2 -0
- data/spec/mongo/collection_crud_spec.rb +2 -1
- data/spec/mongo/operation/insert_spec.rb +1 -1
- data/spec/mongo/retryable/write_worker_spec.rb +39 -0
- data/spec/mongo/server/app_metadata/environment_spec.rb +135 -0
- data/spec/mongo/server/app_metadata_spec.rb +12 -2
- data/spec/mongo/server/connection_spec.rb +26 -0
- data/spec/mongo/session/session_pool_spec.rb +1 -16
- data/spec/mongo/session_transaction_spec.rb +15 -0
- data/spec/mongo/uri_spec.rb +0 -9
- data/spec/runners/crud/test.rb +0 -8
- data/spec/runners/crud.rb +1 -1
- data/spec/runners/transactions/test.rb +12 -3
- data/spec/runners/unified/assertions.rb +16 -3
- data/spec/runners/unified/crud_operations.rb +12 -0
- data/spec/runners/unified/support_operations.rb +3 -5
- data/spec/runners/unified/test.rb +8 -1
- data/spec/spec_tests/data/client_side_encryption/explain.yml +2 -2
- data/spec/spec_tests/data/client_side_encryption/fle2v2-BypassQueryAnalysis.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Compact.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-CreateCollection.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-DecryptExistingData.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Delete.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-EncryptedFields-vs-EncryptedFieldsMap.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-EncryptedFields-vs-jsonSchema.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-EncryptedFieldsMap-defaults.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-FindOneAndUpdate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-InsertFind-Indexed.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-InsertFind-Unindexed.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-MissingKey.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-NoEncryption.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-Aggregate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-Correctness.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-Delete.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-FindOneAndUpdate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-InsertFind.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-Update.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-Aggregate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-Correctness.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-Delete.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-FindOneAndUpdate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-InsertFind.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-Update.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-Aggregate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-Correctness.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-Delete.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-FindOneAndUpdate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-InsertFind.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-Update.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-Aggregate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-Correctness.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-Delete.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-FindOneAndUpdate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-InsertFind.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-Update.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-Aggregate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-Correctness.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-Delete.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-FindOneAndUpdate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-InsertFind.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-Update.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-Aggregate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-Correctness.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-Delete.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-FindOneAndUpdate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-InsertFind.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-Update.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-Aggregate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-Correctness.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-Delete.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-FindOneAndUpdate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-InsertFind.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-Update.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-WrongType.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Update.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-validatorAndPartialFieldExpression.yml +2 -1
- data/spec/spec_tests/data/connection_string/invalid-uris.yml +0 -10
- data/spec/spec_tests/data/connection_string/valid-options.yml +13 -0
- data/spec/spec_tests/data/crud_unified/aggregate-write-readPreference.yml +2 -0
- data/spec/spec_tests/data/crud_unified/db-aggregate-write-readPreference.yml +2 -0
- data/spec/spec_tests/data/crud_unified/find-test-all-options.yml +348 -0
- data/spec/spec_tests/data/index_management/createSearchIndex.yml +5 -3
- data/spec/spec_tests/data/index_management/createSearchIndexes.yml +7 -4
- data/spec/spec_tests/data/index_management/dropSearchIndex.yml +2 -1
- data/spec/spec_tests/data/index_management/listSearchIndexes.yml +13 -7
- data/spec/spec_tests/data/index_management/updateSearchIndex.yml +2 -1
- data/spec/spec_tests/data/retryable_writes/unified/bulkWrite-serverErrors.yml +3 -6
- data/spec/spec_tests/data/retryable_writes/unified/insertOne-serverErrors.yml +3 -6
- data/spec/spec_tests/data/run_command_unified/runCommand.yml +319 -0
- data/spec/spec_tests/data/sessions_unified/driver-sessions-dirty-session-errors.yml +351 -0
- data/spec/spec_tests/data/unified/valid-pass/poc-crud.yml +1 -1
- data/spec/spec_tests/data/unified/valid-pass/poc-retryable-writes.yml +7 -7
- data/spec/spec_tests/data/unified/valid-pass/poc-sessions.yml +3 -4
- data/spec/spec_tests/data/unified/valid-pass/poc-transactions-convenient-api.yml +1 -1
- data/spec/spec_tests/data/unified/valid-pass/poc-transactions-mongos-pin-auto.yml +1 -1
- data/spec/spec_tests/data/unified/valid-pass/poc-transactions.yml +3 -3
- data/spec/spec_tests/run_command_unified_spec.rb +13 -0
- data/spec/spec_tests/sdam_unified_spec.rb +2 -0
- data/spec/spec_tests/transactions_unified_spec.rb +2 -1
- data/spec/support/certificates/atlas-ocsp-ca.crt +89 -77
- data/spec/support/certificates/atlas-ocsp.crt +117 -122
- data/spec/support/certificates/retrieve-atlas-cert +1 -1
- data/spec/support/constraints.rb +6 -0
- data/spec/support/ocsp +1 -1
- data/spec/support/recording_logger.rb +27 -0
- metadata +1245 -1298
- checksums.yaml.gz.sig +0 -0
- data/spec/shared/LICENSE +0 -20
- data/spec/shared/bin/get-mongodb-download-url +0 -17
- data/spec/shared/bin/s3-copy +0 -45
- data/spec/shared/bin/s3-upload +0 -69
- data/spec/shared/lib/mrss/child_process_helper.rb +0 -80
- data/spec/shared/lib/mrss/cluster_config.rb +0 -231
- data/spec/shared/lib/mrss/constraints.rb +0 -378
- data/spec/shared/lib/mrss/docker_runner.rb +0 -295
- data/spec/shared/lib/mrss/eg_config_utils.rb +0 -51
- data/spec/shared/lib/mrss/event_subscriber.rb +0 -210
- data/spec/shared/lib/mrss/lite_constraints.rb +0 -238
- data/spec/shared/lib/mrss/server_version_registry.rb +0 -113
- data/spec/shared/lib/mrss/session_registry.rb +0 -69
- data/spec/shared/lib/mrss/session_registry_legacy.rb +0 -60
- data/spec/shared/lib/mrss/spec_organizer.rb +0 -179
- data/spec/shared/lib/mrss/utils.rb +0 -37
- data/spec/shared/share/Dockerfile.erb +0 -330
- data/spec/shared/share/haproxy-1.conf +0 -16
- data/spec/shared/share/haproxy-2.conf +0 -17
- data/spec/shared/shlib/config.sh +0 -27
- data/spec/shared/shlib/distro.sh +0 -74
- data/spec/shared/shlib/server.sh +0 -416
- data/spec/shared/shlib/set_env.sh +0 -169
- data/spec/spec_tests/data/cmap/pool-clear-interrupt-immediately.yml +0 -49
- data/spec/support/faas/app/aws_lambda/mongodb/Gemfile.lock +0 -19
- data.tar.gz.sig +0 -3
- metadata.gz.sig +0 -0
@@ -2,151 +2,146 @@ Certificate:
|
|
2
2
|
Data:
|
3
3
|
Version: 3 (0x2)
|
4
4
|
Serial Number:
|
5
|
-
|
5
|
+
04:ae:c2:45:fc:ba:ae:16:d6:38:7e:de:04:c4:2b:41:fd:a0
|
6
6
|
Signature Algorithm: sha256WithRSAEncryption
|
7
|
-
Issuer: C
|
7
|
+
Issuer: C=US, O=Let's Encrypt, CN=R3
|
8
8
|
Validity
|
9
|
-
Not Before: Jun
|
10
|
-
Not After :
|
11
|
-
Subject:
|
9
|
+
Not Before: Jun 5 14:02:45 2024 GMT
|
10
|
+
Not After : Sep 3 14:02:44 2024 GMT
|
11
|
+
Subject: CN=*.g6fyiaq.mongodb-dev.net
|
12
12
|
Subject Public Key Info:
|
13
13
|
Public Key Algorithm: rsaEncryption
|
14
|
-
Public-Key: (
|
14
|
+
Public-Key: (4096 bit)
|
15
15
|
Modulus:
|
16
|
-
00:
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
16
|
+
00:c0:d4:93:f2:7c:b5:64:56:a2:ed:07:ab:96:00:
|
17
|
+
61:8d:74:03:ee:10:dc:7f:92:26:ea:b1:c9:2f:7a:
|
18
|
+
33:d2:05:b2:25:ff:15:c0:fc:37:5c:8c:a9:36:82:
|
19
|
+
66:eb:07:70:f9:ec:b3:ca:88:9d:07:51:ef:f2:18:
|
20
|
+
e3:88:3b:f7:f5:b2:29:e2:7f:7b:00:dc:9f:b8:95:
|
21
|
+
cf:f4:58:37:0d:cd:b0:ec:9b:d0:c3:ec:71:d8:4d:
|
22
|
+
97:5a:a2:c6:66:2e:c1:dc:4f:38:f3:ba:43:3d:3e:
|
23
|
+
46:12:a8:08:7a:e3:bc:fa:52:3f:b4:4f:3e:25:9f:
|
24
|
+
4a:c9:fd:af:42:cc:62:59:ba:e1:92:1c:6c:57:2d:
|
25
|
+
86:fb:62:08:08:5b:f9:5e:3c:3b:e8:9a:b2:1c:a0:
|
26
|
+
82:58:0c:e9:40:c2:21:c2:71:93:32:68:44:f9:61:
|
27
|
+
13:bc:d6:c8:71:1e:9c:37:f4:b9:cd:13:30:cd:4b:
|
28
|
+
42:c0:c5:95:91:86:b5:e9:7f:f6:37:de:20:8e:cc:
|
29
|
+
05:3d:14:aa:29:c2:bf:4f:34:71:89:07:54:5b:b4:
|
30
|
+
cd:13:bd:53:74:e7:6f:33:c5:73:36:24:5b:37:88:
|
31
|
+
d1:9e:fc:98:e1:7a:a2:25:65:c5:b1:21:ad:2c:99:
|
32
|
+
0b:03:2e:92:06:ef:c1:31:b6:3b:00:32:00:f5:c4:
|
33
|
+
70:0d:1d:43:1c:a7:31:03:40:a6:95:6c:29:b3:93:
|
34
|
+
54:3b:9f:bd:5f:44:be:ba:04:a9:5c:f1:2d:0d:04:
|
35
|
+
18:51:27:75:47:d7:4b:06:e7:df:bc:2c:4e:c7:4b:
|
36
|
+
18:60:de:51:ce:41:a9:6c:6a:19:d1:a5:0b:03:e5:
|
37
|
+
ec:89:10:6b:b4:94:ba:79:b6:06:11:2e:b2:5f:e6:
|
38
|
+
19:f0:f9:ad:3e:4f:a4:cc:3d:7b:69:46:ed:71:1c:
|
39
|
+
f6:50:6c:53:08:9e:a3:05:59:de:fb:36:a1:92:ad:
|
40
|
+
7d:78:c6:37:13:d1:1a:9a:56:cc:fb:bd:21:34:ec:
|
41
|
+
8d:a5:73:59:6f:4e:aa:e2:2e:16:d6:d6:89:92:a3:
|
42
|
+
8f:d7:b0:46:cf:07:70:75:dc:dc:b3:70:cf:2a:12:
|
43
|
+
84:4e:41:57:10:68:7b:5f:f9:8f:64:d2:d4:e9:c0:
|
44
|
+
eb:b4:68:37:87:40:32:9e:f6:7f:be:31:fb:d5:36:
|
45
|
+
a4:15:ba:52:24:c1:5d:ae:d0:41:e3:ff:88:09:7d:
|
46
|
+
e7:98:23:bb:09:9b:7b:6d:e4:c0:ca:7a:1b:6e:32:
|
47
|
+
63:69:42:7b:26:9d:c9:f0:c3:b9:58:88:c3:74:9d:
|
48
|
+
d3:54:3b:20:09:76:5c:54:4e:60:f7:35:53:e4:f9:
|
49
|
+
aa:af:0e:bd:24:d1:0e:c5:8a:7e:26:f0:e7:a0:26:
|
50
|
+
d0:9d:01
|
34
51
|
Exponent: 65537 (0x10001)
|
35
52
|
X509v3 extensions:
|
36
|
-
X509v3 Authority Key Identifier:
|
37
|
-
74:85:80:C0:66:C7:DF:37:DE:CF:BD:29:37:AA:03:1D:BE:ED:CD:17
|
38
|
-
X509v3 Subject Key Identifier:
|
39
|
-
97:FB:A6:29:30:AE:9D:F0:D9:85:05:12:AA:D4:C1:D9:EC:0F:5B:CE
|
40
|
-
X509v3 Subject Alternative Name:
|
41
|
-
DNS:*.mongodb-dev.net, DNS:mongodb-dev.net
|
42
53
|
X509v3 Key Usage: critical
|
43
54
|
Digital Signature, Key Encipherment
|
44
55
|
X509v3 Extended Key Usage:
|
45
56
|
TLS Web Server Authentication, TLS Web Client Authentication
|
46
|
-
X509v3
|
47
|
-
Full Name:
|
48
|
-
URI:http://crl3.digicert.com/DigiCertGlobalG2TLSRSASHA2562020CA1-1.crl
|
49
|
-
Full Name:
|
50
|
-
URI:http://crl4.digicert.com/DigiCertGlobalG2TLSRSASHA2562020CA1-1.crl
|
51
|
-
X509v3 Certificate Policies:
|
52
|
-
Policy: 2.23.140.1.2.2
|
53
|
-
CPS: http://www.digicert.com/CPS
|
54
|
-
Authority Information Access:
|
55
|
-
OCSP - URI:http://ocsp.digicert.com
|
56
|
-
CA Issuers - URI:http://cacerts.digicert.com/DigiCertGlobalG2TLSRSASHA2562020CA1-1.crt
|
57
|
-
X509v3 Basic Constraints:
|
57
|
+
X509v3 Basic Constraints: critical
|
58
58
|
CA:FALSE
|
59
|
+
X509v3 Subject Key Identifier:
|
60
|
+
03:4A:67:8B:0B:1C:86:4C:9D:D9:E6:E2:43:B1:BA:93:53:50:DE:28
|
61
|
+
X509v3 Authority Key Identifier:
|
62
|
+
14:2E:B3:17:B7:58:56:CB:AE:50:09:40:E6:1F:AF:9D:8B:14:C2:C6
|
63
|
+
Authority Information Access:
|
64
|
+
OCSP - URI:http://r3.o.lencr.org
|
65
|
+
CA Issuers - URI:http://r3.i.lencr.org/
|
66
|
+
X509v3 Subject Alternative Name:
|
67
|
+
DNS:*.g6fyiaq.mesh.mongodb-dev.net, DNS:*.g6fyiaq.mongodb-dev.net
|
68
|
+
X509v3 Certificate Policies:
|
69
|
+
Policy: 2.23.140.1.2.1
|
59
70
|
CT Precertificate SCTs:
|
60
71
|
Signed Certificate Timestamp:
|
61
72
|
Version : v1 (0x0)
|
62
|
-
Log ID :
|
63
|
-
|
64
|
-
Timestamp : Jun
|
65
|
-
Extensions: none
|
66
|
-
Signature : ecdsa-with-SHA256
|
67
|
-
30:46:02:21:00:88:AC:04:93:84:2C:2C:99:4F:B8:C4:
|
68
|
-
06:B5:7F:9B:92:D3:51:25:72:1D:DB:12:D5:C0:AA:8F:
|
69
|
-
D1:97:39:EF:4C:02:21:00:96:B1:11:40:0F:BA:03:28:
|
70
|
-
88:BF:0C:DF:4B:4A:68:67:05:97:7E:F6:BD:6F:F3:0D:
|
71
|
-
D8:9C:EB:90:75:FF:79:AB
|
72
|
-
Signed Certificate Timestamp:
|
73
|
-
Version : v1 (0x0)
|
74
|
-
Log ID : 48:B0:E3:6B:DA:A6:47:34:0F:E5:6A:02:FA:9D:30:EB:
|
75
|
-
1C:52:01:CB:56:DD:2C:81:D9:BB:BF:AB:39:D8:84:73
|
76
|
-
Timestamp : Jun 2 08:44:16.066 2023 GMT
|
73
|
+
Log ID : 3F:17:4B:4F:D7:22:47:58:94:1D:65:1C:84:BE:0D:12:
|
74
|
+
ED:90:37:7F:1F:85:6A:EB:C1:BF:28:85:EC:F8:64:6E
|
75
|
+
Timestamp : Jun 5 15:02:46.375 2024 GMT
|
77
76
|
Extensions: none
|
78
77
|
Signature : ecdsa-with-SHA256
|
79
|
-
30:45:02:21:00:
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
78
|
+
30:45:02:21:00:A2:21:6F:59:A8:6F:DF:1F:D8:BF:D5:
|
79
|
+
0C:C8:90:9C:15:F6:02:20:97:22:70:BD:DF:C6:F8:41:
|
80
|
+
02:A3:86:FB:0F:02:20:5F:4C:E5:7D:38:D7:AF:7C:40:
|
81
|
+
41:B1:99:8A:04:83:2C:95:7F:71:34:42:2F:B9:94:DC:
|
82
|
+
EE:85:D9:2E:6A:FE:0E
|
84
83
|
Signed Certificate Timestamp:
|
85
84
|
Version : v1 (0x0)
|
86
|
-
Log ID :
|
87
|
-
|
88
|
-
Timestamp : Jun
|
85
|
+
Log ID : 76:FF:88:3F:0A:B6:FB:95:51:C2:61:CC:F5:87:BA:34:
|
86
|
+
B4:A4:CD:BB:29:DC:68:42:0A:9F:E6:67:4C:5A:3A:74
|
87
|
+
Timestamp : Jun 5 15:02:46.419 2024 GMT
|
89
88
|
Extensions: none
|
90
89
|
Signature : ecdsa-with-SHA256
|
91
|
-
30:
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
90
|
+
30:46:02:21:00:FA:63:32:6E:58:54:6F:36:EE:9C:BA:
|
91
|
+
FB:AF:E1:5E:B5:A9:24:8A:81:84:7A:E5:F3:A9:38:42:
|
92
|
+
57:CC:E3:09:C9:02:21:00:E2:BD:7E:3D:45:28:05:91:
|
93
|
+
F6:46:1C:EA:5C:31:DA:4A:88:D2:F8:A2:98:9E:E3:A1:
|
94
|
+
36:1D:41:BF:DA:0A:45:D9
|
96
95
|
Signature Algorithm: sha256WithRSAEncryption
|
97
96
|
Signature Value:
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
97
|
+
61:76:67:a7:27:1f:ac:52:59:f6:73:dd:98:6b:52:25:b2:a3:
|
98
|
+
1b:f1:23:8f:07:75:7f:e9:1a:fa:c7:99:61:3c:c4:d6:d4:24:
|
99
|
+
a6:2e:e9:67:c6:18:ca:76:57:63:bf:ce:ad:74:92:e1:e5:84:
|
100
|
+
1d:94:80:f2:a9:90:a5:8e:83:74:80:cf:d1:2e:be:f7:13:6e:
|
101
|
+
84:22:44:e1:a9:bd:60:85:81:ad:ee:17:68:d1:e7:83:dd:aa:
|
102
|
+
8e:35:5e:0b:e5:9a:52:23:4d:c6:85:cc:fc:45:09:d3:f7:63:
|
103
|
+
1d:72:69:09:99:36:53:97:43:54:53:2e:47:8d:ec:29:f1:d2:
|
104
|
+
54:e4:35:f9:84:a1:ef:f0:4b:23:cf:1c:b3:06:c5:6a:bc:d9:
|
105
|
+
7e:b3:8c:3a:76:74:28:d8:2b:75:b2:fd:bb:c3:62:02:46:ed:
|
106
|
+
ca:47:b2:c9:7a:f3:99:e3:c8:5c:6a:c0:02:a4:25:b9:2d:82:
|
107
|
+
87:6c:7a:1f:5d:41:37:53:8f:8a:71:91:13:ed:d7:3f:ac:29:
|
108
|
+
58:83:08:1f:1d:62:d4:e9:d9:c8:63:05:0d:24:44:45:44:58:
|
109
|
+
be:4a:09:ff:e5:56:e8:67:ad:2d:ee:42:f9:a3:fa:fa:3f:72:
|
110
|
+
ab:eb:eb:4b:23:94:f3:ac:91:f5:34:6a:8a:3d:2f:89:52:54:
|
111
|
+
a4:7e:5f:db
|
113
112
|
|
114
113
|
-----BEGIN CERTIFICATE-----
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-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hkbgAAAY/o7IdnAAAEAwBH
|
137
|
+
MEUCIQCiIW9ZqG/fH9i/1QzIkJwV9gIglyJwvd/G+EECo4b7DwIgX0zlfTjXr3xA
|
138
|
+
QbGZigSDLJV/cTRCL7mU3O6F2S5q/g4AdwB2/4g/Crb7lVHCYcz1h7o0tKTNuync
|
139
|
+
aEIKn+ZnTFo6dAAAAY/o7IeTAAAEAwBIMEYCIQD6YzJuWFRvNu6cuvuv4V61qSSK
|
140
|
+
gYR65fOpOEJXzOMJyQIhAOK9fj1FKAWR9kYc6lwx2kqI0viimJ7joTYdQb/aCkXZ
|
141
|
+
MA0GCSqGSIb3DQEBCwUAA4IBAQBhdmenJx+sUln2c92Ya1IlsqMb8SOPB3V/6Rr6
|
142
|
+
x5lhPMTW1CSmLulnxhjKdldjv86tdJLh5YQdlIDyqZCljoN0gM/RLr73E26EIkTh
|
143
|
+
qb1ghYGt7hdo0eeD3aqONV4L5ZpSI03Ghcz8RQnT92MdcmkJmTZTl0NUUy5Hjewp
|
144
|
+
8dJU5DX5hKHv8EsjzxyzBsVqvNl+s4w6dnQo2Ct1sv27w2ICRu3KR7LJevOZ48hc
|
145
|
+
asACpCW5LYKHbHofXUE3U4+KcZET7dc/rClYgwgfHWLU6dnIYwUNJERFRFi+Sgn/
|
146
|
+
5VboZ60t7kL5o/r6P3Kr6+tLI5TzrJH1NGqKPS+JUlSkfl/b
|
152
147
|
-----END CERTIFICATE-----
|
data/spec/support/constraints.rb
CHANGED
@@ -17,6 +17,12 @@ module Constraints
|
|
17
17
|
end
|
18
18
|
end
|
19
19
|
|
20
|
+
def forbid_x509_auth
|
21
|
+
before(:all) do
|
22
|
+
skip 'X.509 auth not allowed' if SpecConfig.instance.x509_auth?
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
20
26
|
def max_bson_version(version)
|
21
27
|
required_version = version.split('.').map(&:to_i)
|
22
28
|
actual_version = bson_version(required_version.length)
|
data/spec/support/ocsp
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
../../.mod/drivers-evergreen-tools/.evergreen/ocsp
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# rubocop:todo all
|
3
|
+
|
4
|
+
require 'stringio'
|
5
|
+
|
6
|
+
# A "Logger-alike" class, quacking like ::Logger, used for recording messages
|
7
|
+
# as they are written to the log
|
8
|
+
class RecordingLogger < Logger
|
9
|
+
def initialize(*args, **kwargs)
|
10
|
+
@buffer = StringIO.new
|
11
|
+
super(@buffer, *args, **kwargs)
|
12
|
+
end
|
13
|
+
|
14
|
+
# Accesses the raw contents of the log
|
15
|
+
#
|
16
|
+
# @return [ String ] the raw contents of the log
|
17
|
+
def contents
|
18
|
+
@buffer.string
|
19
|
+
end
|
20
|
+
|
21
|
+
# Returns the contents of the log as individual lines.
|
22
|
+
#
|
23
|
+
# @return [ Array<String> ] the individual log lines
|
24
|
+
def lines
|
25
|
+
contents.split(/\n/)
|
26
|
+
end
|
27
|
+
end
|