Skip to content

Commit e25cf24

Browse files
committed
Merge branch 'master' into develop
2 parents e3c539a + 789b544 commit e25cf24

File tree

14 files changed

+330
-123
lines changed

14 files changed

+330
-123
lines changed

doc/changes/changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Changes
22

33
* [unreleased](unreleased.md)
4+
* [1.1.1](changes_1.1.1.md)
5+
* [1.1.0](changes_1.1.0.md)
46
* [1.0.1](changes_1.0.1.md)
57
* [1.0.0](changes_1.0.0.md)
68
* [0.27.0](changes_0.27.0.md)
@@ -44,6 +46,8 @@
4446
hidden:
4547
---
4648
unreleased
49+
changes_1.1.1
50+
changes_1.1.0
4751
changes_1.0.1
4852
changes_1.0.0
4953
changes_0.27.0

doc/changes/changes_1.1.0.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# 1.1.0 - 2025-09-05
2+
3+
This release adds support for the reserved word "nocertcheck" as fingerprint value, which disables the certificate check when establishing a connection.
4+
Besides the release fixes a bug for `ImportQuery` and `ExportQuery`.
5+
6+
## Bugfix
7+
8+
* #241: Switched checks for `ImportQuery` and `ExportQuery` to test more explicitly if None (instead of truthy assumptions).
9+
10+
## Features
11+
* #235: Support NOCERTCHECK as fingerprint

doc/changes/changes_1.1.1.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# 1.1.1 - 2025-09-11
2+
This hotfix fixes a bug with a missing dependency in the `pyproject.toml`.
3+
4+
## Bugs
5+
6+
- #245: Add dependency "cryptography"
7+
8+
## Dependency Updates
9+
10+
### `main`
11+
* Added dependency `cryptography:45.0.7`

doc/user_guide/configuration/security.rst

Lines changed: 36 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -115,22 +115,10 @@ For technical articles made by Exasol relating to TLS, please see:
115115
- `TLS connection fails <https://exasol.my.site.com/s/article/TLS-connection-fails>`__
116116

117117

118-
Fingerprint Verification
119-
------------------------
120-
Similar to JDBC / ODBC drivers, PyExasol supports fingerprint verification.
121-
For more information, see the ODBC entry on `fingerprint <https://docs.exasol.com/db/latest/connect_exasol/drivers/odbc/using_odbc.htm?Highlight=prepared%20statement#fingerprint>`__.
122-
123-
.. code-block:: python
124-
125-
fingerprint = "135a1d2dce102de866f58267521f4232153545a075dc85f8f7596f57e588a181"
126-
pyexasol.connect(dsn=f'myexasol/{fingerprint}:8563'
127-
, user='user'
128-
, password='password'
129-
)
130-
131118

132119
.. _certificate_verification:
133120

121+
134122
Certificate Verification
135123
------------------------
136124

@@ -179,13 +167,16 @@ Client machine
179167
* The certificate should already be in the operating system truststore of the client machine.
180168
#. Private CA (Corporate CA)
181169
* Your IT should add it to the operating system truststore of the client machine.
170+
* Or, use the fingerprint of the certificate. See :ref:`fingerprint_verification` for details.
182171
#. Self-signed Certificate
183172
* Your IT should add it to the operating system truststore of the client machine.
184173
1. DBA needs to fetch the certificate from the Exasol Cluster.
185174
2. Client Machine Admin needs to add it to the operating system truststore.
186175
* Or, in case of a unprivileged user and the user can access the certificate of the Exasol database you can specify the certificate during connect.
176+
* Or, use the fingerprint of the certificate. See :ref:`fingerprint_verification` for details.
187177
* For testing with a local DB you can disable the certificate verification (however, this should **NEVER** be used for production).
188178

179+
189180
.. _inside_a_udf:
190181

191182
Inside a User Defined Function (UDF)
@@ -199,17 +190,47 @@ Inside a User Defined Function (UDF)
199190
* Your DBA should upload the certificate to BucketFS and you should pass it to the connect inside of the UDF.
200191
* Note: The operating system truststore is part of the SLC and can only be changed during SLC creation.
201192
While you run a UDF, the operating system truststore inside of the UDF is read-only.
193+
* Or, use the fingerprint of the certificate. See :ref:`fingerprint_verification` for details.
202194
#. Self-signed Certificate
203195
* Your DBA or you should upload the certificate to BucketFS and you should pass it to the connect inside of the UDF.
204196
* Note: The operating system truststore is part of the SLC and can only be changed during SLC creation.
205197
While you run a UDF, the operating system truststore of the UDF is read-only.
198+
* Or, use the fingerprint of the certificate. See :ref:`fingerprint_verification` for details.
206199
* For testing with a local DB you can disable the certificate verification (however, this should **NEVER** be used for production).
207200

208201
.. _certificate_in_pyexasol:
209202

210203
Handling in PyExasol
211204
^^^^^^^^^^^^^^^^^^^^
212205

206+
.. _fingerprint_verification:
207+
208+
Fingerprint Verification
209+
"""""""""""""""""""""""""""
210+
211+
Similar to JDBC / ODBC drivers, PyExasol supports fingerprint verification.
212+
For more information, see the ODBC entry on `fingerprint <https://docs.exasol.com/db/latest/connect_exasol/drivers/odbc/using_odbc.htm?Highlight=prepared%20statement#fingerprint>`__.
213+
214+
.. code-block:: python
215+
216+
fingerprint = "135a1d2dce102de866f58267521f4232153545a075dc85f8f7596f57e588a181"
217+
pyexasol.connect(dsn=f'myexasol/{fingerprint}:8563'
218+
, user='user'
219+
, password='password'
220+
)
221+
222+
Additionally, you can **disable the certificate check completely** by setting "nocertcheck" (case-insenstive) as fingerprint value:
223+
224+
.. code-block:: python
225+
226+
pyexasol.connect(dsn=f'myexasol/nocertcheck:8563'
227+
, user='user'
228+
, password='password'
229+
)
230+
231+
However, this should **NEVER** be used for production.
232+
233+
213234
Passing into the Connection
214235
"""""""""""""""""""""""""""
215236

@@ -244,3 +265,5 @@ change should :octicon:`alert` **never be used for production**.
244265
, user='user'
245266
, password='password'
246267
, websocket_sslopt={"cert_reqs": ssl.CERT_NONE})
268+
269+
Alternatively, you can disable the certificate check by setting "nocertcheck" as fingerprint value, see :ref:`fingerprint_verification`.

poetry.lock

Lines changed: 45 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)