Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't sign #1333

Closed
johnnynunez opened this issue Dec 23, 2024 · 5 comments
Closed

I can't sign #1333

johnnynunez opened this issue Dec 23, 2024 · 5 comments

Comments

@johnnynunez
Copy link

johnnynunez commented Dec 23, 2024

/home/johnny/miniconda3/envs/innovafp/bin/python /home/johnny/Projects/innovafp/src/algorithm/prueba.py 
Traceback (most recent call last):
  File "/home/johnny/Projects/innovafp/src/algorithm/prueba.py", line 1, in <module>
    from fpdf import FPDF
  File "/home/johnny/miniconda3/envs/innovafp/lib/python3.12/site-packages/fpdf/__init__.py", line 24, in <module>
    from .fpdf import (
  File "/home/johnny/miniconda3/envs/innovafp/lib/python3.12/site-packages/fpdf/fpdf.py", line 32, in <module>
    from endesive import signer
  File "/home/johnny/miniconda3/envs/innovafp/lib/python3.12/site-packages/endesive/signer.py", line 14, in <module>
    from oscrypto import asymmetric
  File "/home/johnny/miniconda3/envs/innovafp/lib/python3.12/site-packages/oscrypto/asymmetric.py", line 19, in <module>
    from ._asymmetric import _unwrap_private_key_info
  File "/home/johnny/miniconda3/envs/innovafp/lib/python3.12/site-packages/oscrypto/_asymmetric.py", line 27, in <module>
    from .kdf import pbkdf1, pbkdf2, pkcs12_kdf
  File "/home/johnny/miniconda3/envs/innovafp/lib/python3.12/site-packages/oscrypto/kdf.py", line 9, in <module>
    from .util import rand_bytes
  File "/home/johnny/miniconda3/envs/innovafp/lib/python3.12/site-packages/oscrypto/util.py", line 14, in <module>
    from ._openssl.util import rand_bytes
  File "/home/johnny/miniconda3/envs/innovafp/lib/python3.12/site-packages/oscrypto/_openssl/util.py", line 6, in <module>
    from ._libcrypto import libcrypto, libcrypto_version_info, handle_openssl_error
  File "/home/johnny/miniconda3/envs/innovafp/lib/python3.12/site-packages/oscrypto/_openssl/_libcrypto.py", line 9, in <module>
    from ._libcrypto_cffi import (
  File "/home/johnny/miniconda3/envs/innovafp/lib/python3.12/site-packages/oscrypto/_openssl/_libcrypto_cffi.py", line 44, in <module>
    raise LibraryNotFoundError('Error detecting the version of libcrypto')
oscrypto.errors.LibraryNotFoundError: Error detecting the version of libcrypto
@Lucas-C
Copy link
Member

Lucas-C commented Dec 23, 2024

Hi @johnnynunez and welcome to the community of fpdf2 users.

We would be happy to assist you in figuring out a solution to you problem 🙂

However you did not follow the issue report template: https://github.com/py-pdf/fpdf2/blob/master/.github/ISSUE_TEMPLATE/bug_report.md

A very important step is mentioned in this template:

Please include some minimal Python code reproducing your issue.
If you don't know how to build a minimal reproducible example, please check this tutorial: https://stackoverflow.com/help/minimal-reproducible-example

Without a mention of the version of fpdf2 that your are using, and some minimal code reprocing your problem, we will not be able to figure what's happening and help you!

@andersonhc
Copy link
Collaborator

We are getting the same error on our CI

Looks like an issue between endesive->oscrypto->openssl

@andersonhc
Copy link
Collaborator

A summary of what I could find:

@Lucas-C
Copy link
Member

Lucas-C commented Dec 27, 2024

Thank you very much for the analysis @andersonhc 👍

I fixed the CI pipeline problem by pinning the GitHub Actions runner for now:
#1335

@Lucas-C
Copy link
Member

Lucas-C commented Dec 27, 2024

@johnnynunez: unless you want to provide further information regarding your issue, given that the CI pipeline problem has been solved, we will close this ticket at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants