Skip to content
This repository was archived by the owner on May 6, 2025. It is now read-only.
This repository was archived by the owner on May 6, 2025. It is now read-only.

Load failure for encrypted EPUB3 Navigation Document, Content Filter Chain out of date with late registration of Content Module #262

Open
@danielweck

Description

@danielweck

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions