Load failure for encrypted EPUB3 Navigation Document, Content Filter Chain out of date with late registration of Content Module
danielweck opened this issue · 4 comments
Support for encrypted NavDoc was introduced here:
bdcbdc6#diff-db92dd69cdd7ce3a59e70ae293050d98
...but this only works for EPUB Containers/Packages loaded (unpacked) after the Content Filter registration. Unfortunately the LCP Content Module sub-system requires loading of the License which occurs after the EPUB is opened, so the Content Filter registration occurs too late. As a result the Nav Doc cannot be parsed because of its scrambled encrypted byte stream. LibXml does not crash (fails silently).
I am fixing this now (update: fixed, see comment below)
Also see:
#221
Fixed in feature/lsd
branch:
d42485f
On the client side (LCP content module): readium/readium-lcp-client@d354426
@mmenu-mantano @jmgeffroy CC-ing you guys as I know you looked into the encrypted NavDoc issue :)