Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
302 changes: 271 additions & 31 deletions CHANGELOG.rst

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
This software is made available under the terms of *either* of the licenses
found in LICENSE.APACHE or LICENSE.BSD. Contributions to cryptography are made
under the terms of *both* these licenses.

The code used in the OS random engine is derived from CPython, and is licensed
under the terms of the PSF License Agreement.
41 changes: 0 additions & 41 deletions LICENSE.PSF

This file was deleted.

8 changes: 4 additions & 4 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ include CONTRIBUTING.rst
include LICENSE
include LICENSE.APACHE
include LICENSE.BSD
include LICENSE.PSF
include README.rst
include noxfile.py

include pyproject.toml
recursive-include src py.typed *.pyi
Expand All @@ -16,9 +16,9 @@ prune docs/_build
recursive-include tests *.py
exclude vectors
recursive-exclude vectors *
exclude src/rust/target
recursive-exclude src/rust/target *

recursive-exclude .github *

exclude release.py .readthedocs.yml dev-requirements.txt tox.ini mypy.ini

recursive-exclude .circleci *
exclude release.py .readthedocs.yml ci-constraints-requirements.txt mypy.ini
62 changes: 39 additions & 23 deletions PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
Metadata-Version: 2.1
Name: cryptography
Version: 38.0.4
Version: 41.0.7
Summary: cryptography is a package which provides cryptographic recipes and primitives to Python developers.
Home-page: https://github.com/pyca/cryptography
Author: The Python Cryptographic Authority and individual contributors
Author-email: cryptography-dev@python.org
License: BSD-3-Clause OR Apache-2.0
Project-URL: Documentation, https://cryptography.io/
Project-URL: Source, https://github.com/pyca/cryptography/
Project-URL: Issues, https://github.com/pyca/cryptography/issues
Project-URL: Changelog, https://cryptography.io/en/latest/changelog/
Platform: UNKNOWN
Author-email: The Python Cryptographic Authority and individual contributors <cryptography-dev@python.org>
License: Apache-2.0 OR BSD-3-Clause
Project-URL: homepage, https://github.com/pyca/cryptography
Project-URL: documentation, https://cryptography.io/
Project-URL: source, https://github.com/pyca/cryptography/
Project-URL: issues, https://github.com/pyca/cryptography/issues
Project-URL: changelog, https://cryptography.io/en/latest/changelog/
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Expand All @@ -24,26 +22,46 @@ Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Security :: Cryptography
Requires-Python: >=3.6
Requires-Python: >=3.7
Description-Content-Type: text/x-rst
License-File: LICENSE
License-File: LICENSE.APACHE
License-File: LICENSE.BSD
Requires-Dist: cffi>=1.12
Provides-Extra: ssh
Requires-Dist: bcrypt>=3.1.5; extra == "ssh"
Provides-Extra: nox
Requires-Dist: nox; extra == "nox"
Provides-Extra: test
Requires-Dist: pytest>=6.2.0; extra == "test"
Requires-Dist: pytest-benchmark; extra == "test"
Requires-Dist: pytest-cov; extra == "test"
Requires-Dist: pytest-xdist; extra == "test"
Requires-Dist: pretend; extra == "test"
Provides-Extra: test-randomorder
Requires-Dist: pytest-randomly; extra == "test-randomorder"
Provides-Extra: docs
Requires-Dist: sphinx>=5.3.0; extra == "docs"
Requires-Dist: sphinx-rtd-theme>=1.1.1; extra == "docs"
Provides-Extra: docstest
Requires-Dist: pyenchant>=1.6.11; extra == "docstest"
Requires-Dist: twine>=1.12.0; extra == "docstest"
Requires-Dist: sphinxcontrib-spelling>=4.0.1; extra == "docstest"
Provides-Extra: sdist
Requires-Dist: build; extra == "sdist"
Provides-Extra: pep8test
Provides-Extra: ssh
License-File: LICENSE
License-File: LICENSE.APACHE
License-File: LICENSE.BSD
License-File: LICENSE.PSF
Requires-Dist: black; extra == "pep8test"
Requires-Dist: ruff; extra == "pep8test"
Requires-Dist: mypy; extra == "pep8test"
Requires-Dist: check-sdist; extra == "pep8test"

pyca/cryptography
=================
Expand All @@ -61,8 +79,8 @@ pyca/cryptography


``cryptography`` is a package which provides cryptographic recipes and
primitives to Python developers. Our goal is for it to be your "cryptographic
standard library". It supports Python 3.6+ and PyPy3 7.2+.
primitives to Python developers. Our goal is for it to be your "cryptographic
standard library". It supports Python 3.7+ and PyPy3 7.3.10+.

``cryptography`` includes both high level recipes and low level interfaces to
common cryptographic algorithms such as symmetric ciphers, message digests, and
Expand All @@ -77,9 +95,9 @@ key derivation functions. For example, to encrypt something with
>>> f = Fernet(key)
>>> token = f.encrypt(b"A really secret message. Not for prying eyes.")
>>> token
'...'
b'...'
>>> f.decrypt(token)
'A really secret message. Not for prying eyes.'
b'A really secret message. Not for prying eyes.'

You can find more information in the `documentation`_.

Expand Down Expand Up @@ -113,5 +131,3 @@ documentation.
.. _`issue tracker`: https://github.com/pyca/cryptography/issues
.. _`cryptography-dev`: https://mail.python.org/mailman/listinfo/cryptography-dev
.. _`security reporting`: https://cryptography.io/en/latest/security/


