Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to decode objects_5_0.C with certificates #6

Open
jasonqpswilson opened this issue Jan 4, 2019 · 2 comments
Open

Unable to decode objects_5_0.C with certificates #6

jasonqpswilson opened this issue Jan 4, 2019 · 2 comments

Comments

@jasonqpswilson
Copy link

Hi,

Found this tool and was just what I needed. Found a bug though for our CheckPoint R70 objects_5_0.C files.

If I try and parse this subset:
( : (ObjectName :certificates ( : (defaultCert :AdminInfo ( :chkpf_uid ("{xxx-yyy-zzz-aaa-bbb}") :ClassName (certificate) ) :"#certreq-pki-gen" (false) :"#pki-host-cert-set" (false) ) ) ) )
Get a: Error: syntax error
It looks like the two lines with the # in the names confuses the parser, if you remove these it works fine.
Our objects file is very long (nearly 500,00 lines), but if I just remove these offending lines it works

@gregfoletta
Copy link
Owner

gregfoletta commented Jan 4, 2019 via email

@jasonqpswilson
Copy link
Author

jasonqpswilson commented Jan 7, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@gregfoletta @jasonqpswilson and others