Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's possible to use DeDRM tools from the command line, the plugin just makes it easier.

Simply git clone https://github.com/apprenticeharper/DeDRM_tools/ and then:

  python2.7 DeDRM_tools/DeDRM_plugin/k4mobidedrm.py \
    -k ~/.local/share/wineprefixes/kindle/drive_c/users/*/Local Settings/Application Data/DeDRMPrefs/kindlekey.k4i' \
    ~/Documents/My\ Kindle\ Content/book.azw .
or

  python2.7 DeDRM_tools/DeDRM_plugin/ineptepub.py \
    adeptkey.der book.epub book_dedrm.epub
(I'm not exactly sure where to get adeptkey.der but I'm certain it can be extracted from an old python2 Calibre + DeDRM installation.)


Thanks. Works fine on a Mac. On a Mac, you can get your adeptkey.der running the script provided here:

https://github.com/cweiske/inept/blob/master/scripts/ineptke...


Doing it from the command line is becoming more of a hassle now that Debian has stopped packaging Python 2.


I think pypy might be a simple way to get around that, iirc it's pretty self-contained and doesn't need to integrate much. I ran it from /opt for a while, but ~/.local should work too.


Did they? There's no /usr/bin/python any more in testing/unstable since last week, but python2 is still there and I don't think it's going away very soon. Even if it did, you can always grab python2 from stable.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: