der-ascii
brew install der-ascii
v0.8.0
Apache-2.0
Reversible DER and BER pretty-printer
26
30-day installs · #6134
27
90-day · #8920
106
365-day · #9031
252
★ GitHub stars · updated 3mo ago
Build dependencies
Links
- https://github.com/google/der-ascii
- GitHub: google/der-ascii
- Brew formula source: Formula/d/der-ascii.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [
"go"
],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Reversible DER and BER pretty-printer",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:36:54+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "der-ascii",
"github_default_branch": "main",
"github_last_commit_at": "2026-05-24T14:58:16Z",
"github_readme_excerpt": "# DER ASCII\n\nDER ASCII is a small human-editable language to emit DER\n([Distinguished Encoding Rules](https://en.wikipedia.org/wiki/X.690#DER_encoding))\nor BER\n([Basic Encoding Rules](https://en.wikipedia.org/wiki/X.690#BER_encoding))\nencodings of\n[ASN.1](https://en.wikipedia.org/wiki/Abstract_Syntax_Notation_One)\nstructures and malformed variants of them.\n\nIt provides two tools, `ascii2der` and `der2ascii`, to convert DER ASCII to a\nbyte string and vice versa. To install them, run:\n\n go install github.com/google/der-ascii/cmd/...@latest\n\nThese tools may be used to create test inputs by taking an existing DER or BER\nstructure, disassembling it with `der2ascii` into DER ASCII, making\nadjustments, and assembling back into binary with `ascii2der`. This avoids\nhaving to manually fix up all the length prefixes. As a bonus, it acts as a\nhuman-readable view for DER structures.\n\nFor the language specification and basic examples, see\n[language.txt](/language.txt). The [samples](/samples) directory includes\nmore complex examples from real inputs.\n\n## Backwards compatibility\n\nThe DER ASCII language itself may be extended over time, but the intention is\nfor extensions to be backwards-compatible. Specifically:\n\n* The command-line interface to `ascii2der` and `der2ascii` will remain\n compatible, though new options may be added in the future.\n\n* Previously valid inputs to `ascii2der` will remain valid and produce the same\n output. In particular, checking in test data as `ascii2der` inputs should be\n future-proof, though it is recommended to check in the generated version as\n well in case of mistakes.\n\n* Previously invalid inputs to `ascii2der` may become valid in the future if\n the language is extended.\n\n* `der2ascii` is necessarily a heuristic, so its output *may* change\n over time. For example, later revisions may recognize new OIDs, tweak the\n formatting, or disassemble a malformed DER input in a (hopefully) more\n useful form.\n\n## Disclaimer\n\nThis is not an official",
"github_repo": "google/der-ascii",
"github_stars": 252,
"github_topics": [],
"homepage": "https://github.com/google/der-ascii",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 26,
"installs_365d": 106,
"installs_90d": 27,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "Apache-2.0",
"llm_generated_at": null,
"llm_model": null,
"name": "der-ascii",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 6134,
"rank_365d": 9031,
"rank_90d": 8920,
"raw_hash": "05a987a76d50629b",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/d/der-ascii.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "0.8.0",
"versioned_formulae": [],
"why_use_this": null
}