Skip to content

Commit f2eb31c

Browse files
sfc-gh-mkubiksfc-gh-pczajka
authored andcommitted
SNOW-1935873 Fix test different key length (#2176)
1 parent ad59a14 commit f2eb31c

File tree

2 files changed

+1
-18
lines changed

2 files changed

+1
-18
lines changed

DESCRIPTION.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,6 @@ Source code is also available at: https://github.com/snowflakedb/snowflake-conne
88

99
# Release Notes
1010

11-
<<<<<<< HEAD
12-
=======
13-
- v3.12.5(TBD)
14-
- Added a feature to limit the sizes of IO-bound ThreadPoolExecutors during PUT and GET commands.
15-
- Adding support for the new PAT authentication method.
16-
- Updated README.md to include instructions on how to verify package signatures using `cosign`.
17-
- Updated the log level for cursor's chunk rowcount from INFO to DEBUG.
18-
- Added a feature to verify if the connection is still good enough to send queries over.
19-
- Added support for base64-encoded DER private key strings in the `private_key` authentication type.
20-
21-
- v3.12.4(December 3,2024)
22-
- Fixed a bug where multipart uploads to Azure would be missing their MD5 hashes.
23-
- Fixed a bug where OpenTelemetry header injection would sometimes cause Exceptions to be thrown.
24-
- Fixed a bug where OCSP checks would throw TypeError and make mainly GCP blob storage unreachable.
25-
- Bumped pyOpenSSL dependency from >=16.2.0,<25.0.0 to >=22.0.0,<25.0.0.
26-
27-
>>>>>>> 4b3ded11 (Support base64-encoded DER private keys (#2134))
2811
- v3.12.3(October 25,2024)
2912
- Improved the error message for SSL-related issues to provide clearer guidance when an SSL error occurs.
3013
- Improved error message for SQL execution cancellations caused by timeout.

test/integ/test_key_pair_authentication.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def fin():
128128
pass
129129

130130
# Ensure the base64-encoded version also works
131-
db_config["private_key"] = base64.b64encode(private_key_der)
131+
db_config["private_key"] = base64.b64encode(private_key_der).decode()
132132
with snowflake.connector.connect(**db_config) as _:
133133
pass
134134

0 commit comments

Comments
 (0)