Atkelar (atkelar) wrote,

Update on the ASN.1 thingie...

Be warned, some lengthy text is here:

As I wrote in my previous journals, I am working on an ASN.1 parser to crunch through some crypto-standards. Why? Just because I can. [insert maniacal laughter here] - ahem. Yes.

Today, after literally dozens of hours of coding I finally finished the "parsing" phase pretty much. Which means, I am on my way but still not finished. In detailed terms: I can now make sense of the modules required to parse the "Certificate Request" module: PKCS-10 {iso member-body us(840) rsadsi(113549) pkcs(1) pkcs-10(10) modules(1) pkcs-10(1)}

While this might not be the latest version involved, it is still a good sample for the parser. It actually is able to make sense of ALL the structures defined in it - which includes loading referenced modules and some recursive constructions.

I feel kinda weird now... The last run I tested yielded about 10 errors in the parsing process... fixed one problem... no errors. You know the feeling when you fully expect an error message and there is none? :D

Up next: making sense of it all, fixing some conceptual "mistakes" (I only realized a few moments ago that a type can have more than one "tag"... not sure if the standard even mentioned that, but hey... small-ish change. But "interpreting" the parsed structures and cross-references might be difficult too. And certainly might show some new parsing Mistakes :)

Tags: coding, computer, programming

  • Videos and other stuff...

    As you might have noticed, I decided to keep up my YouTube video production at an every-other-week schedule as close as possible. So far, since…

  • SX-64 Restoration Project

    This is going to be a rather long story about me and my very first computer... or rather not "mine" as in "owning" but rather "my first" as in "the…

  • Things to wonder about: Aircraft?

    I took a trip by plane to Düsseldorf two days ago and was wondering about the "in flight display" that they had on their viewscreens. You know: the…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded