You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for specifying 'RSAPublicKey' instance instead of raw bytes (#1477)
* Add support for specifying 'RSAPublicKey' instance instead of raw bytes
This can be used to externalize the JWT encoding process.
* Add test for private key abstraction layer
* Add 'isinstance' check to make sure private key has an expected type
* Revert method signature change
Note that while this method does not require a private key, the change is
inconsequential because we're anyway expecting something that implements
a private key at the class level (either bytes or an abstract implementation)
* Be more specific in type error message
* Add failing test for non-bytes, non-RSAPrivateKey value
* Fix linting issues
* add changelog
* Move cases which are now handled by type testing over to unit test
---------
Co-authored-by: sfc-gh-sfan <[email protected]>
Copy file name to clipboardExpand all lines: DESCRIPTION.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,10 @@ Source code is also available at: https://github.com/snowflakedb/snowflake-conne
8
8
9
9
# Release Notes
10
10
11
+
- v3.1.1(TBD)
12
+
13
+
- Support `RSAPublicKey` when constructing `AuthByKeyPair` in addition to raw bytes.
14
+
11
15
- v3.1.0(July 31,2023)
12
16
13
17
- Added a feature that lets you add connection definitions to the `connections.toml` configuration file. A connection definition refers to a collection of connection parameters, for example, if you wanted to define a connection named `prod``:
0 commit comments