truststore

Verify certificates using OS trust stores

MIT License

Downloads
1.6M
Stars
154
Committers
10

Bot releases are hidden (Show)

truststore - v0.9.1 Latest Release

Published by sethmlarson 6 months ago

What's Changed

Full Changelog: https://github.com/sethmlarson/truststore/compare/v0.9.0...v0.9.1

truststore - 0.9.0

Published by sethmlarson 6 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/sethmlarson/truststore/compare/v0.8.0...v0.9.0

truststore - 0.8.0

Published by sethmlarson about 1 year ago

truststore - 0.7.0

Published by sethmlarson over 1 year ago

  • Changed the error raised when using an unsupported macOS version (10.7 or earlier) from an OSError to an ImportError to match the error raised in other situations where the module isn't supported.
truststore - 0.6.1

Published by sethmlarson over 1 year ago

  • Fixed issue where a RecursionError that would be raised when setting SSLContext.minimum_version or .maximum_version.
truststore - 0.6.0

Published by sethmlarson over 1 year ago

Truststore is now beta! Truststore will be made the default in a future pip release.

  • Added inject_into_ssl() and extract_from_ssl() to enable Truststore for all packages using ssl.SSLContext automatically.
  • Added support for setting check_hostname, verify_mode, and verify_flags.
  • Added pass-through implementations for many ssl.SSLContext methods like load_cert_chain(), set_alpn_protocols(), etc.
truststore - 0.5.0

Published by sethmlarson about 2 years ago

  • Support for using truststore was released with pip v22.2!
    You can read more here about how to help us test truststore.
  • Added David Glick as an author in packaging metadata.
  • Added documentation for how to use truststore with urllib3, Requests, aiohttp, and pip.
  • Changed macOS SecureTransport error handling to raise as ssl.SSLError with
    message from the OS.
truststore - 0.4.0

Published by sethmlarson over 2 years ago

⚠️ This package is experimental and shouldn't be used in applications

  • Added more descriptive error messages to ssl.SSLCertVerificationError determined by the OS on macOS and Windows.
  • Changed Windows to follow SSLContext.verify_flags for strictly checking CRLs instead of checking CRLs strictly by default.
truststore - 0.3.0

Published by sethmlarson over 2 years ago

⚠️ This package is experimental and shouldn't be used in applications

  • Added support for loading extra CA certificates via SSLContext.load_verify_locations().
  • Added type hints.
  • Changed the name of TruststoreSSLContext to SSLContext.
  • Changed certificate hostname verification to rely on macOS and Windows instead of OpenSSL.
  • Fixed the order default certificates are loaded for OpenSSL backend.
truststore - 0.2.0

Published by sethmlarson over 2 years ago

⚠️ This package is experimental and shouldn't be used in applications

  • Added support for Windows via CryptoAPI (Contributed by @davisagli)
truststore - 0.1.0

Published by sethmlarson over 2 years ago

⚠️ This package is experimental and shouldn't be used in applications

  • Initial release with support for macOS and Linux.
Package Rankings
Top 15.11% on Alpine-edge
Top 7.51% on Proxy.golang.org
Top 3.9% on Pypi.org
Top 44.0% on Anaconda.org
Badges
Extracted from project README
PyPI CI