BSD Ports

textproc/der-ascii 0.11.0v0 OpenBSD

convert between ASN.1 encodings and text

System
OpenBSD
Repository
OpenBSD ports
Maintainer
Theo Buehler <[email protected]>
Last update
Commit
328302aed8
Categories
textproc, sysutils, lang/go

Description

DER ASCII is a small human-editable language to emit DER (Distinguished Encoding Rules) or BER (Basic Encoding Rules) encodings of ASN.1 structures and malformed variants of them.

The package provides two tools, ascii2der and der2ascii, to convert DER ASCII to a byte string and vice versa. These tools may be used to create test inputs by taking an existing DER or BER structure, disassembling it with der2ascii into DER ASCII, making adjustments, and assembling back into binary with ascii2der. This avoids having to manually fix up all the length prefixes. As a bonus, it acts as a human-readable view for DER structures.

Version history 1

  1. 0.11.0 328302aed8

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg_add der-ascii

From the ports tree:

cd /usr/ports/textproc/der-ascii && make install

Dependency graph

Ports that need it on the left, what it needs to run on the right (to build, as it needs nothing to run); at most 8 of each. "Dependencies" below lists them all.

Dependencies

Build dependencies 2

No port depends on this one.

Commit history 1

DateCommitCreditsLog message
328302aed8 tb Update der-ascii to 0.11.0