You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Obfuscated resources must be core media type fonts now.
So if the EncryptionMethod element specifies "http://www.idpf.org/2008/embedding", then the resource in the CipherReference has to be checked against its manifest media type declaration.
EPUB 3.3 explicitly restricts the font obfuscation algorithm to resources
being declared as dont Core Media Types.
This commit:
- registers obfuscated resources to the OCFPackage when parsing the
`encyrption.xml` file (with parsing location)
- checks that if obfuscated resources are declared in Package Documents,
they have a font core media type
- add and tweak tests
Fix#1291
Obfuscated resources must be core media type fonts now.
So if the EncryptionMethod element specifies "http://www.idpf.org/2008/embedding", then the resource in the CipherReference has to be checked against its manifest media type declaration.
See w3c/epub-specs#1873
The text was updated successfully, but these errors were encountered: