Commit 2a66c9c
committed
Remove usage of OpenSSL.crypto.sign
This method has been removed in PyOpenSSL 24.3.0.
This change replaces it with equivalent functions from python's
cryptography library.
In this way, the pyvim module can be used with recent versions
of PyOpenSSL. This needed in particular due to CVE-2026-27459,
which requires upgrading PyOpenSSL to 26.0.0.
Changes in this commit:
- Update the signing logic inside pyVim/sso.py's _sign helper
to leverage Python's cryptography package primitives, replacing
the legacy OpenSSL.crypto.sign wrapper.
- Remove the constraint on pyOpenSSL in pyproject.toml. The
whole repository is not using any other deprecated or removed
feature in puOpenSSL.
Resolves: #11121 parent e6cc09f commit 2a66c9c
2 files changed
+17
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
790 | 792 | | |
791 | 793 | | |
792 | 794 | | |
793 | | - | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
794 | 809 | | |
795 | 810 | | |
796 | 811 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
0 commit comments