etc~ scripts and random things |
| git clone https://github.com/djnnvx/etc.git |
| log | files | refs | archive |
asn1.dict (1499B)
1 # ASN.1 / DER tokens for libksba harnesses (AFL -x format). 2 # Tags, long-form length prefixes, time strings, and common OID encodings so 3 # the mutator can splice valid structure into seeds. 4 5 # --- universal tags --- 6 tag_bool="\x01" 7 tag_int="\x02" 8 tag_bitstring="\x03" 9 tag_octetstring="\x04" 10 tag_null="\x05" 11 tag_oid="\x06" 12 tag_utf8="\x0c" 13 tag_seq="\x30" 14 tag_set="\x31" 15 tag_printable="\x13" 16 tag_ia5="\x16" 17 tag_utctime="\x17" 18 tag_gentime="\x18" 19 tag_bmpstring="\x1e" 20 tag_universalstring="\x1c" 21 22 # --- context / constructed tags (extensions, GeneralNames, [n]) --- 23 ctx_a0="\xa0" 24 ctx_a1="\xa1" 25 ctx_a2="\xa2" 26 ctx_a3="\xa3" 27 ctx_80="\x80" 28 ctx_81="\x81" 29 ctx_82="\x82" 30 ctx_86="\x86" 31 32 # --- long-form length prefixes (overflow / OOB triggers) --- 33 len_1b="\x81" 34 len_2b="\x82" 35 len_3b="\x83" 36 len_4b="\x84" 37 len_indef="\x80" 38 len_big="\x84\xff\xff\xff\xff" 39 40 # --- time values (drive time.c; no trailing Z = OOB-read trigger) --- 41 gentime_noz="\x18\x0e\x32\x30\x32\x34\x30\x31\x30\x31\x30\x30\x30\x30\x30\x30" 42 utctime="\x17\x0d\x32\x34\x30\x31\x30\x31\x30\x30\x30\x30\x30\x30\x5a" 43 44 # --- common OIDs (DER value bytes) --- 45 oid_rsa="\x2a\x86\x48\x86\xf7\x0d\x01\x01\x01" 46 oid_sha256rsa="\x2a\x86\x48\x86\xf7\x0d\x01\x01\x0b" 47 oid_cn="\x55\x04\x03" 48 oid_keyusage="\x55\x1d\x0f" 49 oid_san="\x55\x1d\x11" 50 oid_aki="\x55\x1d\x23" 51 oid_ski="\x55\x1d\x0e" 52 oid_crldp="\x55\x1d\x1f" 53 oid_aia="\x2b\x06\x01\x05\x05\x07\x01\x01" 54 oid_ocsp_basic="\x2b\x06\x01\x05\x05\x07\x30\x01\x01" 55 oid_pkcs7_signed="\x2a\x86\x48\x86\xf7\x0d\x01\x07\x02"