security/py-pem 23.1.0
Easy PEM file parsing in Python
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- security, python
- Package size
- 16.0 KiB, 61.1 KiB installed
Description
pem is an MIT-licensed Python module for parsing and splitting of PEM files, i.e. Base64-encoded DER keys and certificates.
It runs on Python 3.7+, has no dependencies, and does not attempt to interpret the certificate data in any way.
It's born from the need to load keys, certificates, trust chains, and DH parameters from various certificate deployments: some servers (like Apache) expect them to be a separate file, others (like nginx) expect them concatenated to the server certificate and finally some (like HAProxy) expect key, certificate, and chain to be in one file.
Additionally to the vanilla parsing code, pem also contains helpers for Twisted that save a lot of boilerplate code.
Install
As a binary package — by origin, or by package name:
pkg install security/py-pem
pkg install py312-pem
From the ports tree:
cd /usr/ports/security/py-pem/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-pem>0:security/py-pem
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 23.1.0 | 23.1.0 | - | 23.1.0 | 23.1.0 |
| FreeBSD:14:quarterly | 23.1.0 | 23.1.0 | n/a | 23.1.0 | 23.1.0 |
| FreeBSD:15:latest | 23.1.0 | 23.1.0 | n/a | 23.1.0 | 23.1.0 |
| FreeBSD:15:quarterly | 23.1.0 | 23.1.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 23.1.0 | 23.1.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
${PYTHON_PKGNAMEPREFIX}hatch-fancy-pypi-readme>=0: devel/py-hatch-fancy-pypi-readme${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0: devel/py-hatch-vcs${PYTHON_PKGNAMEPREFIX}hatchling>=0: devel/py-hatchling
The full lists below include those, and their dependencies in turn.
All build dependencies 23
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatch-fancy-pypi-readme
- devel/py-hatch-vcs
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-setuptools
- devel/py-setuptools-scm
- devel/py-trove-classifiers
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
All run dependencies 7
Required by 2
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pem-23.1.0.tar.gz | 43796 | 06503ff2441a111f853ce4e8b9eb9d5fedb488ebdbf560115d3dd53a1b4afc73 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.