File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -1843,6 +1843,14 @@ axes:
1843
1843
skip_ECS_auth_test : true
1844
1844
python3_binary : /Library/Frameworks/Python.framework/Versions/3.8/bin/python3
1845
1845
libmongocrypt_url : https://s3.amazonaws.com/mciuploads/libmongocrypt/macos/master/latest/libmongocrypt.tar.gz
1846
+ - id : macos-1100
1847
+ display_name : " macOS 11.00"
1848
+ run_on : macos-1100
1849
+ variables :
1850
+ skip_EC2_auth_test : true
1851
+ skip_ECS_auth_test : true
1852
+ python3_binary : /Library/Frameworks/Python.framework/Versions/3.8/bin/python3
1853
+ libmongocrypt_url : https://s3.amazonaws.com/mciuploads/libmongocrypt/macos/master/latest/libmongocrypt.tar.gz
1846
1854
- id : rhel62
1847
1855
display_name : " RHEL 6.2 (x86_64)"
1848
1856
run_on : rhel62-small
@@ -2287,7 +2295,7 @@ buildvariants:
2287
2295
- matrix_name : " test-macos-encryption"
2288
2296
matrix_spec :
2289
2297
platform :
2290
- - macos-1014
2298
+ - macos-1100
2291
2299
auth : " auth"
2292
2300
ssl : " nossl"
2293
2301
encryption : " *"
Original file line number Diff line number Diff line change @@ -1777,10 +1777,9 @@ def setUp(self):
1777
1777
self .cipher_text = self .client_encryption .encrypt (
1778
1778
"hello" , key_id = keyID , algorithm = Algorithm .AEAD_AES_256_CBC_HMAC_SHA_512_Deterministic
1779
1779
)
1780
- if self .cipher_text [- 1 ] == 0 :
1781
- self .malformed_cipher_text = self .cipher_text [:- 1 ] + b"1"
1782
- else :
1783
- self .malformed_cipher_text = self .cipher_text [:- 1 ] + b"0"
1780
+ self .malformed_cipher_text = self .cipher_text [:- 1 ] + (self .cipher_text [- 1 ] ^ 1 ).to_bytes (
1781
+ 1 , "big"
1782
+ )
1784
1783
self .malformed_cipher_text = Binary (self .malformed_cipher_text , 6 )
1785
1784
opts = AutoEncryptionOpts (
1786
1785
key_vault_namespace = "keyvault.datakeys" , kms_providers = kms_providers_map
You can’t perform that action at this time.
0 commit comments