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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/pyderasn | 9.5 |
| DragonFly | devel/pyderasn | 9.3_2 |
| HardenedBSD | devel/pyderasn | 9.5 |
| GhostBSD | devel/pyderasn | 9.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 9.5 | 9.5 | - | 9.3_2 | 9.5 |
| FreeBSD:14:quarterly | 9.5 | 9.5 | n/a | 9.3_2 | 9.5 |
| FreeBSD:15:latest | 9.5 | 9.5 | n/a | 9.3_2 | 9.3_2 |
| FreeBSD:15:quarterly | 9.5 | 9.5 | n/a | n/a | n/a |
| FreeBSD:16:latest | 9.5 | 9.5 | 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.
Runtime 1
${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.7: devel/py-python-dateutil
The full lists below include those, and their dependencies in turn.
Build dependencies 11
Run dependencies 9
Required by 2
Configuration
No options to configure.
- USES
- tar:zst python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pyderasn-9.5.tar.zst | 187965 | 00e8761effbd222110683ef9f2eb7e933dcf8d3f98deab42135dc0980c22088b |
Master sites 3
- http://www.pyderasn.stargrave.org/download/
- http://www.grosbein.net/freebsd/distfiles/
- LOCAL/eugen