Commit Graph

46 Commits

Author SHA1 Message Date
github-actions[bot]
7d82517256 [stubsabot] Mark pyOpenSSL as obsolete since 24.2.1 (#12387)
Release: https://pypi.org/pypi/pyOpenSSL/24.2.1
Homepage: https://pyopenssl.org/
Repository: https://github.com/pyca/pyopenssl
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/pyOpenSSL
Diff: https://github.com/pyca/pyopenssl/compare/24.1.0...24.2.1
2024-07-20 21:27:27 -07:00
Sebastian Rittau
8664482849 Bump OpenSSL to 24.1.* (#11816)
Mark a few classes and functions as deprecated

Closes: #11812
2024-04-24 07:58:52 -07:00
Sebastian Rittau
7d56cd9a6c Remove remaining bare Incompletes (#11768)
Enable Y065
2024-04-16 06:26:14 -07:00
Shantanu
88fa182253 Use PEP 570 syntax in third party stubs (#11554) 2024-03-10 14:11:43 +01:00
Thanos
1f3cf143a5 pyOpenSSL: Add DTLS_* constants (#11486) 2024-02-27 18:12:25 -08:00
Sebastian Rittau
ed97b42ee2 [pyOpenSSL] Update to 24.0.* (#11338) 2024-01-29 14:09:40 +01:00
Sebastian Rittau
b6eaadcfe5 Update typing_extensions imports in third-party stubs (#11245) 2024-01-05 15:40:13 +01:00
github-actions[bot]
c74c8b0507 Bump pyOpenSSL to 23.3.* (#10936)
Release: https://pypi.org/pypi/pyOpenSSL/23.3.0
Homepage: https://pyopenssl.org/
Repository: https://github.com/pyca/pyopenssl
Diff: https://github.com/pyca/pyopenssl/compare/23.2.0...23.3.0

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 414.
 - Total lines of Python code deleted: 717.

---
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-10-29 10:01:38 +00:00
Sebastian Rittau
afe18e95a9 Add an upstream_repository field to METADATA.toml (#10487)
Closes: #10478
2023-07-20 16:45:41 +02:00
Jonathan Vanasco
4c1e94d8e0 Add missing constants to OpenSSL/crypto.pyi (#10345)
Adds typing for missing constants `TYPE_DH` and `TYPE_EC`

See https://github.com/pyca/pyopenssl/blob/main/src/OpenSSL/crypto.py#L94-L95
2023-06-21 20:21:17 +01:00
github-actions[bot]
d7a2b8b7fd [stubsabot] Bump pyOpenSSL to 23.2.* (#10235)
Release: https://pypi.org/pypi/pyOpenSSL/23.2.0
Homepage: https://pyopenssl.org/
Diff: https://github.com/pyca/pyopenssl/compare/23.1.1...23.2.0

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 149.
 - Total lines of Python code deleted: 25.
2023-05-31 18:17:02 -07:00
Avasam
db0149859c Add partial_stub metadata field (#10157) 2023-05-10 17:04:18 +02:00
Sebastian Rittau
8f17863f0c [pyOpenSSL] Fix return type of SSLeay_version (#10037)
Closes: #10024
2023-04-12 15:01:30 +01:00
Alex Waygood
6fd7e36e80 Add default values for third-party stubs beginning with 'P' (#9957) 2023-03-27 18:58:53 +01:00
github-actions[bot]
65f188442c Update pyOpenSSL to 23.1.* (#9939)
Release: https://pypi.org/pypi/pyOpenSSL/23.1.0
Homepage: https://pyopenssl.org/
Diff: https://github.com/pyca/pyopenssl/compare/23.0.0...23.1.0

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 122.
 - Total lines of Python code deleted: 45.

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-03-25 00:49:23 +00:00
Avasam
ed6748fb32 Stubtest settings: change ignore_missing_stub default to false (#9779)
If you're reading about this commit from an autogenerated changelog entry, this should have no user-visible impact on how the stubs are interpreted by a type checker; it's just an internal change to how typeshed's tests work.
2023-02-20 22:37:45 +00:00
Andy Doan
70f0f5488a pyOpenSSL: Introduce PARTIAL_CHAIN constant (#9727) 2023-02-13 18:36:14 +01:00
Avasam
6ac24ed923 Replace Any with Incomplete in many places (#9565) 2023-01-18 19:12:46 +00:00
Alex Waygood
e2d67bf703 Delete stubs for cryptography (#9459)
Typeshed's stubs for `paramiko` and `pyOpenSSL` now depend on the `cryptography` package, which now provides inline types at runtime
2023-01-10 22:16:11 +00:00
github-actions[bot]
69077291fe [stubsabot] Bump pyOpenSSL to 23.0.* (#9446)
Release: https://pypi.org/pypi/pyOpenSSL/23.0.0
Homepage: https://pyopenssl.org/
Diff: https://github.com/pyca/pyopenssl/compare/22.1.0...23.0.0

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 83.
 - Total lines of Python code deleted: 37.

If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR

Note that you will need to close and re-open the PR in order to trigger CI

Co-authored-by: stubsabot <>
2023-01-03 00:21:40 +00:00
Jelle Zijlstra
cff08b674a isort: Add more to extra_standard_library (#9098) 2022-11-04 22:56:40 -07:00
Nikita Sobolev
ce4668a132 Use Incomplete instead of Any in __getattr__ (#8903) 2022-10-15 18:54:21 +01:00
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