|  07-16-2011, 04:06 AM | #16 | 
| The Grand Mouse 高貴的老鼠            Posts: 74,410 Karma: 318076944 Join Date: Jul 2007 Location: Norfolk, England Device: Kindle Oasis | 
			
			New version 1.01: The Python script now only outputs the information about the file. To see the description just run the script without paramteters. The AppleScript now does batch operation properly, with an option to save the report. The authorship notices have been updated to emphasize that this code is under unlicense, and is in the public domain, not copyrighted. | 
|   |   | 
|  07-16-2011, 05:46 PM | #17 | |
| Grand Sorcerer            Posts: 11,470 Karma: 13095790 Join Date: Aug 2007 Location: Grass Valley, CA Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7 | Quote: 
 Dale | |
|   |   | 
|  07-16-2011, 05:56 PM | #18 | |
| The Grand Mouse 高貴的老鼠            Posts: 74,410 Karma: 318076944 Join Date: Jul 2007 Location: Norfolk, England Device: Kindle Oasis | Quote: 
 If you come up with some nice improvements, post them here and I'll add them back into the first post — if you don't mind them being under unlicense. | |
|   |   | 
|  04-21-2012, 02:35 PM | #19 | 
| Enthusiast            Posts: 27 Karma: 56200 Join Date: Jul 2011 Location: California Device: none | 
			
			It _looks_ like there is a bug in the drmcheck.py file; at least in the version I downloaded. In version 1.01, on line 72 it has: cmpdata += unprocessed But I think that puts the not yet processed bytes on the wrong end of the buffer. Shouldn't that read: cmpdata = unprocessed + cmpdata The worst effect I can see is failing to recognize the location of the encrypyedKey. And that would only happen if the cmpdata were larger than _MAX_SIZE which may never happen for an eBooks rights.xml file. But in case you also use this code in other scripts, it might bite. -Jesse Chisholm | 
|   |   | 
|  08-03-2012, 09:16 AM | #20 | 
| Junior Member  Posts: 1 Karma: 10 Join Date: Jul 2012 Device: Kindle 4 | 
			
			Thanks, neat script.
		 | 
|   |   | 
|  08-03-2012, 12:59 PM | #21 | 
| The Grand Mouse 高貴的老鼠            Posts: 74,410 Karma: 318076944 Join Date: Jul 2007 Location: Norfolk, England Device: Kindle Oasis | 
			
			Hmm... this could probably do with updating to also recognise KF8 files in various configurations. No time now though. (KF8 wil be incorrectly identified as MObi). | 
|   |   | 
|  06-12-2013, 04:34 AM | #22 | 
| Enthusiast  Posts: 34 Karma: 10 Join Date: Dec 2012 Location: Italy Device: Kindle | 
			
			Thank for your stuff, good job. A curiosity, an Amazon book reports "Mobipocket ebook, HUFF/CDIC compression encrypted with current encrytion method"... What does "current method" mean? Ciao
		 | 
|   |   | 
|  06-12-2013, 05:12 AM | #23 | |
| The Grand Mouse 高貴的老鼠            Posts: 74,410 Karma: 318076944 Join Date: Jul 2007 Location: Norfolk, England Device: Kindle Oasis | Quote: 
   Some early Mobipocket books used a slightly different method. All current Mobipocket and Kindle ebooks (except Topaz) use the same encryption method, it's just the way that the encryption key is generated that changes. | |
|   |   | 
|  10-06-2014, 08:25 PM | #24 | 
| Enthusiast            Posts: 38 Karma: 66952 Join Date: Oct 2014 Location: Baton Rouge, LA Device: Kindle Paperwhite | 
			
			I realize this is a reply to a 3-year old post, but I had no luck with the app. Running OS X Mavericks on a mid-2010 Macbook Pro, which has Python already installed on it. On attempting to open the unzipped app file I got the following message: "DRM Check 1.0.1app” is damaged and can’t be opened. You should move it to the trash. I also have a Windows 7 machine I tried both files on but as I'm less than a rank novice at programming language I got discouraged when running the DRM check py a command window both opened and disappeared, and quickly, which was why I figured I'd try it out on my Mac. Have also tried numerous web searches for a way or ways to detect or check for DRM in epubs/ebooks with zilch results. There are boo coo hits on the *removal* of it (DRM) but that's not what I'm looking for (that's what Apprentice Alf is for, right?). Sorry to be a pest oh Ghost Mouse, but have you any other suggestions for how best to check/detect for DRM in pubs? | 
|   |   | 
|  10-06-2014, 09:21 PM | #25 | 
| Grand Sorcerer            Posts: 13,685 Karma: 79983758 Join Date: Nov 2007 Location: Toronto Device: Libra H2O, Libra Colour | 
			
			Well.... On windows best bet is to just open a command prompt where you will see a plain looking prompt; in my case Code: c:\users\peter Code: calibre-debug drmcheck.py followed_by_name_of_epub_file_to_check Code: calibre-debug d:\Downloads\drmcheck.py "Documents\My Digital Editions\$20_Per_Gallon.epub" ePub ebook, Adobe Digital Editions encryption. | 
|   |   | 
|  10-07-2014, 03:49 AM | #26 | |
| The Grand Mouse 高貴的老鼠            Posts: 74,410 Karma: 318076944 Join Date: Jul 2007 Location: Norfolk, England Device: Kindle Oasis | Quote: 
 Good luck! | |
|   |   | 
|  10-26-2024, 04:16 PM | #27 | 
| Junior Member  Posts: 5 Karma: 10 Join Date: Mar 2023 Device: Oasis 3 | 
			
			Is there an up-to-date version of this available?
		 | 
|   |   | 
|  10-27-2024, 04:00 AM | #28 | 
| The Grand Mouse 高貴的老鼠            Posts: 74,410 Karma: 318076944 Join Date: Jul 2007 Location: Norfolk, England Device: Kindle Oasis | 
			
			No. And with recent versions of Mac OS not having python installed, I doubt I'll update it as an AppleScript app. I'm very happy for anyone to use any part of it , say in a calibre plugin-in.
		 | 
|   |   | 
|  10-27-2024, 05:33 AM | #29 | 
| Resident Curmudgeon            Posts: 80,677 Karma: 150249619 Join Date: Nov 2006 Location: Roslindale, Massachusetts Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 | 
			
			Can this script be made to work with KF8 & KFX?
		 Last edited by JSWolf; 10-28-2024 at 09:34 AM. | 
|   |   | 
|  10-27-2024, 03:09 PM | #30 | 
| Bibliophagist            Posts: 47,992 Karma: 174315100 Join Date: Jul 2010 Location: Vancouver Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos | 
			
			To quote the first message in this thread: Mobipocket, Topaz, PalmDoc, eReader and ePubs. Given that Amazon announced late in October, 2011 they were introducing their new KF8 format and the files in the first post are from July, 2011, how likely do you think that it is that KF8 or KFX are supported? | 
|   |   | 
|  | 
| Thread Tools | Search this Thread | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Found another DRM vs no DRM picture on the Net | Krystian Galaj | News | 29 | 03-18-2010 06:25 AM | 
| ShineBook Mobile eBook Reader announced in Germany, reads both DRM-prc + DRM-ePub ... | K-Thom | News | 11 | 12-12-2009 06:50 AM | 
| Erstes eBook, DRM? | Targor | E-Books | 2 | 05-15-2009 08:13 AM | 
| DRM, or not DRM: that is the question (poll) | Alexander Turcic | News | 54 | 02-08-2009 01:27 PM |