Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

pyopenssl

Package Overview
Dependencies
Maintainers
3
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pyopenssl - npm Package Compare versions

Comparing version
25.1.0
to
25.2.0
+88
noxfile.py
import nox
nox.options.reuse_existing_virtualenvs = True
nox.options.default_venv_backend = "uv|virtualenv"
MINIMUM_CRYPTOGRAPHY_VERSION = "45.0.7"
@nox.session
@nox.session(name="tests-cryptography-main")
@nox.session(name="tests-cryptography-minimum")
@nox.session(name="tests-wheel")
@nox.session(name="tests-cryptography-minimum-wheel")
@nox.session(name="tests-random-order")
def tests(session: nox.Session) -> None:
cryptography_version = None
use_wheel = False
random_order = False
if "cryptography-main" in session.name:
cryptography_version = "main"
elif "cryptography-minimum" in session.name:
cryptography_version = "minimum"
if "wheel" in session.name:
use_wheel = True
if "random-order" in session.name:
random_order = True
session.env.update(
{
"PIP_NO_BINARY": "" if use_wheel else "cryptography",
}
)
deps = ["coverage>=4.2"]
if cryptography_version == "minimum":
deps.append(f"cryptography=={MINIMUM_CRYPTOGRAPHY_VERSION}")
if random_order:
deps.append("pytest-randomly")
session.install(*deps)
session.install("-e", ".[test]")
if cryptography_version == "main":
session.install("git+https://github.com/pyca/cryptography.git")
session.run("openssl", "version", external=True)
session.run("coverage", "run", "--parallel", "-m", "OpenSSL.debug")
session.run(
"coverage", "run", "--parallel", "-m", "pytest", "-v", *session.posargs
)
@nox.session
def lint(session: nox.Session) -> None:
session.install("ruff")
session.run("ruff", "check", ".")
session.run("ruff", "format", "--check", ".")
@nox.session
def mypy(session: nox.Session) -> None:
session.install("-e", ".[test]")
session.install("mypy")
session.run("mypy", "src/", "tests/")
@nox.session(name="check-manifest")
def check_manifest(session: nox.Session) -> None:
session.install("check-manifest")
session.run("check-manifest")
@nox.session
def docs(session: nox.Session) -> None:
session.install("-e", ".[docs]")
session.run(
"sphinx-build",
"-W",
"-b",
"html",
"doc",
"doc/_build/html",
*session.posargs,
)
+32
-0

@@ -7,2 +7,34 @@ Changelog

25.3.0 (UNRELEASED)
-------------------
Backward-incompatible changes:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Deprecations:
^^^^^^^^^^^^^
Changes:
^^^^^^^^
25.2.0 (2025-09-14)
-------------------
Backward-incompatible changes:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- The minimum ``cryptography`` version is now 45.0.7.
Deprecations:
^^^^^^^^^^^^^
Changes:
^^^^^^^^
- pyOpenSSL now sets ``SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER`` on connections by default, matching CPython's behavior.
- Added ``OpenSSL.SSL.Context.clear_mode``.
- Added ``OpenSSL.SSL.Context.set_tls13_ciphersuites`` to set the allowed TLS 1.3 ciphers.
- Added ``OpenSSL.SSL.Connection.set_info_callback``
25.1.0 (2025-05-17)

@@ -9,0 +41,0 @@ -------------------

+1
-1

@@ -1,2 +0,2 @@

include LICENSE MANIFEST.in *.rst tox.ini .coveragerc src/OpenSSL/py.typed
include LICENSE MANIFEST.in *.rst noxfile.py .coveragerc src/OpenSSL/py.typed
exclude .readthedocs.yml mypy.ini

@@ -3,0 +3,0 @@ recursive-include tests *.py

Metadata-Version: 2.4
Name: pyOpenSSL
Version: 25.1.0
Version: 25.2.0
Summary: Python wrapper module around the OpenSSL library

@@ -31,3 +31,3 @@ Home-page: https://pyopenssl.org/

License-File: LICENSE
Requires-Dist: cryptography<46,>=41.0.5
Requires-Dist: cryptography<46,>=45.0.7
Requires-Dist: typing-extensions>=4.9; python_version < "3.13" and python_version >= "3.8"

@@ -101,2 +101,34 @@ Provides-Extra: test

25.3.0 (UNRELEASED)
-------------------
Backward-incompatible changes:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Deprecations:
^^^^^^^^^^^^^
Changes:
^^^^^^^^
25.2.0 (2025-09-14)
-------------------
Backward-incompatible changes:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- The minimum ``cryptography`` version is now 45.0.7.
Deprecations:
^^^^^^^^^^^^^
Changes:
^^^^^^^^
- pyOpenSSL now sets ``SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER`` on connections by default, matching CPython's behavior.
- Added ``OpenSSL.SSL.Context.clear_mode``.
- Added ``OpenSSL.SSL.Context.set_tls13_ciphersuites`` to set the allowed TLS 1.3 ciphers.
- Added ``OpenSSL.SSL.Connection.set_info_callback``
25.1.0 (2025-05-17)

