
Comment 1 by Grégory Soutadé, Jan 14, 2023
I tried with my own ebooks and was unable to reproduce your error. Are you sure the encrypted file doesn't have this error ?

Comment 2 by Francesco Turco, Jan 14, 2023
The encrypted EPUB file has a similar error, but worse: $ unzip -t your-money-or-your-life-encrypted.epub Archive: your-money-or-your-life-encrypted.epub file #1 (mimetype): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: mimetype OK file #2 (OEBPS/navDoc.xhtml): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/navDoc.xhtml OK file #3 (OEBPS/toc.ncx): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/toc.ncx OK file #4 (OEBPS/content.opf): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/content.opf OK file #5 (OEBPS/xhtml/17_7_For_Love_or_Money_V.xhtml): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/xhtml/17_7_For_Love_or_Money_V.xhtml OK file #6 (OEBPS/xhtml/04_Title_Page.xhtml): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/xhtml/04_Title_Page.xhtml OK file #7 (OEBPS/xhtml/08_Contents.xhtml): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/xhtml/08_Contents.xhtml OK file #8 (OEBPS/xhtml/07_Why_Read_This_Book_.xhtml): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/xhtml/07_Why_Read_This_Book_.xhtml OK file #9 (OEBPS/xhtml/10_Introduction_to_the_N.xhtml): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/xhtml/10_Introduction_to_the_N.xhtml OK file #10 (OEBPS/xhtml/22_Acknowledgments.xhtml): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/xhtml/22_Acknowledgments.xhtml OK file #11 (OEBPS/xhtml/09_Foreword.xhtml): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/xhtml/09_Foreword.xhtml OK file #12 (OEBPS/xhtml/19_9_Where_to_Stash_Your.xhtml): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/xhtml/19_9_Where_to_Stash_Your.xhtml OK file #13 (OEBPS/xhtml/23_Notes.xhtml): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/xhtml/23_Notes.xhtml OK file #14 (OEBPS/xhtml/05_Copyright.xhtml): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/xhtml/05_Copyright.xhtml OK file #15 (OEBPS/xhtml/16_6_The_American_Dream_.xhtml): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/xhtml/16_6_The_American_Dream_.xhtml OK file #16 (OEBPS/xhtml/14_4_How_Much_Is_Enough_.xhtml): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/xhtml/14_4_How_Much_Is_Enough_.xhtml OK file #17 (OEBPS/xhtml/11_1_The_Money_Trap_The_.xhtml): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/xhtml/11_1_The_Money_Trap_The_.xhtml OK file #18 (OEBPS/xhtml/06_Dedication.xhtml): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/xhtml/06_Dedication.xhtml OK file #19 (OEBPS/xhtml/02_Praise.xhtml): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/xhtml/02_Praise.xhtml OK file #20 (OEBPS/xhtml/18_8_Catching_Fire_The_C.xhtml): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/xhtml/18_8_Catching_Fire_The_C.xhtml OK file #21 (OEBPS/xhtml/13_3_Where_Is_It_All_Goi.xhtml): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/xhtml/13_3_Where_Is_It_All_Goi.xhtml OK file #22 (OEBPS/xhtml/03_About_the_Author.xhtml): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/xhtml/03_About_the_Author.xhtml OK file #23 (OEBPS/xhtml/next-reads.xhtml): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/xhtml/next-reads.xhtml OK file #24 (OEBPS/xhtml/21_Epilogue.xhtml): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/xhtml/21_Epilogue.xhtml OK file #25 (OEBPS/xhtml/01_Cover.xhtml): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/xhtml/01_Cover.xhtml OK file #26 (OEBPS/xhtml/20_Quick_Reference_for_t.xhtml): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/xhtml/20_Quick_Reference_for_t.xhtml OK file #27 (OEBPS/xhtml/15_5_Getting_It_Out_in_t.xhtml): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/xhtml/15_5_Getting_It_Out_in_t.xhtml OK file #28 (OEBPS/xhtml/12_2_Money_Ain_t_What_It.xhtml): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/xhtml/12_2_Money_Ain_t_What_It.xhtml OK file #29 (OEBPS/image/Fig_7-1.jpg): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/image/Fig_7-1.jpg OK file #30 (OEBPS/image/Fig_8_5.jpg): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/image/Fig_8_5.jpg OK file #31 (OEBPS/image/Fig_8_8.jpg): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/image/Fig_8_8.jpg OK file #32 (OEBPS/image/Fig_5-3.jpg): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/image/Fig_5-3.jpg OK file #33 (OEBPS/image/fig_8_1.jpg): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/image/fig_8_1.jpg OK file #34 (OEBPS/image/FIG_8_3.jpg): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/image/FIG_8_3.jpg OK file #35 (OEBPS/image/Fig_8_2_r.jpg): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/image/Fig_8_2_r.jpg OK file #36 (OEBPS/image/FIG_9_1.jpg): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/image/FIG_9_1.jpg OK file #37 (OEBPS/image/fig_5_1.jpg): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/image/fig_5_1.jpg OK file #38 (OEBPS/image/FIG_5_2.jpg): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/image/FIG_5_2.jpg OK file #39 (OEBPS/image/fig_1_2_new.jpg): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/image/fig_1_2_new.jpg OK file #40 (OEBPS/image/page_v.jpg): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/image/page_v.jpg OK file #41 (OEBPS/image/Fig_8_4_r.jpg): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/image/Fig_8_4_r.jpg OK file #42 (OEBPS/image/cover.jpg): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/image/cover.jpg OK file #43 (OEBPS/css/idGeneratedStyles.css): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/css/idGeneratedStyles.css OK file #44 (OEBPS/images/next-reads_logo.jpg): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/images/next-reads_logo.jpg OK file #45 (OEBPS/fonts/Shift-BoldItalic.otf): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/fonts/Shift-BoldItalic.otf OK file #46 (OEBPS/fonts/Shift-Bold.otf): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: OEBPS/fonts/Shift-Bold.otf OK file #47 (META-INF/com.apple.ibooks.display-options.xml): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: META-INF/com.apple.ibooks.display-options.xml OK file #48 (META-INF/encryption.xml): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: META-INF/encryption.xml OK file #49 (META-INF/container.xml): mismatch between local and central GPF bit 11 ("UTF-8"), continuing with central flag (IsUTF8 = 0) testing: META-INF/container.xml OK testing: META-INF/rights.xml OK At least one warning-error was detected in your-money-or-your-life-encrypted.epub. I you want, I can send you both files privately.

Comment 3 by Grégory Soutadé, Jan 14, 2023
So the error comes from your ebook provider. Libgourou only overwrite encrypted files with unencrypted version. I don't want it to rewrite all files to avoid introducing new errors. I set this ticket as "Won't fix"
Status:
WontFix
Sign in to reply to this comment.
Reported by Francesco Turco, Jan 14, 2023