10-14-2019, 08:49 AM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Oct 2019
Device: none
|
File 'META-INF/encryption.xml' in EPUB not listed in manifest!
Hi there, I am struggling with my epub. The Epub validator comes back all fine but when I upload to Smashwords, I get this response (see header). All this means nothing to me but I am getting help with the epub so any help much appreciated.
|
10-14-2019, 08:56 AM | #2 |
The Grand Mouse 高貴的老鼠
Posts: 72,135
Karma: 308000000
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
Delete the file META-INF/encryption.xml from your ePub.
Or if you need that file (because of, say, obfuscated embedded fonts), then include the file in the ePub's manifest. What are you using to edit your ePub? |
Advert | |
|
10-14-2019, 08:02 PM | #3 |
Bibliophagist
Posts: 39,241
Karma: 153111226
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
An interesting error. I've only seen it once and that was due to a braindead epub editor I was testing which placed encryption.xml in the root of the epub zip file (along with every other file except for container.xml which was in the META-INF directory).
If they are referring to the manifest section of content.opf, a file in the META-INF directory should not be listed there. If they are referring to the optional manifest.xml file which would be located in the META-INF directory, it is optional and I have never seen it used. OTOH, unless your epub used either encryption or obfuscated fonts, you should not need the encryption.xml file present. You might want to extract it from your epub (use your favourite unzipper) and take a look at it. The next bit is a sample encryption.xml from an epub with obfuscated fonts: Code:
<?xml version="1.0" encoding="UTF-8"?> <encryption xmlns="urn:oasis:names:tc:opendocument:xmlns:container" xmlns:enc="http://www.w3.org/2001/04/xmlenc#"> <enc:EncryptedData> <enc:EncryptionMethod Algorithm="http://ns.adobe.com/pdf/enc#RC"/> <enc:CipherData> <enc:CipherReference URI="OEBPS/Fonts/font0029A.ttf"/> </enc:CipherData> </enc:EncryptedData> <enc:EncryptedData> <enc:EncryptionMethod Algorithm="http://ns.adobe.com/pdf/enc#RC"/> <enc:CipherData> <enc:CipherReference URI="OEBPS/Fonts/font0029B.ttf"/> </enc:CipherData> </enc:EncryptedData> </encryption> |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
META-INF/container error | afpeter | ePub | 9 | 07-23-2013 01:04 AM |
NEED HELP!!! - META-INF/container.xml is missing | soulmenj | ePub | 2 | 07-12-2011 10:49 PM |
Add xml in META-INF | Sylver | Sigil | 5 | 04-26-2011 03:17 AM |
iLiad manifest.xml file order | dedo | iRex Developer's Corner | 2 | 10-05-2009 07:47 PM |
iLiad which program make a new manifest.xml file? | harpum | iRex Developer's Corner | 3 | 06-23-2009 09:45 AM |