BSD Ports

devel/pyderasn 9.5 FreeBSD

Strict and fast ASN.1 DER/CER/BER library for Python

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
e7c034456e
License
LGPL3
Categories
devel, python
Package size
115.1 KiB, 875.6 KiB installed

Description

PyDERASN -- strict and fast ASN.1 DER/CER/BER library for Python

* BER/CER/DER decoding, strict DER validation, DER/CER encoding * Basic ASN.1 data types (X.208): BOOLEAN, INTEGER, BIT STRING, OCTET STRING, NULL, OBJECT IDENTIFIER, ENUMERATED, all strings, UTCTime, GeneralizedTime, CHOICE, ANY, SEQUENCE (OF), SET (OF) * Size constraints checking * Working with sequences as high level data objects with ability to (un)marshall them * Aimed to be complaint with X.690-201508 * Streaming decoding and encoding capabilities, allowing working with very small memory footprint * Python 3.5+ compatibility * Automatic decoding of DEFINED BY fields * Ability to know exact decoded objects offset and lengths in the binary * Ability to allow BER-encoded data with knowing if any of specified field has either DER or BER encoding (or possibly indefinite-length encoding) * Ability to use mmap-ed files, memoryviews, iterators, 2-pass DER encoding mode and CER encoder dealing with the writer, giving ability to create huge ASN.1 encoded files with very little memory footprint * Ability to decode files in event generation mode, without the need to keep all the data and decoded structures in the memory * __slots__, copy.copy() friendliness * Workability with pickle * Cython compatibility * Descriptive errors, with decode paths * Pretty printer and command-line decoder, that could conveniently replace utilities like either dumpasn1 or openssl asn1parse

In the other systems

SystemPortVersion
FreeBSDdevel/pyderasn9.5
DragonFlydevel/pyderasn9.3_2
HardenedBSDdevel/pyderasn9.5
GhostBSDdevel/pyderasn9.3_2

Install

Binary package:

pkg install py312-pyderasn

From the ports tree:

cd /usr/ports/devel/pyderasn/ && make install clean

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

RUN_DEPENDS=	py312-pyderasn>0:devel/pyderasn

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:latest9.59.5-9.3_29.5
FreeBSD:14:quarterly9.59.5n/a9.3_29.5
FreeBSD:15:latest9.59.5n/a9.3_29.3_2
FreeBSD:15:quarterly9.59.5n/an/an/a
FreeBSD:16:latest9.59.5n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 1

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

Build dependencies 11
Run dependencies 9

Configuration

No options to configure.

USES
tar:zst python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
pyderasn-9.5.tar.zst18796500e8761effbd222110683ef9f2eb7e933dcf8d3f98deab42135dc0980c22088b
Master sites 3
  • http://www.pyderasn.stargrave.org/download/
  • http://www.grosbein.net/freebsd/distfiles/
  • LOCAL/eugen

Commit history 2

DateCommitCreditsLog message
e7c034456e Eugene Grosbein devel/pyderasn: update to 9.5
Changes: http://www.pyderasn.stargrave.org/news.html
94ae9b7a02 Eugene Grosbein devel/pyderasn: update URLs
The project moved from expired domain cypherpunks.su to the new name stargrave.org. PR: 298233