pkcs7
pkcs7 copied to clipboard
ber2der conversion
Hello,
I am investigating an issue with ber2der conversion which seems to be related to #11.
I have also reported this here, but as far as I can see, they use pkcs7 for parsing the file.
The referenced issue also has a test file which I extracted from a tcp dump while executing an enrol operation.
I am trying to put a test case together to analyse the behavior a bit further, but GO is not my main language.
I've noticed similar thing. For example when attempting to do scep with jscep client the ber-field is full of indefinitive length fields (which fails to parse), whereas compared to micromdm/scep there's none (which succeeds to parse). I noticed that there has been some fixes to the parsing indefinitive lengths before but it still seems to have some issues.