Giter VIP home page Giter VIP logo

Comments (7)

ceztko avatar ceztko commented on May 20, 2024

This risk of failures during static fields initialization may be considered acceptable in some cases but I understand your point since here we are calling an external library. An improvement here may come later (0.11): I have some code parked that will move the init in a common place to be called in various places.

from podofo.

igormironchik avatar igormironchik commented on May 20, 2024

ssl

Confirm, this is exactly this issue.

from podofo.

ceztko avatar ceztko commented on May 20, 2024

Ok, please understand that moving to lazy initialization won't fix this issue for you. You must bind to a openssl build that has legacy algorithms, or lazily crash in PoDoFo only if RC4 algorithms are needed by the actual document but OpenSSL support is not available. Patches welcome to add the latter.

from podofo.

igormironchik avatar igormironchik commented on May 20, 2024

Ok, please understand that moving to lazy initialization won't fix this issue for you.

Sure, thanks. OpenSSL from Conan is unusable...

from podofo.

ceztko avatar ceztko commented on May 20, 2024

It is workable with some modifications to PoDoFo, but it won't work with RC4 encrypted documents. You can point out this to the Conan index.

from podofo.

nntrifonov avatar nntrifonov commented on May 20, 2024

Hi!
OpenSSL 3 tries to load legacy.dll. If it is not in path it returns NULL and PoDoFo throws exceptions.
Set OPENSSL_MODULES system variable to specify the path to DLL.

from podofo.

ceztko avatar ceztko commented on May 20, 2024

Implemented in 09cb7e1 . It didn't come for free, so I hope it was worth.

from podofo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.