Closed wuschLOR closed 8 months ago
Thanks for reporting, this is also relevant for my other projects. I'm currently testing a Debian package postinst script creating a system-wide venv in the venv branch.
There is another issue with the oscrypto python library in Debian Trixie. If you want to test my venv branch on Trixie, you need to apply this patch manually until a new version of oscrypto is released.
This patch worked for me on Debian 12 with Simple-Signer Package already installed. OpenSSL has currently more than 1 digit in the 3rd place of the version string.
--- a/usr/local/lib/python3.11/dist-packages/oscrypto/_openssl/_libcrypto_cffi.py
+++ b/usr/local/lib/python3.11/dist-packages/oscrypto/_openssl/_libcrypto_cffi.py
@@ -37,7 +37,7 @@
is_libressl = 'LibreSSL' in version_string
-version_match = re.search('\\b(\\d\\.\\d\\.\\d[a-z]*)\\b', version_string)
+version_match = re.search('\\b(\\d\\.\\d\\.\\d+[a-z]*)\\b', version_string)
if not version_match:
version_match = re.search('(?<=LibreSSL )(\\d\\.\\d(\\.\\d)?)\\b', version_string)
if not version_match:
@wuschLOR v1.5.2 with the new packaging method is released. I would be happy if you test it and give some feedback.
When trying to install on Debian Trixie there is a problem with the new way the pip packages are handled. To my understanding system wide installation with pip is not possible anymore.
Way to reproduce:
sudo apt-get install ./Downloads/simple-signer.deb
simple-signer
Output
So right now Simple signer is installed but can't run missing endesive.