8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ pyca/cryptography


``cryptography`` is a package which provides cryptographic recipes and
primitives to Python developers. Our goal is for it to be your "cryptographic
standard library". It supports Python 3.6+ and PyPy3 7.2+.
primitives to Python developers. Our goal is for it to be your "cryptographic
standard library". It supports Python 3.7+ and PyPy3 7.3.10+.

``cryptography`` includes both high level recipes and low level interfaces to
common cryptographic algorithms such as symmetric ciphers, message digests, and
Expand All @@ -30,9 +30,9 @@ key derivation functions. For example, to encrypt something with
>>> f = Fernet(key)
>>> token = f.encrypt(b"A really secret message. Not for prying eyes.")
>>> token
'...'
b'...'
>>> f.decrypt(token)
'A really secret message. Not for prying eyes.'
b'A really secret message. Not for prying eyes.'

You can find more information in the `documentation`_.

Expand Down
47 changes: 47 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,50 @@
python-cryptography (41.0.7-5) unstable; urgency=medium

* AMAU, Closes: #1064979

[ Andreas Tille ]
* Enable building twice in a row

-- Jérémy Lal <kapouer@melix.org> Thu, 07 Mar 2024 13:42:35 +0100

python-cryptography (41.0.7-4) unstable; urgency=medium

* orphan

-- Sandro Tosi <morph@debian.org> Wed, 28 Feb 2024 12:23:58 -0500

python-cryptography (41.0.7-3) unstable; urgency=medium

* Upgrade to pyo3 0.20. Closes: #1063365

-- Jérémy Lal <kapouer@melix.org> Thu, 08 Feb 2024 15:34:30 +0100

python-cryptography (41.0.7-2) unstable; urgency=medium

* patch: drop pem 1.0 workaround, depends pem 1.1. Closes: 1060294.
* autopkgtest: fix version of cryptography-vectors

-- Jérémy Lal <kapouer@melix.org> Tue, 09 Jan 2024 01:14:48 +0100

python-cryptography (41.0.7-1) unstable; urgency=medium

* Team upload
* New upstream version 41.0.7
* patch: remove n/a, disable a test to keep building with pem 1.0
* Update deps
* Bump Standards-Version

[ Sandro Tosi ]
* New upstream release; Closes: #1031049
- fixes CVE-2023-23931
* debian/watch
- remove pgpsigurlmangle, .asc file no longer on PyPI

[ Nicolas Dandrimont ]
* New upstream version 41.0.3

-- Jérémy Lal <kapouer@melix.org> Sun, 07 Jan 2024 13:24:39 +0100

python-cryptography (38.0.4-4) unstable; urgency=medium

* Team Upload.
Expand Down
32 changes: 18 additions & 14 deletions debian/control
Original file line number Diff line number Diff line change
@@ -1,29 +1,34 @@
Source: python-cryptography
Maintainer: Tristan Seligmann <mithrandi@debian.org>
Uploaders: Debian Python Team <team+python@tracker.debian.org>,
Sandro Tosi <morph@debian.org>,
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Uploaders:
Jérémy Lal <kapouer@melix.org>,
Section: python
Priority: optional
Build-Depends: cargo,
debhelper-compat (= 13),
dh-sequence-python3,
dh-sequence-sphinxdoc <!nodoc>,
dpkg-dev (>= 1.17.14),
librust-asn1-0.12-dev,
librust-asn1-derive-0.12-dev,
librust-chrono-0.4-dev,
librust-asn1-0.15-dev,
librust-asn1-derive-0.15-dev,
librust-cfg-if-dev,
librust-foreign-types-shared-0.1-dev,
librust-once-cell-dev,
librust-openssl-dev,
librust-openssl-sys-dev,
librust-ouroboros-0.15-dev,
librust-paste-dev,
librust-pem-1.0-dev,
librust-pyo3-0.19-dev,
librust-pyo3-0.19+default-dev,
librust-pyo3-macros-0.19-dev,
librust-pem-1.1-dev,
librust-pyo3-0.20-dev,
librust-pyo3-0.20+default-dev,
librust-pyo3-macros-0.20-dev,
librust-self-cell-dev,
libssl-dev,
pybuild-plugin-pyproject,
python3-all-dev,
python3-cffi,
python3-cryptography-vectors (<< 38.0.5~) <!nocheck>,
python3-cryptography-vectors (>= 38.0.4~) <!nocheck>,
python3-cryptography-vectors (<< 41.0.8~) <!nocheck>,
python3-cryptography-vectors (>= 41.0.7~) <!nocheck>,
python3-doc <!nodoc>,
python3-hypothesis <!nocheck>,
python3-iso8601 <!nocheck>,
Expand All @@ -33,12 +38,11 @@ Build-Depends: cargo,
python3-pytest-subtests <!nocheck>,
python3-setuptools,
python3-setuptools-rust,
python3-six,
python3-sphinx <!nodoc>,
python3-sphinx-rtd-theme <!nodoc>,
python3-tz <!nocheck>,
tzdata <!nocheck>,
Standards-Version: 4.6.1
Standards-Version: 4.6.2
Homepage: https://cryptography.io/
Vcs-Git: https://salsa.debian.org/python-team/packages/python-cryptography.git
Vcs-Browser: https://salsa.debian.org/python-team/packages/python-cryptography
Expand Down
2 changes: 2 additions & 0 deletions debian/gbp.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[DEFAULT]
debian-branch = debian/41.x

This file was deleted.

Loading