- Joined
- Oct 7, 2019
Hi.
I've been working on a CMS project for 5 years now. I've been working on a PHP ASN.1 parser for a year or so now. I've implemented every instruction of the ASN.1 language with the exception of the encoding rules so far. I keep running into problems when parsing ASN.1 scripts from a module on GitHub due to various formatting differences these scripts contain. I haven't touched it in a while due to me getting bored with it and wanting to work on other projects, I want to touch it but then I don't feel like doing it and would rather have someone else fix a problem for me than to bang my head on a wall repeatedly.
I know, why code your own ASN.1 parser when there are others already available? Well the main reason is that all the other ASN.1 parsers out there for PHP don't fully support the ASN.1 language and only support one or two encoding rules, mainly DER. I also wanted to challenge myself as well. I've also been trying to implement passkey support and one of the main reasons for the parser is to take the CBOR/COSE certificate, translate it so that it can be read by the OpenSSL implementation so I can verify that the certificate is legitimate.
If anybody's down to give me some advice on how I should proceed, that'd be great. It's not required but I thought I'd put it out there.
I've been working on a CMS project for 5 years now. I've been working on a PHP ASN.1 parser for a year or so now. I've implemented every instruction of the ASN.1 language with the exception of the encoding rules so far. I keep running into problems when parsing ASN.1 scripts from a module on GitHub due to various formatting differences these scripts contain. I haven't touched it in a while due to me getting bored with it and wanting to work on other projects, I want to touch it but then I don't feel like doing it and would rather have someone else fix a problem for me than to bang my head on a wall repeatedly.
I know, why code your own ASN.1 parser when there are others already available? Well the main reason is that all the other ASN.1 parsers out there for PHP don't fully support the ASN.1 language and only support one or two encoding rules, mainly DER. I also wanted to challenge myself as well. I've also been trying to implement passkey support and one of the main reasons for the parser is to take the CBOR/COSE certificate, translate it so that it can be read by the OpenSSL implementation so I can verify that the certificate is legitimate.
If anybody's down to give me some advice on how I should proceed, that'd be great. It's not required but I thought I'd put it out there.