summaryrefslogtreecommitdiff
path: root/src/cryptography/hazmat/primitives/_serialization.py
Commit message (Collapse)AuthorAgeFilesLines
* Use from __future__ import annotations everywhere (#8643)Alex Gaynor2023-03-311-4/+6
|
* Use the ruff 'pyupgrade' checks (#8104)Alex Gaynor2023-01-201-1/+1
|
* support setting more PKCS12 serialization encryption options (#7560)Paul Kehrer2022-09-051-3/+67
| | | | | | | | | | | | | | | | | | * support setting more PKCS12 serialization encryption options This is limited support, but makes it possible to set two different PBES choices as well as set KDF rounds and MAC algorithm * Apply suggestions from code review Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com> * review feedback redux * Update docs/hazmat/primitives/asymmetric/serialization.rst Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com> Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
* PoC for making key serialization more configurable (#7520)Alex Gaynor2022-08-221-0/+49
|
* Use well-defined enum representation (#6042)Christian Heimes2021-05-121-5/+6
| | | | | | | | | Python 3.10 changed enum's object and string representation. PyCA cryptography now uses a custom subclass of enum.Enum() will well-defined __repr__ and __str__ from Python 3.9. Related: https://bugs.python.org/issue40066 Fixes: https://github.com/pyca/cryptography/issues/5995 Signed-off-by: Christian Heimes <cheimes@redhat.com>
* reorg some types to prevent an import cycle (#5727)Paul Kehrer2021-01-311-0/+54