Usually docsis breaks encoding if config file is malformed. According to our resent experience there may be at least one exception.
We got an issue by encoding MTA config file with nested/malformed comments. docsis encrypted our malformed foo.txt with only a complain:
line 6: comment-in-comment not supportedFirst TLV is MtaConfigDelimiter, forcing PacketCable MTA file..
I'm not entirely sure if it's a bug or expected behavior and therefor report it you know.
Below some information could help you to reproduce the issue.
Tested with 6b23fd2
Usually
docsis
breaks encoding if config file is malformed. According to our resent experience there may be at least one exception.We got an issue by encoding MTA config file with nested/malformed comments.
docsis
encrypted our malformedfoo.txt
with only a complain:line 6: comment-in-comment not supportedFirst TLV is MtaConfigDelimiter, forcing PacketCable MTA file.
.I'm not entirely sure if it's a bug or expected behavior and therefor report it you know. Below some information could help you to reproduce the issue. Tested with 6b23fd2
foo.txt
MTA configuration fileencrypt command
$ ./src/docsis -e foo.txt examples/keyfile foo.cfg
decrypt
$ ./src/docsis -d foo.cfg examples/keyfile