Commit graph

293 commits

Author SHA1 Message Date
Helder Eijs
2165641a91 Add MODE_KWP (KeyWrap with Padding) for AES 2025-04-13 09:43:43 +02:00
Helder Eijs
208d281db4 Bump version 2025-03-15 22:28:00 +01:00
Helder Eijs
7b438ce657 Update docs 2025-03-09 20:13:36 +01:00
Helder Eijs
14e969a9e4 Drop support for python 3.6 2025-01-18 15:11:56 +01:00
Helder Eijs
05bcdffe0a Add tag for Python 3.13 2024-09-29 13:02:49 +02:00
Helder Eijs
dafcda3351 Initial Curve448 implementation 2024-09-08 14:08:40 +02:00
Helder Eijs
13a8461e06 Set py-limited-api dynamically 2024-08-12 09:40:11 +02:00
Helder Eijs
303888da88 Remove reference to ASL from main package 2024-06-25 00:15:47 +02:00
Helder Eijs
fe83288627 Update README 2024-06-24 10:46:02 +02:00
Helder Eijs
acde47dfa5 Add Curve25519 2024-06-23 00:38:27 +02:00
Helder Eijs
8a26da94b2 Further fix to set Python 3.6 as minimum Python3 version 2024-06-16 20:27:42 +02:00
Helder Eijs
3314660aed Add initial pyproject.toml 2023-09-14 00:02:11 +02:00
Helder Eijs
8bdf635495 Add Python 3.12 as supported version 2023-09-13 14:43:40 +02:00
Hugo van Kemenade
d2296cd005 Add support for Python 3.11 2022-11-26 23:25:35 +02:00
Helder Eijs
85e60ed434 Update docs for Ed448 2022-06-05 14:00:18 +02:00
Helder Eijs
59c3cc6022 Add support for Ed448 2022-06-05 09:12:12 +02:00
Helder Eijs
c489fd4e76 Mention EdDSA as a feature in docs 2022-05-14 19:20:18 +02:00
Helder Eijs
52511a7200 25519 extensions must be built with the limited API 2022-05-14 19:14:51 +02:00
Helder Eijs
544045a6f8 Fix symbols for MSVC 2022-05-08 22:35:37 +02:00
Helder Eijs
764c1e81b9 Add Ed25519 keys and EdDSA signatures 2022-05-08 22:35:37 +02:00
Helder Eijs
ed61ae1058 Extend build_py from setuptools, if installed 2021-11-13 11:32:24 +01:00
Hugo van Kemenade
776d77073f Declare support for Python 3.10 2021-11-08 22:42:23 +01:00
Helder Eijs
853054937e Increase robustness of PKCS#1v1.5 decryption against timing attacks 2021-03-16 22:49:45 +01:00
Michał Górny
9fb645e552 Workaround parallel build failures
Use unique source file names to fix a race condition due to a distutils
bug.  The distutils build system does not handle the same source files
being used by multiple extensions correctly.  If parallel (-j) builds
are being done, the same file is compiled twice to the same output file.
This creates a race condition: if the second compilation starts while
the first extension is being linked, it is possible for the linker to
grab the incomplete file that is being written by the second compiler
call.

The simplest workaround for this is to create additional files that
include the original sources while providing a unique name for them.

Fixes #378
2021-02-09 20:30:44 +01:00
Helder Eijs
c465715c25 Use ABI3 for wheels 2021-02-07 23:49:11 +01:00
Helder Eijs
eda4f65718 Move test vectors in a separate package 2021-01-03 23:49:50 +01:00
Helder Eijs
b2482ffe65 Drop support for Python 2.6 and 3.4 2020-12-30 00:02:17 +01:00
Helder Eijs
a7cdbc7795 Isolate NIST ECC tables into translation units 2020-02-23 14:35:54 +01:00
Helder Eijs
0374c47c5d Add Wycheproof tests for HKDF 2019-12-15 23:29:52 +01:00
Helder Eijs
0adc1903ec Support for Python 3.8 in metadata 2019-11-27 09:04:33 +01:00
Helder Eijs
b3a394d083 Force UTF-8 encoding when translating files 2019-08-31 23:16:53 +02:00
Helder Eijs
6312174b45 Add import of RSA keys in new OpenSSH format 2019-08-26 23:04:07 +02:00
Helder Eijs
ca975e96ad First version of bcrypt 2019-08-16 22:17:19 +02:00
Helder Eijs
c33fcd2c66 Update to Blowfish 2019-08-16 22:17:19 +02:00
Helder Eijs
3367e21d72 Add Apache License as classifier 2019-04-03 21:59:25 +02:00
Helder Eijs
54d3568248 Fix installation in development mode 2019-03-26 13:10:20 +01:00
Helder Eijs
b4333df276 Update long description in setup.py 2019-03-23 22:38:45 +01:00
Helder Eijs
1cbee537f8 Upgrade to Production/Stable status 2019-03-22 12:19:08 +01:00
Helder Eijs
40fa9b2645 Include multiply routines dircetly into mont.c 2019-02-11 23:19:52 +01:00
Helder Eijs
aeb811d29f Blind the EC base point 2019-02-11 23:19:52 +01:00
Helder Eijs
085d896f3a Clean up modexp.c 2019-02-05 09:36:47 +01:00
Helder Eijs
00e862200e Add tests and move EC to native code 2019-02-05 09:36:47 +01:00
Helder Eijs
dee55465ac Rename _montgomery module to _modexp 2019-02-05 09:36:47 +01:00
Helder Eijs
1e69b8ae79 Drive inclusion of .txt files from setup.py 2019-01-21 11:33:02 +01:00
Helder Eijs
ec5839e4e3 Distribute .pyi files under Crypto.IO and Crypto.Util 2019-01-07 08:58:11 +01:00
Helder Eijs
94b71fcd6c Fix for correctly removing module in Cryptodome 2018-11-26 21:19:04 +01:00
Helder Eijs
3a28e4635b Clean up setup.py 2018-11-26 15:24:34 +01:00
Helder Eijs
34c9823baa Move auto-detection logic into separate file 2018-11-26 12:39:46 +01:00
Helder Eijs
cb79f4da49 Ensure that 'pip shows' lists the licenses and not UNKNOWN 2018-11-24 15:08:57 +01:00
Helder Eijs
fa933ab29e Make mypy test pass
In the process, refactor Crypto.Math to make use of inheritance.
2018-11-23 23:07:14 +01:00