OpenBSD Handbook

Current snapshot · amd64 · Generated 2026-09-09

der-ascii-0.8.0v0

convert between ASN.1 encodings and text

Back to search · Project homepage

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.

Package information

Ports path
textproc/der-ascii
Package architecture
amd64
Maintainer
Theo Buehler <tb@openbsd.org>
Categories
textproc, sysutils, lang/go
Available flavors
None listed
Only for architectures
aarch64, amd64, arm, i386, riscv64

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Build

Installing and updating packages · Package details as JSON