

Thanks, again, for these extremely useful Python scripts and the obviously significant amout of work the went into them. I'd say the process requires a total of about 10 minutes, allowing Calibre about 6 minutes to convert the format of the eBook. Hopefully, the above will function more as a 'recipie' for the actual process of conversion.

It was a matter of picking up a piece here and a piece there. I then, finally, copied the resulting version to my wife's Kindle, where she is now happily reading the book.
#How to remove drm from epub file Pc#
mobi version to my permanent library of eBooks, and opened it with my Kindle for PC reader without difficulty. ePub version in Calibre v0.6.53 and converted it to. ePub book that my B&N eReader was still happy to process. These two steps left me with a slightly smaller (by 27 KB). My obvious guess is there's a version incompatibility, since the init.tcl file referenced is both present and came from the properly signed distribution.ġ) python -s ignoblekeygen.pyw "FirstName LastName " 1234567890123456 "bnepubkey.b64" Ģ) python -s ignobleepub.pyw "bnepubkey.b64" "B&NeBookFileName.epub" "B&NeBookFileName_sans_DRM.epub" ĭon't include any of the text between square brackets in the actual commands - they're just comments. This probably means that Tcl wasn't installed properly during the Python installation.

Version conflict for package "Tcl": have 8.5.7, need exactly 8.5.2 _tkinter.TclError: Can't find a usable init.tcl in the following directories: Self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) pyw script:Ĭ:\Users\Peter\Documents\My Barnes & Noble -s ignoblekeygen.pywįile "ignoblekeygen.pyw", line 129, in gui_mainįile "C:\Python26\lib\lib-tk\Tkinter.py", line 1643, in _init_ When I issue the above command, I get the following error stack from the. I have installed the current production version of Python, 2.6.5, and the recommended v2.1.0 of PCCrypto. When I run "python -s ignoblekeygen.pyw" in a command window I get a mountain of complaints. Having nor found these tools, which look very promising, I'm encountering a problem. Wanting to allow my wife to read it on one of our Kindles, I innocently went hunting for conversion tools. I recently purchased a DRM-protected ePub from B&N. These are invaluable tools, especially if I can get them to work.
#How to remove drm from epub file download#
They produce the same output, and the key-generator works on any platform, but I released the Windows key-retrieval script first and will leave it up for Windows users who’d rather not give their credit card number to random programs they download off the Internet (despite being a source-visible script and all). You need the decryption script and one of either the key-retrieval or key-generation scripts. Update: and then it turned out the key-generation algorithm was pretty easy too.Ī Windows-only key-retrieval script: ignoblekey (version 2)Īn any-platform key-generation script: ignoblekeygen (version 1)Īnd an any-platform book-decryption script: ignobleepub (version 1) It then stores this key in plain text in a sqlite3 database. A wise decision, for which I congratulate them. It would be very bad form for an application to keep user CC#s just sitting around on disk, so the Windows version of the Barnes & Noble Desktop Reader application (BDReader) just holds on to the generated key and not the source info. They like to call this a form of “social DRM,” although I believe a more appropriate term is “silly.” The basic idea behind the B&N EPUB scheme is the same as that used by the ill-fated eReader format B&N acquired – step 1: generate an encryption key from the book-purchaser’s name + credit card # step 2: hope that they don’t like giving that information out to strangers. But for now much hilarity ensues as consumers buy books they can’t read on their devices. They partnered with Adobe to do it (it’s a variant of their ADEPT scheme), and all the Adobe SDK users will get access to it eventually. In a move sure to leave consumers scratching their heads (especially the ones already wondering why they bought a Nook), Barnes & Noble has decided to implement their own DRM scheme for EPUB books.
