Sebastian Rittau
61de308e29
Update pyOpenSSL stubs to 22.1.* ( #8838 )
2022-10-04 05:29:16 -07:00
Nikita Sobolev
aba4bbd13b
Add pyopenssl.rand module ( #8435 )
2022-07-29 09:24:15 +01:00
Nikita Sobolev
d4287a7f08
Add pyopenssl.version module ( #8384 )
2022-07-24 20:46:54 +01:00
Nikita Sobolev
eb9edf1bd6
Add missing methods to OpenSSL.SSL.Connection ( #8374 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-07-24 16:48:41 +01:00
Shane Harvey
b47d771fc9
pyopenssl: data argument for set_ocsp_server_callback/set_ocsp_client_callback can be non-bytes (#8371 )
2022-07-23 12:06:59 +01:00
Nikita Sobolev
60e5d96043
Add ocsp callback setters to OpenSSL.SSL ( #8367 )
2022-07-22 19:27:28 +01:00
Nikita Sobolev
83c6a48772
Add proto_version setters to OpenSSL.SSL ( #8363 )
2022-07-22 11:33:46 +02:00
Alex Waygood
74bd0d962b
Third-party stubs: audit Callable[<parameters>, None] annotations ( #8175 )
2022-06-26 13:56:19 +02:00
Alex Waygood
653f2c6ba4
Third-party stubs: import from collections.abc where possible ( #7637 )
2022-04-16 14:52:57 +01:00
Alex Waygood
740193a8fc
Use TypeAlias where possible for type aliases ( #7630 )
2022-04-15 18:01:00 -07:00
Alex Waygood
3ab250eec8
Use PEP 604 syntax wherever possible ( #7493 )
2022-03-16 16:01:33 +01:00
lovetox
9aeecb4c35
pyOpenSSL: Adapt to changes in 22.0.0 ( #7080 )
2022-01-30 00:05:59 +02:00
Alex Waygood
8d5d2520ac
Use PEP 585 syntax wherever possible ( #6717 )
2021-12-28 11:31:43 +01:00
Alex Waygood
c685c2d6c6
Reduce use of deprecated typing aliases ( #6358 )
2021-11-23 10:56:43 +01:00
Maximilian Hils
ab25042efa
Add pyOpenSSL 21 constants ( #6273 )
2021-11-10 07:59:42 +01:00
Akuli
994b69ef8f
Use lowercase tuple where possible ( #6170 )
2021-10-14 17:18:19 -07:00
Sebastian Rittau
9f86972350
Add star to all non-0.1 versions ( #6146 )
2021-10-11 13:41:19 -07:00
Sebastian Rittau
32bc2161a1
Unbreak CI ( #6093 )
...
* Temporarily remove `cachetools` stubs. They will be added back soon, and meanwhile they will continue to be available on pypi.
* Remove `filelock.logger()` (no longer exists in filelock 3.2)
* Delete `OpenSSL.crypto` from stubtest whitelist
Co-authored-by: Akuli <akuviljanen17@gmail.com >
2021-09-30 14:18:47 +03:00
Jon Dufresne
b50ebafa79
Tighten return type of OpenSSL Connection.get_protocol_name() ( #5972 )
...
The method always returns a str. See implementation at:
30e82d4ba5/src/OpenSSL/SSL.py (L2420-L2430)
If version were ever None, it would raise an exception on the .decode()
line.
2021-08-27 10:54:27 -07:00
Akuli
ce11072dbe
Big diff: use lower-case list and dict ( #5888 )
2021-08-08 09:26:35 -07:00
Vasily Zakharov
0baeef09a2
Fixed a bug in OpenSSL.crypto stub ( #5796 )
...
Co-authored-by: Vasily Zakharov <v.zakharov@wwpass.com >
2021-07-21 15:58:17 -07:00
Maximilian Hils
f58c9c7e7d
Extend pyOpenSSL stubs ( #5687 )
2021-06-24 12:21:05 +02:00
Vasily Zakharov
4d981f87e3
FixpyOpenSSL stubs to pass stubtest ( #5657 )
...
* Fix missing default arguments.
* Fix wrong argument names.
* Add constructor to `_EllipticCurve` and remove `name`.
2021-06-17 23:02:35 +02:00
Sebastian Rittau
a98fceca2f
Rename openssl-python to pyOpenSSL ( #5649 )
...
Remove stubtest allowlist
Set package version
2021-06-16 08:22:45 -07:00