FreeBSD Ports

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest23.1.023.1.0-23.1.023.1.0
FreeBSD:14:quarterly23.1.023.1.0n/a23.1.023.1.0
FreeBSD:15:latest23.1.023.1.0n/a23.1.023.1.0
FreeBSD:15:quarterly23.1.023.1.0n/an/an/a
FreeBSD:16:latest23.1.023.1.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

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

All build dependencies 23
All run dependencies 7

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
pem-23.1.0.tar.gz4379606503ff2441a111f853ce4e8b9eb9d5fedb488ebdbf560115d3dd53a1b4afc73
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.