@@ -103,0 +135,0 @@ -------------------

@@ -9,6 +9,6 @@ [tool.coverage.run]

"src/OpenSSL",
"*.tox/*/lib/python*/site-packages/OpenSSL",
"*.tox/*/lib/pypy*/site-packages/OpenSSL",
"*.tox/pypy/site-packages/OpenSSL",
"*.tox\\*\\Lib\\site-packages\\OpenSSL",
"*.nox/*/lib/python*/site-packages/OpenSSL",
"*.nox/*/lib/pypy*/site-packages/OpenSSL",
"*.nox/pypy/site-packages/OpenSSL",
"*.nox\\*\\Lib\\site-packages\\OpenSSL",
]

@@ -23,2 +23,3 @@

strict = true
strict_bytes = true

@@ -25,0 +26,0 @@ [[tool.mypy.overrides]]

@@ -97,3 +97,3 @@ #!/usr/bin/env python

install_requires=[
"cryptography>=41.0.5,<46",
"cryptography>=45.0.7,<46",
(

@@ -100,0 +100,0 @@ "typing-extensions>=4.9; "

@@ -17,3 +17,3 @@ from __future__ import annotations

ffi = binding.ffi
lib = binding.lib
lib: Any = binding.lib

@@ -20,0 +20,0 @@

@@ -20,3 +20,3 @@ # Copyright (C) AB Strakt

__version__ = "25.1.0"
__version__ = "25.2.0"

@@ -23,0 +23,0 @@ __title__ = "pyOpenSSL"

Metadata-Version: 2.4
Name: pyOpenSSL
Version: 25.1.0
Version: 25.2.0
Summary: Python wrapper module around the OpenSSL library

@@ -31,3 +31,3 @@ Home-page: https://pyopenssl.org/

License-File: LICENSE
Requires-Dist: cryptography<46,>=41.0.5
Requires-Dist: cryptography<46,>=45.0.7
Requires-Dist: typing-extensions>=4.9; python_version < "3.13" and python_version >= "3.8"

@@ -101,2 +101,34 @@ Provides-Extra: test

25.3.0 (UNRELEASED)
-------------------
Backward-incompatible changes:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Deprecations:
^^^^^^^^^^^^^
Changes:
^^^^^^^^
25.2.0 (2025-09-14)
-------------------
Backward-incompatible changes:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- The minimum ``cryptography`` version is now 45.0.7.
Deprecations:
^^^^^^^^^^^^^
Changes:
^^^^^^^^
- pyOpenSSL now sets ``SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER`` on connections by default, matching CPython's behavior.
- Added ``OpenSSL.SSL.Context.clear_mode``.
- Added ``OpenSSL.SSL.Context.set_tls13_ciphersuites`` to set the allowed TLS 1.3 ciphers.
- Added ``OpenSSL.SSL.Connection.set_info_callback``
25.1.0 (2025-05-17)

@@ -103,0 +135,0 @@ -------------------

@@ -1,2 +0,2 @@

cryptography<46,>=41.0.5
cryptography<46,>=45.0.7

@@ -3,0 +3,0 @@ [:python_version < "3.13" and python_version >= "3.8"]

@@ -8,6 +8,6 @@ CHANGELOG.rst

README.rst
noxfile.py
pyproject.toml
setup.cfg
setup.py
tox.ini
doc/ChangeLog_old.txt

@@ -14,0 +14,0 @@ doc/Makefile

[tox]
envlist = py{py3,37,38,39,310,311,312,313}{,-cryptographyMinimum}{,-useWheel}{,-randomorder},check-manifest,lint,py313-mypy,docs,coverage-report
[testenv]
allowlist_externals =
openssl
passenv =
ARCHFLAGS
CFLAGS
LC_ALL
LDFLAGS
PATH
LD_LIBRARY_PATH
TERM
RUSTUP_TOOLCHAIN
RUSTUP_HOME
extras =
test
deps =
coverage>=4.2
cryptographyMinimum: cryptography==41.0.5
randomorder: pytest-randomly
setenv =
# Do not allow the executing environment to pollute the test environment
# with extra packages.
PYTHONPATH=
PIP_NO_BINARY=cryptography
useWheel: PIP_NO_BINARY=
commands =
cryptographyMain: pip install -U git+https://github.com/pyca/cryptography.git
openssl version
coverage run --parallel -m OpenSSL.debug
coverage run --parallel -m pytest -v {posargs}
[testenv:lint]
basepython = python3
deps =
ruff
skip_install = true
commands =
ruff check .
ruff format --check .
[testenv:py313-mypy]
extras =
test
deps =
mypy
commands =
mypy src/ tests/
[testenv:check-manifest]
deps =
check-manifest
skip_install = true
commands =
check-manifest
[testenv:docs]
extras =
docs
commands =
sphinx-build -W -b html doc doc/_build/html {posargs}
[testenv:coverage-report]
deps = coverage[toml]>=4.2
skip_install = true
commands =
coverage combine
coverage report

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display