View Single Post
Old 12-20-2021, 03:40 PM   #53
Leseratte_10
Groupie
Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.
 
Posts: 183
Karma: 3587000
Join Date: Sep 2021
Device: PB Era, PB InkPad 3 Pro
I haven't tested it yet, but looking at the code this seems to have the same bug as https://github.com/apprenticeharper/...ls/issues/1828 :

When parsing the encryption.xml, you need to manually check for each entry if that's related to AdobeDRM or if that's something else (like font data). And after decryption, you should only delete the AdobeDRM entries from the encryption.xml, and only delete the whole file from the EPUB if it's empty (no other entries that aren't DRM).

Otherwise this breaks embedded obfuscated fonts (which are also included in the encryption.xml).
Leseratte_10 is offline   Reply With Quote