BSD Ports

security/py-truststore 0.10.4_1 FreeBSD

Verify certificates using native system trust stores

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
cb2c6abdb4
License
MIT
Categories
security, python
Package size
37.9 KiB, 172.1 KiB installed

Description

Truststore is a library which exposes native system certificate stores (ie "trust stores") through an ssl.SSLContext-like API. This means that Python applications no longer need to rely on certifi as a root certificate store. Native system certificate stores have many helpful features compared to a static certificate bundle like certifi:

  • Automatically update certificates as new CAs are created and removed
  • Fetch missing intermediate certificates
  • Check certificates against certificate revocation lists (CRLs) to avoid monster-in-the-middle (MITM) attacks
  • Managed per-system rather than per-application by a operations/IT team
  • PyPI is no longer a CA distribution channel

Right now truststore is a stand-alone library that can be installed globally in your application to immediately take advantage of the benefits in Python 3.10+. Truststore has also been integrated into pip as an opt-in method for verifying HTTPS certificates with truststore instead of certifi.

Long-term the hope is to make truststore the default way to verify HTTPS certificates in pip and to add this functionality into Python itself. Wish us luck!

In the other systems

SystemPortVersion
FreeBSDsecurity/py-truststore0.10.4_1
OpenBSDsecurity/py-truststore0.10.4
NetBSDsecurity/py-truststore0.10.4
DragonFlysecurity/py-truststore0.10.1
MidnightBSDsecurity/py-truststore0.10.4_1

Install

Binary package:

pkg install py312-truststore

From the ports tree:

cd /usr/ports/security/py-truststore/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-truststore>0:security/py-truststore

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.10.4_10.10.4_1-0.10.10.10.4_1
FreeBSD:14:quarterly0.10.4_10.10.4_1n/a0.10.10.10.4_1
FreeBSD:15:latest0.10.4_10.10.4_1n/a0.10.10.10.1
FreeBSD:15:quarterly0.10.4_10.10.4_1n/an/an/a
FreeBSD:16:latest0.10.4_10.10.4_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

The full lists below include those, and their dependencies in turn.

Build dependencies 15
Run dependencies 7
Required by 611

The first 100 are listed.

Configuration

No options to configure.

USES
python ssl
Service scripts
none

Files

distinfo 1
FileSizeSHA256
truststore-0.10.4.tar.gz261699d91bd436463ad5e4ee4aba766628dd6cd7010cf3e2461756b3303710eebc301
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
cb2c6abdb4 Po-Chuan Hsieh security/py-truststore: Remove pyproject.toml patch
- Bump PORTREVISION for package change