{"id":45187512,"url":"https://github.com/cryptlib/dumpasn1","last_synced_at":"2026-02-20T11:03:59.583Z","repository":{"id":298710713,"uuid":"1000852363","full_name":"cryptlib/dumpasn1","owner":"cryptlib","description":"ASN.1 display and diagnostic tool","archived":false,"fork":false,"pushed_at":"2025-09-07T13:45:06.000Z","size":136,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-07T15:23:31.603Z","etag":null,"topics":["asn1","asn1-decoder"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cryptlib.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-12T12:23:24.000Z","updated_at":"2025-09-07T13:45:10.000Z","dependencies_parsed_at":"2025-06-12T13:44:55.066Z","dependency_job_id":"3d9962b6-3cea-4c94-9b83-8e19e5298d26","html_url":"https://github.com/cryptlib/dumpasn1","commit_stats":null,"previous_names":["cryptlib/dumpasn1"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cryptlib/dumpasn1","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptlib%2Fdumpasn1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptlib%2Fdumpasn1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptlib%2Fdumpasn1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptlib%2Fdumpasn1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cryptlib","download_url":"https://codeload.github.com/cryptlib/dumpasn1/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptlib%2Fdumpasn1/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29648466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T09:27:29.698Z","status":"ssl_error","status_checked_at":"2026-02-20T09:26:12.373Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asn1","asn1-decoder"],"created_at":"2026-02-20T11:03:59.522Z","updated_at":"2026-02-20T11:03:59.577Z","avatar_url":"https://github.com/cryptlib.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dumpasn1 ASN.1 tool - Official site\n\ndumpasn1 is an ASN.1 display and diagnostic tool used to display binary ASN.1-\nencoded data in human-readable form.  It's part of\n[cryptlib](https://github.com/cryptlib/cryptlib) but is broken out here into a\nseparate repository because it's used by many other projects.\n\ndumpasn1 requires a config file dumpasn1.cfg to be present in the same\nlocation as the program itself or in a standard directory where binaries live\n(it will run without it but will display a warning message, you can configure\nthe path either by hardcoding it in or using an environment variable as\nexplained in the code).\n\nThis code assumes that the input data is binary, having come from a \nMIME-aware mailer or been piped through a decoding utility if the original\nformat used base64 encoding.  If you need to decode it, it's recommended that\nyou use a utility like uudeview, which will strip most kinds of encoding\n(MIME, PEM, PGP, whatever) to recover the binary original.\n\n## Usage\n\nRun the program without arguments to see the usage information.\n\n```\nUsage: dumpasn1 [-acdefghilmopqrstuvwxz] \u003cfile\u003e\n  Input options:\n       - = Take input from stdin (some display options will be disabled)\n       -q = Disable warning about stdin use affecting display options\n       -\u003cnumber\u003e = Start \u003cnumber\u003e bytes into the file\n       -- = End of arg list\n       -c\u003cfile\u003e = Read Object Identifier info from alternate config file\n            (values will override equivalents in global config file)\n\n  Output options:\n       -f\u003cfile\u003e = Dump object at offset -\u003cnumber\u003e to file (allows data to be\n            extracted from encapsulating objects)\n       -w\u003cnumber\u003e = Set width of output, default = 80 columns\n\n  Display options:\n       -a = Print all data in long data blocks, not just the first 128 bytes\n       -d = Print dots to show column alignment\n       -g = Display ASN.1 structure outline only (no primitive objects)\n       -h = Hex dump object header (tag+length) before the decoded output\n       -hh = Same as -h but display more of the object as hex data\n       -i = Use shallow indenting, for deeply-nested objects\n       -l = Long format, display extra info about Object Identifiers\n       -m\u003cnumber\u003e  = Maximum nesting level for which to display content\n       -p = Pure ASN.1 output without encoding information\n       -t = Display text values next to hex dump of data\n       -v = Verbose mode, equivalent to -ahlt\n\n  Format options:\n       -e = Don't print encapsulated data inside OCTET/BIT STRINGs\n       -r = Print bits in BIT STRING as encoded in reverse order\n       -u = Don't format UTCTime/GeneralizedTime string data\n       -x = Display size and offset in hex not decimal\n\n  Checking options:\n       -o = Don't check validity of character strings hidden in octet strings\n       -s = Syntax check only, don't dump ASN.1 structures\n       -z = Allow zero-length items\n\nWarnings generated by deprecated OIDs require the use of '-l' to be displayed.\nProgram return code is the number of errors found or EXIT_SUCCESS.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptlib%2Fdumpasn1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcryptlib%2Fdumpasn1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptlib%2Fdumpasn1/lists"}