impacket icon indicating copy to clipboard operation
impacket copied to clipboard

Use the latest pyOpenSSL==25.0.0

Open arossert opened this issue 9 months ago • 3 comments

Can you please update the pyOpenSSL version as I cannot install impacklet it with the latest version?

arossert avatar Mar 27 '25 05:03 arossert

In the context of #1716 we decided to anchor PyOpenSSL dependency to 24 in order to avoid issues in the shadow credentials and ADCS attacks, given the lack of support for PKCS12. This resulted in a workaround more than a definitive fix. We plan to adapt the current code in order to eliminate constraints related to PyOpenSSL version, and the current workaround.

anadrianmanrique avatar Apr 03 '25 18:04 anadrianmanrique

So the only solution for me to use the latest version is to ancore PyOpenSSL to version 24?

arossert avatar Apr 11 '25 12:04 arossert

Hello @arossert, Yes, until those changes commented by @anadrianmanrique are implemented, latest impacket version will work with pyopenssl v24

FTR, these are the changes to be implemented (checking their changelog as of today)

  • https://pypi.org/project/pyOpenSSL/#:~:text=2024%2D03%2D09)-,Backward%2Dincompatible%20changes%3A,-Removed%20the%20deprecated

gabrielg5 avatar Apr 14 '25 17:04 gabrielg5

Closing this one after https://github.com/fortra/impacket/pull/2042

gabrielg5 avatar Sep 19 '25 20:09 gabrielg5