11-05-2010, 12:48 PM | #1 |
Enthusiast
Posts: 38
Karma: 10
Join Date: Nov 2010
Device: Sony eReader
|
Sigil/DRM Issues After Update?
Hi all,
We're just in the process of tracking this issue down, not sure if it is our InDesign files or a software bug with Sigil. After updating Sigil to the version just released [0.3.0], our ePub exports from InDesign get the following error: "The creator of this file has encrypted it with DRM. Sigil cannot open such files." There is no DRM on the file as we have just exported it from ID, and did not receive this error prior to update. I know this was one of the bugs fixed in Sigil (previously just received a crash error when opening protected ePubs), so I'm not sure if there's suddenly an issue with our .indd files or not? Anyone else encountering this issue with the new version? |
11-05-2010, 01:13 PM | #2 |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Sigil shows this message when it detects the presence of an "encryption.xml" file in the META-INF folder. This file is placed there only when the creator wants to encrypt the content of his epub. Are you saying that InDesign places an "encryption.xml" file even when the epub is not encrypted? That would be an interesting move by Adobe; extremely stupid, yes, but interesting nonetheless.
I'd like to see that file. Feel free to create an issue on the tracker with the epub attached. |
Advert | |
|
11-05-2010, 04:26 PM | #3 |
Enthusiast
Posts: 38
Karma: 10
Join Date: Nov 2010
Device: Sony eReader
|
So, thanks for the response first off. It definitely is the case that InDesign creates an encryption.xml file within the META-INF folder, even though there shouldn't be any encryption. We are merely taking a raw .indd, exporting, and cleaning up in Sigil...so, very possibly it could then be some of our InDesign files, as older exports we have done still work fine in the new Sigil.
This is the encryption.xml file: <encryption xmlns="urnasis:names:tcpendocument:xmlns:conta iner" xmlns:enc="http://www.w3.org/2001/04/xmlenc#" xmlns:deenc="http://ns.adobe.com/digitaleditions/enc"><enc:EncryptedData><enc:EncryptionMethod Algorithm="http://ns.adobe.com/pdf/enc#RC"/><enc:CipherData><enc:CipherReference URI="OEBPS/Fonts/AGaramondPro-Regular.otf"/></enc:CipherData></enc:EncryptedData><enc:EncryptedData><enc:Encrypti onMethod Algorithm="http://ns.adobe.com/pdf/enc#RC"/><enc:CipherData><enc:CipherReference URI="OEBPS/Fonts/AGaramondPro-Italic.otf"/></enc:CipherData></enc:EncryptedData></encryption> |
11-05-2010, 05:01 PM | #4 |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
What version of InDesign are you using?
|
11-05-2010, 06:15 PM | #5 |
Wizard
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
|
Advert | |
|
11-06-2010, 09:07 AM | #6 | |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
twedigteam, you still haven't provided the epub file with which you are having problems. Please do so. There's a "private issue" template on the tracker if you are worried about others having access to the file. |
|
11-06-2010, 10:03 AM | #7 |
Wizard
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
This has been discussed a while ago on the epub forum. inDesign obfuscates the fonts (there's no real encryption) in order to dissuade people from removing them from the epub. It inserts an encryption.xml to signal this fact. This is not the problem, since some font licences require obfuscation. The real problem is that the epub standard specifies a different obfuscation scheme to that used by Adobe (though frankly this is another area in which the standard is just a result of silly political manoeuvring, since they didn't want to adopt the system already developed by Adobe).
The solution is exactly as I stated: don't embed fonts from inDesign and you won't get the encryption file. I somehow doubt that twedigteam has a licence to distribute Adobe Garamond anyway. |
11-06-2010, 10:06 AM | #8 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
A font may be legally embeddable, but not redistributable. I imagine that is why InDesign is encrypting embedded fonts. What can be done other than encryption to prevent a user from simply copying a font out of an ePub file?
|
11-06-2010, 10:26 AM | #9 | |||||
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
Quote:
Quote:
Quote:
I was a bit touchy since you appeared to be the third person today to imply that Sigil has problems with embedded fonts, when the root cause is InDesign being brain-dead. Quote:
In fact, that's just what I'm about to add to Sigil. A Book Browser right-click context menu for fonts that enable the user to obfuscate or de-obfuscate the font with either method. By default, whatever state the font was in when the epub was opened will be the state in which it will be saved. |
|||||
11-06-2010, 10:43 AM | #10 |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Regardless of what InDesign does, is it really the best option to reject an ePUB file as DRMed just because it contains an "encryption.xml" file? Wouldn't it be better if Sigil could actually determine which files, if any, are encrypted and warn about those?
|
11-06-2010, 10:47 AM | #11 | ||
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
Quote:
|
||
11-07-2010, 01:47 PM | #12 | |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
If the July 22 JBL update only has one DRM, which one do you want? | Ken Maltby | Ectaco jetBook | 7 | 07-18-2010 10:35 PM |
Weird formatting issues - Sigil .epub in Calibre viewer | december | Sigil | 9 | 06-18-2010 04:04 PM |
Issues with DRM book | manyoo99 | Sony Reader | 1 | 10-03-2009 10:41 AM |
Sigil editing Issues -- must be addressed | arvinder | Sigil | 4 | 08-06-2009 07:36 AM |
windows reinstall/drm issues | elf | Sony Reader | 1 | 03-29-2007 03:34 PM |