security/py-pem 23.1.0 DragonFly
Easy PEM file parsing in Python
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- MIT
- Categories
- python, security
- Package size
- 15.0 KiB, 68.2 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.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | security/py-pem | 23.1.0 |
| FreeBSD | security/py-pem | 23.1.0 |
| NetBSD | security/py-pem | 23.1.0 |
Install
Binary package:
pkg install py311-pem
From DPorts:
cd /usr/dports/security/py-pem && make install clean