daniel782 / epubcheck

Automatically exported from code.google.com/p/epubcheck
0 stars 0 forks source link

Epubcheck Version 1.0.5 WARNING: ebookfile.epub: resource OEBPS/Fonts/AGaramondPro-Regular.otf cannot be decrypted #78

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
PROBLEM:

Epubcheck Version 1.0.5

WARNING: 9789044961867.epub: resource OEBPS/Fonts/AGaramondPro-Regular.otf 
cannot be decrypted

Check finished with warnings or errors!

METHOD:

What steps will reproduce the problem?
1. run epubcheck 1.05 from command line
2.
3.

RESULT:

warning appears, see PROBLEM

EXPECTED:

check finished with no errors or warnings.

PLATFORM:
epubcheck 1.05 java on mac osx 10,6

ADDITIONAL INFO:

Please provide any additional information below.

Original issue reported on code.google.com by ppmgze...@gmail.com on 15 Sep 2010 at 1:08

GoogleCodeExporter commented 8 years ago
Please provide a test document or this bug will have to be closed as 
non-reproducible.

Original comment by liza31337@gmail.com on 18 Sep 2010 at 2:56

GoogleCodeExporter commented 8 years ago
We've found out that this warning didn't appear when converting a file in 
Calibre 0.6.40, but all newer versions after 0.6.40 produce this error in 
combination with epubcheck 105.

I've enclosed a testfile: test1867.epub.

Original comment by ppmgze...@gmail.com on 20 Sep 2010 at 1:20

Attachments:

GoogleCodeExporter commented 8 years ago
Thank you for the test case. There is an embedded font in the package that is 
obfuscated using Adobe's method. I am not familiar with their font mangling 
algorithm but looking at the epubcheck source code I see that it is expecting 
the algorithm to be declared as "http://ns.adobe.com/digitaleditions/enc".  The 
algorithm in the sample is declared as "http://ns.adobe.com/pdf/enc#RC". 

Probably this font will not be displayable in any EPUB readers, but I am not 
convinced that the EPUB is invalid just because epubcheck can't decrypt the 
font.  Peter?

Original comment by liza31337@gmail.com on 28 Sep 2010 at 3:48

GoogleCodeExporter commented 8 years ago
Thanks for your response.

I've tried to edit the encryption file and change the 
"http://ns.adobe.com/pdf/enc#RC" into "http://ns.adobe.com/digitaleditions/enc" 
but this makes no difference, epubcheck still gives the error. 

Original comment by ppmgze...@gmail.com on 28 Sep 2010 at 7:49

GoogleCodeExporter commented 8 years ago
Algorithm URL "http://ns.adobe.com/pdf/enc#RC" is correct for Adobe 
obfuscation. I think this warning is given any time we hit an encrypted 
resource, just to let users know that we did not validate that resource in any 
way. Being a warning, it does not mean that EPUB is invalid.

Original comment by soroto...@gmail.com on 12 Oct 2010 at 11:14

GoogleCodeExporter commented 8 years ago
Thanks Peter. I think this is not a bug, then.

Original comment by liza31337@gmail.com on 12 Oct 2010 at 11:56

GoogleCodeExporter commented 8 years ago
I understand that this is closed, but will the Apple iBookstore allow a file 
with this error/warning to be uploaded?

Original comment by monica_m...@bellsouth.net on 9 May 2011 at 3:51

GoogleCodeExporter commented 8 years ago
Hi Monica,

I haven't checked this lately because nowadays we don't include fonts
anymore, but as far as I know an epub with this issue will not pass the
Apple iBookstore validation.

Original comment by ppmgze...@gmail.com on 18 May 2011 at 7:15

GoogleCodeExporter commented 8 years ago
Is it a necessary warning? I'm thinking that technical publications that may 
need to embed fonts to get certain characters to show up properly will allways 
be hindered by this warning. Why is it a warning if it is doing what it is 
supposed to do--verifying encrypted fonts when they've been embedded? 

Original comment by monica_m...@bellsouth.net on 7 Jun 2011 at 1:50

GoogleCodeExporter commented 8 years ago
Hi,
I notice that the last entry for this "issue" was June 7, 2011.  Does anyone 
know if a cure for this snafu was ever determined.  

I just tried to validate an ePUB in ePub Checker and got the same error:

ePubChecker began checking: 2012-02-15 23:41:45
File name: PL epub test 0214-3.epub
File path: /Users/tunesmith/Desktop/PL\ epub\ test\ 0214\-3.epub

http://www.Rainwater-Soft.com/epubchecker/
Using the checking engine from: http://code.google.com/p/epubcheck/
Epubcheck Version 1.0.5

WARNING: /Users/tunesmith/Desktop/PL epub test 0214-3.epub: resource 
OEBPS/fonts/AGaramondPro-Bold.otf cannot be decrypted
WARNING: /Users/tunesmith/Desktop/PL epub test 0214-3.epub: resource 
OEBPS/fonts/AGaramondPro-BoldItalic.otf cannot be decrypted
WARNING: /Users/tunesmith/Desktop/PL epub test 0214-3.epub: resource 
OEBPS/fonts/AGaramondPro-Italic.otf cannot be decrypted
WARNING: /Users/tunesmith/Desktop/PL epub test 0214-3.epub: resource 
OEBPS/fonts/AGaramondPro-Regular.otf cannot be decrypted
WARNING: /Users/tunesmith/Desktop/PL epub test 0214-3.epub: resource 
OEBPS/fonts/AppleGaramond-Italic.ttf cannot be decrypted
WARNING: /Users/tunesmith/Desktop/PL epub test 0214-3.epub: resource 
OEBPS/fonts/Palatino-Roman.ttf cannot be decrypted

Any help would be greatly appreciated!!

Thanks,
Mark Waldron

Original comment by definiti...@gmail.com on 16 Feb 2012 at 4:49

GoogleCodeExporter commented 8 years ago

Epubcheck Version 1.0.5

WARNING: /Users/tunesmith/Desktop/PL epub test 0214-3.epub: resource 
OEBPS/fonts/AGaramondPro-Bold.otf cannot be decrypted
WARNING: /Users/tunesmith/Desktop/PL epub test 0214-3.epub: resource 
OEBPS/fonts/AGaramondPro-BoldItalic.otf cannot be decrypted
WARNING: /Users/tunesmith/Desktop/PL epub test 0214-3.epub: resource 
OEBPS/fonts/AGaramondPro-Italic.otf cannot be decrypted
WARNING: /Users/tunesmith/Desktop/PL epub test 0214-3.epub: resource 
OEBPS/fonts/AGaramondPro-Regular.otf cannot be decrypted
WARNING: /Users/tunesmith/Desktop/PL epub test 0214-3.epub: resource 
OEBPS/fonts/AppleGaramond-Italic.ttf cannot be decrypted
WARNING: /Users/tunesmith/Desktop/PL epub test 0214-3.epub: resource 
OEBPS/fonts/Palatino-Roman.ttf cannot be decrypted

You must eliminate encription.xml from Meta-Inf folder.

Original comment by ric...@santillana.es on 3 Sep 2012 at 3:18