Alex Gaynor
f01dcd62af
Specify an MSRV in setup.py ( #5789 )
2021-02-08 18:09:31 -06:00
Paul Kehrer
e6df973a92
docs docs docs ( #5788 )
2021-02-08 13:01:53 -05:00
Alex Gaynor
9bf3880bc5
forward port 3.4.2 changelog ( #5786 )
2021-02-08 11:31:35 -06:00
Paul Kehrer
b20507ae68
link a lot more things, repeat advice in more places ( #5785 )
...
* link a lot more things, repeat advice in more places
* updated with Christian's comments
* empty commit poor github
2021-02-08 11:50:39 -05:00
Alex Gaynor
5fdc9c1b85
More aggressively point people at Rust version docs ( #5782 )
2021-02-08 09:18:13 -06:00
Christian Heimes
9aa369af8c
Update build instructions ( #5764 )
...
The Rust version in CentOS 7 SCL is too old to build cryptography.
Signed-off-by: Christian Heimes <cheimes@redhat.com>
2021-02-08 08:58:34 -06:00
Christian Heimes
048f7c6cb4
Remove setuptools_rust from install requirement ( #5779 )
...
* Remove setuptools_rust from install requirement
setuptools_rust is only required for building cryptography.
Fixes: https://github.com/pyca/cryptography/issues/5778
Signed-off-by: Christian Heimes <cheimes@redhat.com>
* sdist needs setuptools_rust
Signed-off-by: Christian Heimes <cheimes@redhat.com>
2021-02-08 09:32:58 -05:00
Christian Heimes
13e7e56c60
Interface: Make annotation check optional ( #5775 )
...
* Interface: Make annotation check optional
Fixes: https://github.com/pyca/cryptography/issues/5774
Signed-off-by: Christian Heimes <cheimes@redhat.com>
* Use param.replace()
Co-authored-by: Stanislav Levin <slev@altlinux.org>
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Co-authored-by: Stanislav Levin <slev@altlinux.org>
2021-02-08 08:07:59 -06:00
dependabot[bot]
f9277dc376
Bump actions/cache from v2 to v2.1.4 ( #5770 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from v2 to v2.1.4.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2...26968a09c0ea4f3e233fdddbafd1166051a095f6 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-08 08:46:28 -05:00
Alex Gaynor
ab96eccb74
include cargo in the docs for alpine ( #5763 )
2021-02-07 16:30:55 -06:00
Paul Kehrer
585c53f382
forward port 3.4.1 changelog ( #5762 )
2021-02-07 17:23:25 -05:00
Paul Kehrer
4f03b8e899
fix import cycle with asymmetricpadding ( #5758 )
...
* fix import cycle with asymmetricpadding
* Update src/cryptography/hazmat/primitives/_asymmetric.py
2021-02-07 16:11:20 -05:00
Paul Kehrer
a3e435f1b1
update issue template with more words few people will read ( #5759 )
2021-02-07 16:06:34 -05:00
Alex Gaynor
ab537a610d
Try to assist folks having issues with older pips ( #5757 )
...
* Try to assist folks having issues with older pips
* Update setup.py
* Update setup.py
2021-02-07 15:06:02 -06:00
Paul Kehrer
cac6703cca
reopen master for 3.5 ( #5752 )
...
* reopen master for 3.5
* Update CHANGELOG.rst
Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
2021-02-07 15:22:02 -05:00
Alex Gaynor
9f931ff99e
fixed manylinxu wheel builder for rust ( #5750 )
2021-02-07 13:38:15 -06:00
Alex Gaynor
c22f3230f2
fix macos target for wheel builder ( #5751 )
2021-02-07 13:38:03 -06:00
Alex Gaynor
2c11ad53c0
3.4 release ( #5749 )
2021-02-07 12:28:56 -06:00
Paul Kehrer
06cbf77371
port changelog and fix back to master for CVE-2020-36242 ( #5748 )
2021-02-07 12:20:09 -05:00
Alex Gaynor
9d1669534f
Linker script is no longer required for building your own OpenSSL ( #5746 )
...
fixes #5683
2021-02-06 10:43:23 -06:00
Alex Gaynor
0b41cb2b61
Added typing for a bunch of random stuff ( #5743 )
2021-02-04 17:43:41 -06:00
dependabot[bot]
fb3c73a0b1
Bump ctor from 0.1.18 to 0.1.19 in /src/rust ( #5741 )
...
Bumps [ctor](https://github.com/mmastrac/rust-ctor ) from 0.1.18 to 0.1.19.
- [Release notes](https://github.com/mmastrac/rust-ctor/releases )
- [Commits](https://github.com/mmastrac/rust-ctor/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-03 08:43:16 -05:00
Alex Gaynor
d125d85458
Use caching of rust artifacts in GHA ( #5740 )
2021-02-02 09:16:28 -06:00
dependabot[bot]
cba69f1922
Bump libc from 0.2.84 to 0.2.85 in /src/rust ( #5739 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.84 to 0.2.85.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.84...0.2.85 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-02 08:56:29 -05:00
Alex Gaynor
da8d490ed2
Added typing for more of ciphers ( #5738 )
2021-02-01 21:43:36 -06:00
Alex Gaynor
e6352d5ef2
Added typing for a bunch of methods ( #5737 )
2021-02-01 19:31:42 -06:00
Paul Kehrer
ba9beaa8cd
rsa type hinting ( #5733 )
...
* rsa type hinting
* remove unused import
* missed return type
* type fixes
* ignores no longer required
* black gets me every time
* Update src/cryptography/hazmat/backends/openssl/rsa.py
Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
2021-02-01 17:08:48 -05:00
Paul Kehrer
3d58647904
KDF type hinting ( #5735 )
...
* KDF type hinting
* more types
* less contortions
2021-02-01 16:53:47 -05:00
Paul Kehrer
83692df7a8
add optional block_size to the HashAlgorithm interface ( #5736 )
...
This makes typing ConcatKDF easier
2021-02-01 14:46:48 -05:00
Paul Kehrer
d67d8e7c67
type hints for asym utils ( #5734 )
2021-02-01 00:33:53 -05:00
Paul Kehrer
d8123ed62d
x25519/x448 type hints ( #5731 )
...
* x25519 type hints
* x448 type hints
2021-01-31 23:35:36 -05:00
Paul Kehrer
c1ccce75e0
poly1305 type hints ( #5732 )
2021-01-31 23:24:04 -05:00
Paul Kehrer
fe99089442
add type hinting for ed25519 ( #5728 )
2021-01-31 23:23:13 -05:00
Paul Kehrer
c9ec582aeb
add EC type hinting ( #5729 )
2021-01-31 23:19:34 -05:00
Paul Kehrer
a47884cdfa
ed448 type hints ( #5730 )
2021-01-31 23:17:03 -05:00
Paul Kehrer
c05987e951
dsa type hinting ( #5726 )
2021-01-31 22:04:32 -05:00
Paul Kehrer
e0c94828bd
reorg some types to prevent an import cycle ( #5727 )
2021-01-31 20:27:49 -05:00
Paul Kehrer
089af2765c
DH types ( #5725 )
2021-01-31 19:56:06 -05:00
Paul Kehrer
343ac1344a
enable mypy over tests ( #5721 )
...
* clean mypy with tests dir
* remove most no_type_check annotations
* le sigh
* remove unneeded comments
2021-01-31 19:27:41 -05:00
Paul Kehrer
4883791228
merge pep8, mypy, and packaging jobs into one flake job ( #5723 )
2021-01-31 17:25:12 -05:00
Paul Kehrer
a98e708d45
remove DSAParametersWithNumbers ( #5724 )
...
Merged into DSAParameters, just like we did years ago for everything
else. Somehow we missed this one.
2021-01-31 17:24:37 -05:00
Paul Kehrer
b24d522b05
type updates from turning on unchecked-defs on tests ( #5720 )
...
test changes themselves will be in a separate PR
2021-01-31 13:14:13 -05:00
Paul Kehrer
6a8c0b55b9
make PrivateKeyWithSerialization an alias of PrivateKey ( #5722 )
...
* make PrivateKeyWithSerialization an alias of PrivateKey
* black
2021-01-31 11:37:26 -05:00
Paul Kehrer
f5940f068d
add serialization type hinting ( #5718 )
...
* add serialization type hinting
* reorganize to prevent circular dependency
* review feedback
* damn you black
2021-01-30 23:38:26 -05:00
Paul Kehrer
4372d3f2b8
type hinting for symmetric ciphers ( #5719 )
...
* type hinting for symmetric ciphers
* make our interface verifier happy
2021-01-30 22:40:51 -05:00
Paul Kehrer
576adfb66a
add type hints for twofactor ( #5717 )
...
* add type hints for twofactor
* fix import ordering
2021-01-30 20:18:38 -05:00
Alex Gaynor
5e302f93c8
Attempt to run mypy over tests and vectors ( #5716 )
2021-01-30 18:22:33 -06:00
Alex Gaynor
f16bff2cbd
Apply type annotations to x509 ct and ocsp ( #5712 )
2021-01-30 16:44:14 -06:00
Paul Kehrer
83c598ac3d
add typing to padding and constant time modules ( #5714 )
2021-01-30 17:33:12 -05:00
Paul Kehrer
35606c23b0
add typing to keywrap ( #5715 )
2021-01-30 16:52:56 -05:00