Giter Site home page Giter Site logo

Comments (15)

noDRM avatar noDRM commented on September 18, 2024

Thanks for the report. 7eb8f07 should hopefully fix the issue with your PDF file. You can click on "Actions", then the latest workflow run, then on "plugin" under "Artifacts" to download a test version. Let me know if that fixes the issue with your PDF.
As for the EPUBs, if this didn't get fixed with all the other changes that have been done to the plugin in the meantime, I'm going to need a debug log from one of those as well.

from dedrm_tools.

digitalfreaknyc avatar digitalfreaknyc commented on September 18, 2024

from dedrm_tools.

noDRM avatar noDRM commented on September 18, 2024

Interesting ... I'm going to try and add some more verbose logs to the plugin to track this down. Thanks for testing.

from dedrm_tools.

junefish avatar junefish commented on September 18, 2024

I'm having the same issue, I think. Happy to provide any logs or info that may be helpful.

from dedrm_tools.

junefish avatar junefish commented on September 18, 2024
DeDRM v10.0.2: Verifying zip archive integrity
DeDRM v10.0.2: “9782013976015.epub” is a secure Barnes & Noble ePub
DeDRM v10.0.2: Trying Encryption key nook
Could not decrypt u6hlhkug.epub because of an exception:
Traceback (most recent call last):
  File "calibre_plugins.dedrm.ignobleepub", line 273, in decryptBook
  File "calibre_plugins.dedrm.ignobleepub", line 204, in __init__
  File "calibre_plugins.dedrm.ignobleepub", line 175, in __init__
  File "Crypto\Cipher\AES.py", line 232, in new
  File "Crypto\Cipher\__init__.py", line 79, in _create_cipher
  File "Crypto\Cipher\_mode_cbc.py", line 274, in _create_cbc_cipher
  File "Crypto\Cipher\AES.py", line 93, in _create_base_cipher
ValueError: Incorrect AES key length (0 bytes)

DeDRM v10.0.2: Failed to decrypt with key nook after 0.1 seconds
DeDRM v10.0.2: Trying Encryption key nook_old
Could not decrypt u6hlhkug.epub because of an exception:
Traceback (most recent call last):
  File "calibre_plugins.dedrm.ignobleepub", line 273, in decryptBook
  File "calibre_plugins.dedrm.ignobleepub", line 204, in __init__
  File "calibre_plugins.dedrm.ignobleepub", line 175, in __init__
  File "Crypto\Cipher\AES.py", line 232, in new
  File "Crypto\Cipher\__init__.py", line 79, in _create_cipher
  File "Crypto\Cipher\_mode_cbc.py", line 274, in _create_cbc_cipher
  File "Crypto\Cipher\AES.py", line 93, in _create_base_cipher
ValueError: Incorrect AES key length (0 bytes)

DeDRM v10.0.2: Failed to decrypt with key nook_old after 0.1 seconds
DeDRM v10.0.2: Looking for new NOOK Study Keys after 0.1 seconds
DeDRM v10.0.2: Exception when getting default NOOK Study Key after 0.1 seconds
Traceback (most recent call last):
  File "calibre_plugins.dedrm.__init__", line 345, in ePubDecrypt
  File "calibre_plugins.dedrm.ignoblekey", line 204, in nookkeys
  File "calibre_plugins.dedrm.ignoblekey", line 160, in getNookLogFiles
TypeError: can only concatenate str (not "bytes") to str
DeDRM v10.0.2: Ultimately failed to decrypt after 0.1 seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
[5.55] splash screen hidden
[5.55] Started up in 5.55 seconds with 1356 books
Added Moi, Simon, 16 ans, Homo Sapiens to db in: 1.2
Running file type plugin DeDRM failed with traceback:
Traceback (most recent call last):
  File "calibre\customize\ui.py", line 175, in _run_filetype_plugins
  File "calibre_plugins.dedrm.__init__", line 899, in run
  File "calibre_plugins.dedrm.__init__", line 397, in ePubDecrypt
calibre_plugins.dedrm.DeDRMError: DeDRM v10.0.2: Ultimately failed to decrypt after 0.1 seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharAdded 1 books in 1.8 seconds
Worker Launch took: 0.00 seconds

from dedrm_tools.

junefish avatar junefish commented on September 18, 2024

Just found #9 and it worked perfectly for me - @digitalfreaknyc try it?

from dedrm_tools.

noDRM avatar noDRM commented on September 18, 2024

That's a different bug than the one reported by digitalfreaknyc. Your bug should now be fixed with dcbb377.
@digitalfreaknyc can you provide a log for an unsuccessful EPUB file? Maybe these contain more useful information.

from dedrm_tools.

junefish avatar junefish commented on September 18, 2024

@noDRM ack, sorry to clutter! thanks for the info.

from dedrm_tools.

digitalfreaknyc avatar digitalfreaknyc commented on September 18, 2024

That's a different bug than the one reported by digitalfreaknyc. Your bug should now be fixed with dcbb377. @digitalfreaknyc can you provide a log for an unsuccessful EPUB file? Maybe these contain more useful information.

They all work now, after that latest update. The only one that doesn't is the PDF...which is the only one I needed to convert in the first place :) :)

from dedrm_tools.

digitalfreaknyc avatar digitalfreaknyc commented on September 18, 2024

from dedrm_tools.

noDRM avatar noDRM commented on September 18, 2024

Maybe, if you're comfortable sharing the PDF and your Nook key string / key file (which you can export in the plugin settings).
My email is in my Github profile.

from dedrm_tools.

noDRM avatar noDRM commented on September 18, 2024

I tested your PDF, but I can't get it to work at all, no matter what I do. Neither my fork, nor the latest original version, nor the 6.2.0 (latest Python2 version) seems to work. Maybe B&N PDF has always been broken?
Or something is wrong with your PDF or your keys ...

from dedrm_tools.

ElleKayEm avatar ElleKayEm commented on September 18, 2024

According to the release notes, the script for B&N pdfs was first added with DeDRM 6.8.0, but it wasn't integrated into the plugin. And Apprentice Harper wasn't able to test it.

from dedrm_tools.

digitalfreaknyc avatar digitalfreaknyc commented on September 18, 2024

from dedrm_tools.

digitalfreaknyc avatar digitalfreaknyc commented on September 18, 2024

from dedrm_tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.