Leseratte10 / acsm-calibre-plugin

Calibre plugin for ACSM->EPUB and ACSM->PDF conversion.
https://www.mobileread.com/forums/showthread.php?t=341975
GNU General Public License v3.0
593 stars 23 forks source link

Combination of deACSM and deDRM creates blank pdf (DRM not removed) #40

Closed SchmidL closed 1 year ago

SchmidL commented 1 year ago

Bug description

hi,

I just tried, as several suggested, to use deACSM plugin in combination with DeDRM from this repo.

Unfortunately this just loaded a blank pdf, as normally happend when loading a pdf from ADE without removing the DRM.

Also the log show that a IndexError in de DeDRM: index out of range is thrown. But, When the ACSM is opend in ADE (with my Adobe ID) -> the PDF gets imported into calibre -> DeDRM removes the DRM. What not works is:

Also when I then try to redownload the fulfilled PDF from deACSM, with my Adobe ID, it cannot be opened in ADE, as E_LIC_ALREADY_FULFILLED_BY_ANOTHER_USER

I asked already the DeDRM community for help, but I think something doesn't work with deACSM https://github.com/noDRM/DeDRM_tools/issues/195

How can I help to find the bug?

Operating system

MacOS

Which version of Calibre are you running?

6.5.0

Which version of the ACSM Input plugin are you running?

v0.0.16

Further information

Using calibre Qt style: True
calibre Debug log
calibre 6.5  embedded-python: True
macOS-12.6-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '21.6.0', 'Darwin Kernel Version 21.6.0: Mon Aug 22 20:17:10 PDT 2022; root:xnu-8020.140.49~2/RELEASE_X86_64')
Python 3.10.1
OSX: ('12.6', ('', '', ''), 'x86_64')
Interface language: None
Successfully initialized third party plugins: DeACSM (0, 0, 16) && DeDRM (10, 0, 3) && Find Duplicates (1, 9, 7)
calibre 6.5  embedded-python: True
macOS-12.6-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '21.6.0', 'Darwin Kernel Version 21.6.0: Mon Aug 22 20:17:10 PDT 2022; root:xnu-8020.140.49~2/RELEASE_X86_64')
Python 3.10.1
OSX: ('12.6', ('', '', ''), 'x86_64')
Interface language: None
Successfully initialized third party plugins: DeACSM (0, 0, 16) && DeDRM (10, 0, 3) && Find Duplicates (1, 9, 7)
QPA platform: cocoa
devicePixelRatio: 1.0
logicalDpi: 72.0 x 72.0
physicalDpi: 72.00000108133152 x 72.00000108133152
[0.00] Starting up...
[0.03] Showing splash screen...
[0.27] splash screen shown
[0.27] Initializing db...
[0.35] db initialized
[0.35] Constructing main UI...
[1.35] main UI initialized...
[1.35] Hiding splash screen
Starting QuickView
[5.48] splash screen hidden
[5.48] Started up in 5.48 seconds with 2790 books
DeDRM v10.0.3: Trying to decrypt v4sj3lko.pdf
DeDRM v10.0.3: v4sj3lko.pdf is a PDF ebook with encryption EBX_HANDLER
DeDRM v10.0.3: v4sj3lko.pdf is a PDF ebook (EBX) for UUID 616bc716-fca7-4970-b104-491cd0ea2f98
DeDRM v10.0.3: Trying encryption key default_key
ebx_V is 4  and ebx_type is 6
length is 16 and len(bookkey) is 0
DeDRM v10.0.3: Exception when decrypting after 0.1 seconds
Traceback (most recent call last):
  File "calibre_plugins.dedrm.__init__", line 724, in PDFIneptDecrypt
    result = ineptpdf.decryptBook(userkey, path_to_ebook, of.name)
  File "/Users/lorenz/Library/Preferences/calibre/plugins/DeDRM.zip/ineptpdf.py", line 2286, in decryptBook
    serializer = PDFSerializer(inf, userkey, inept)
  File "/Users/lorenz/Library/Preferences/calibre/plugins/DeDRM.zip/ineptpdf.py", line 2094, in __init__
    doc.initialize(userkey, inept)
  File "/Users/lorenz/Library/Preferences/calibre/plugins/DeDRM.zip/ineptpdf.py", line 1253, in initialize
    return self.initialize_ebx_inept(password, docid, param)
  File "/Users/lorenz/Library/Preferences/calibre/plugins/DeDRM.zip/ineptpdf.py", line 1707, in initialize_ebx_inept
    print("bookkey[0] is %d" % bookkey[0])
IndexError: index out of range
DeDRM v10.0.3: Failed to decrypt with key default_key after 0.1 seconds
DeDRM v10.0.3: Looking for new default Adobe Digital Editions Keys after 0.1 seconds
DeDRM v10.0.3: Found new key 'DeACSM_uuid_616bc716-fca7-4970-b104-491cd0ea2f98' in DeACSM plugin
DeDRM v10.0.3: Trying a new default key
ebx_V is 4  and ebx_type is 6
length is 16 and len(bookkey) is 0
DeDRM v10.0.3: Exception when decrypting after 0.3 seconds
Traceback (most recent call last):
  File "calibre_plugins.dedrm.__init__", line 795, in PDFIneptDecrypt
    result = ineptpdf.decryptBook(userkey, path_to_ebook, of.name)
  File "/Users/lorenz/Library/Preferences/calibre/plugins/DeDRM.zip/ineptpdf.py", line 2286, in decryptBook
    serializer = PDFSerializer(inf, userkey, inept)
  File "/Users/lorenz/Library/Preferences/calibre/plugins/DeDRM.zip/ineptpdf.py", line 2094, in __init__
    doc.initialize(userkey, inept)
  File "/Users/lorenz/Library/Preferences/calibre/plugins/DeDRM.zip/ineptpdf.py", line 1253, in initialize
    return self.initialize_ebx_inept(password, docid, param)
  File "/Users/lorenz/Library/Preferences/calibre/plugins/DeDRM.zip/ineptpdf.py", line 1707, in initialize_ebx_inept
    print("bookkey[0] is %d" % bookkey[0])
IndexError: index out of range
DeDRM v10.0.3: Failed to decrypt with new default key after 0.3 seconds
DeDRM v10.0.3: Trying a new default key
ebx_V is 4  and ebx_type is 6
length is 16 and len(bookkey) is 0
DeDRM v10.0.3: Exception when decrypting after 0.4 seconds
Traceback (most recent call last):
  File "calibre_plugins.dedrm.__init__", line 795, in PDFIneptDecrypt
    result = ineptpdf.decryptBook(userkey, path_to_ebook, of.name)
  File "/Users/lorenz/Library/Preferences/calibre/plugins/DeDRM.zip/ineptpdf.py", line 2286, in decryptBook
    serializer = PDFSerializer(inf, userkey, inept)
  File "/Users/lorenz/Library/Preferences/calibre/plugins/DeDRM.zip/ineptpdf.py", line 2094, in __init__
    doc.initialize(userkey, inept)
  File "/Users/lorenz/Library/Preferences/calibre/plugins/DeDRM.zip/ineptpdf.py", line 1253, in initialize
    return self.initialize_ebx_inept(password, docid, param)
  File "/Users/lorenz/Library/Preferences/calibre/plugins/DeDRM.zip/ineptpdf.py", line 1707, in initialize_ebx_inept
    print("bookkey[0] is %d" % bookkey[0])
IndexError: index out of range
DeDRM v10.0.3: Failed to decrypt with new default key after 0.4 seconds
DeDRM v10.0.3: Finished after 0.4 seconds
Traceback (most recent call last):
  File "calibre/customize/ui.py", line 435, in get_file_type_metadata
  File "calibre/customize/builtins.py", line 324, in get_metadata
  File "calibre/ebooks/metadata/pdf.py", line 124, in get_metadata
ValueError: Could not read info dict from PDF
DeACSM v0.0.16: Trying to parse file GehirnGeist032022.acsm
DeACSM v0.0.16: Try to fulfill ...
Notifying server ...
Notifying server https://acs6.onleihe.de/fulfillment/FulfillmentNotification
Fulfillment notification successful.
Notifying optional server https://ws.onleihe.de/acs6-return
Fulfillment notification successful (204).
DeACSM v0.0.16: Downloading book ...
DeACSM v0.0.16: Loading book from https://dp1.onleihe.de/downloadprovider/epub/20220204/9d375dc8-1ed5-33b9-973d-276290acda70.pdf
Download took 3410 ms (HTTP 200)
That's a PDF file
DeACSM v0.0.16: Downloaded PDF, adding encryption config ...
Searching for startxref ...
Got startxref: 8883863
Found ENC after 5 attempts - took 1 ms
Found EBX after 2062 attempts - took 4 ms

Encryption handler:
<</Root 1 0 R/Info 5 0 R/Encrypt 2051 0 R/ID[<05339E570442487CB736AB79F76DDE58><A56123FCE4CBD0477D31148C634E625F>]/Size 2052>>
EBX handler:
<</EBX_PUBLISHER(Spektrum der Wissenschaft Verlagsgesellschaft mbH)/Filter/EBX_HANDLER/Length 128/ADEPT_ID(urn:uuid:a08ebdff-6bae-4a13-92c2-0ab28d1021ff)/V 4/EBX_TITLE(Gehirn & Geist \\\(03/2022\\\))/EBX_AUTHOR()>>
Trimmed encryption handler:
<</Root 1 0 R/Info 5 0 R/Encrypt 2051 0 R/ID[<05339E570442487CB736AB79F76DDE58><A56123FCE4CBD0477D31148C634E625F>]/Size 2052>>
Updated EBX handler not logged due to sensitive data
Whole DRM patching took 25 milliseconds.
DeACSM v0.0.16: File successfully fulfilled ...
DeACSM v0.0.16: Executing plugin DeDRM ...
DeACSM v0.0.16: Plugin returned nothing - skipping
Syntax Error: Couldn't find the 'EBX_HANDLER' security handler
pdfinfo errored out with return code: 1
Leseratte10 commented 1 year ago

That's going to be tricky if it's not clear whether the issue is in my ACSM Input plugin or in the DeDRM plugin ...

So you took one ACSM file and downloaded it both through ADE and through my plugin, both authorized with the same AdobeID? Then you should have two PDF files with DRM (one from ADE and one from my plugin) that should be identical.

In an ideal world the files would be 100% identical, but they should definitely be syntactically / semantically identical.

So can you try disabling the DeDRM plugin so that it doesn't get into the way, then download the ACSM once with ADE and once with my plugin and see if the resulting PDF files are identical?

Or, if you want (since the files are encrypted anyways and unreadable for me without your key), you can also send the two files (PDF with DRM from ADE, and PDF with DRM from my plugin) to my email and I'll take a look: \<email removed> If the two files are (very) different it might be a bug with my plugin. If they are mostly identical it's probably a DRM removal issue.

azumukupoe commented 1 year ago

I think the issue is within this plugin it'd be great if you could fix it, but I can live with using ADE in the meantime

ApplicationPaletteChange event ignored
Using calibre Qt style: True
ApplicationPaletteChange event received
calibre Debug log
calibre 6.17  embedded-python: True
Windows-10-10.0.22621-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.22621')
Python 3.10.1
Windows: ('10', '10.0.22621', 'SP0', 'Multiprocessor Free')
Interface language: None
Initialized urlfixer
Successfully initialized third party plugins: DeACSM (0, 0, 16) && DeDRM (10, 0, 3) && Amazon.com Multiple Countries (1, 0, 0) && BOL_DE (0, 9, 2) && BOL_NL (5, 1, 3) && Baen (1, 1, 0) && Barnes & Noble (1, 5, 2) && DNB_DE (3, 2, 2) && Evrit (1, 3, 0) && Extract ISBN (1, 6, 0) && Fantastic Fiction (1, 6, 1) && Fantastic Fiction Adults (1, 3, 0) && FictionDB (1, 3, 0) && Goodreads (1, 7, 8) && ISFDB3 (1, 2, 2) && Kindle hi-res covers (0, 5, 0) && Kitapyurdu (1, 1, 0) && Kobo Books (1, 9, 2) && Libgen Fiction (0, 4, 0) && Library Genesis (1, 2, 0) && LubimyCzytac (2, 2, 30) && Martinus.sk (2021, 12, 20) && Moly_hu (1, 1, 7) && Perrypedia (1, 6, 0) && SF-Leihbuch (1, 0, 0) && Skoob Books (1, 5, 4) && Smashwords Metadata (1, 0, 2) && Wikidata (2, 0, 0) && databazeknih.cz (1, 4, 26)
calibre 6.17  embedded-python: True
Windows-10-10.0.22621-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.22621')
Python 3.10.1
Windows: ('10', '10.0.22621', 'SP0', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: DeACSM (0, 0, 16) && DeDRM (10, 0, 3) && Amazon.com Multiple Countries (1, 0, 0) && BOL_DE (0, 9, 2) && BOL_NL (5, 1, 3) && Baen (1, 1, 0) && Barnes & Noble (1, 5, 2) && DNB_DE (3, 2, 2) && Evrit (1, 3, 0) && Extract ISBN (1, 6, 0) && Fantastic Fiction (1, 6, 1) && Fantastic Fiction Adults (1, 3, 0) && FictionDB (1, 3, 0) && Goodreads (1, 7, 8) && ISFDB3 (1, 2, 2) && Kindle hi-res covers (0, 5, 0) && Kitapyurdu (1, 1, 0) && Kobo Books (1, 9, 2) && Libgen Fiction (0, 4, 0) && Library Genesis (1, 2, 0) && LubimyCzytac (2, 2, 30) && Martinus.sk (2021, 12, 20) && Moly_hu (1, 1, 7) && Perrypedia (1, 6, 0) && SF-Leihbuch (1, 0, 0) && Skoob Books (1, 5, 4) && Smashwords Metadata (1, 0, 2) && Wikidata (2, 0, 0) && databazeknih.cz (1, 4, 26)
QPA platform: windows
devicePixelRatio: 1.5
logicalDpi: 96.0 x 96.0
physicalDpi: 81.55183946488295 x 81.64285714285714
[0.00] Starting up...
[0.00] Showing splash screen...
[0.16] splash screen shown
[0.16] Initializing db...
[0.16] db initialized
[0.16] Constructing main UI...
[0.81] main UI initialized...
[0.81] Hiding splash screen
Starting QuickView
[2.88] splash screen hidden
[2.88] Started up in 2.88 seconds with 8 books
Traceback (most recent call last):
  File "calibre\customize\ui.py", line 469, in get_file_type_metadata
  File "calibre\customize\builtins.py", line 324, in get_metadata
  File "calibre\ebooks\metadata\pdf.py", line 124, in get_metadata
ValueError: Could not read info dict from PDF
Initialized urlfixer
DeACSM v0.0.16: Trying to parse file URLLink.acsm
DeACSM v0.0.16: Try to fulfill ...
Fulfill request:
<?xml version="1.0"?><adept:fulfill xmlns:adept="http://ns.adobe.com/adept"><adept:user>urn:uuid:9fb1c3be-227e-401d-b0eb-74ce00af6136</adept:user><adept:device>urn:uuid:f99f8256-4a0f-4f86-862b-dc196387121b</adept:device><adept:deviceType>standalone</adept:deviceType><fulfillmentToken xmlns="http://ns.adobe.com/adept" fulfillmentType="loan" auth="user">
  <distributor>urn:uuid:00000000-0000-0000-0000-000000000001</distributor>
  <operatorURL>http://lending6.us.archive.org:8080/fulfillment</operatorURL>
  <transaction>df7db144-3c7b-4e25-a397-fbd35e3d1111</transaction>
  <purchase>2023-04-30T08:05:25+00:00</purchase>
  <expiration>2023-05-07T08:05:25+00:00</expiration>
  <resourceItemInfo>
    <resource>urn:uuid:247111c5-0292-4910-9443-c9ea0ba59e62</resource>
    <resourceItem>0</resourceItem>
    <metadata>
      <dc:title xmlns:dc="http://purl.org/dc/elements/1.1/">Count zero</dc:title>
      <dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gibson, William, 1948-</dc:creator>
      <dc:publisher xmlns:dc="http://purl.org/dc/elements/1.1/">New York : Ace Science Fiction Books</dc:publisher>
      <dc:identifier xmlns:dc="http://purl.org/dc/elements/1.1/">countzero00gibs</dc:identifier>
      <dc:format xmlns:dc="http://purl.org/dc/elements/1.1/">application/pdf</dc:format>
      <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">eng</dc:language>
      <thumbnailURL>http://archive.org/services/img/countzero00gibs</thumbnailURL>
    </metadata>
    <licenseToken>
      <resource>urn:uuid:247111c5-0292-4910-9443-c9ea0ba59e62</resource>
      <permissions>
        <display>
          <until>2023-05-14T08:04:40+00:00</until>
        </display>
        <excerpt>
          <until>2023-05-14T08:04:40+00:00</until>
        </excerpt>
        <print>
          <until>2023-05-14T08:04:40+00:00</until>
        </print>
        <play>
          <until>2023-05-14T08:04:40+00:00</until>
        </play>
      </permissions>
    </licenseToken>
  </resourceItemInfo>
  <hmac>UP1VAEFcO0/1ZeIraLciFFLMcSA=</hmac>
</fulfillmentToken>
<adept:targetDevice><adept:softwareVersion>9.3.58046</adept:softwareVersion><adept:clientOS>Windows Vista</adept:clientOS><adept:clientLocale>en</adept:clientLocale><adept:clientVersion>2.0.1.78765</adept:clientVersion><adept:deviceType>standalone</adept:deviceType><adept:productName>ADOBE Digitial Editions</adept:productName><adept:fingerprint>pwEymzIQEYj+wwIglT9j1ug2zn4=</adept:fingerprint><adept:activationToken><adept:user>urn:uuid:9fb1c3be-227e-401d-b0eb-74ce00af6136</adept:user><adept:device>urn:uuid:f99f8256-4a0f-4f86-862b-dc196387121b</adept:device></adept:activationToken></adept:targetDevice></adept:fulfill>
fulfillmentResult:
<envelope xmlns="http://ns.adobe.com/adept">
  <fulfillmentResult>
    <fulfillment>623e2520-b0ea-4aaf-9a90-8f6ec4cab0d7-0003423f</fulfillment>
    <returnable>true</returnable>
    <initial>true</initial>
    <notify>
      <notifyURL>http://lending6.us.archive.org:8080/fulfillment/FulfillmentNotification</notifyURL>
      <body>
        <fulfillment>623e2520-b0ea-4aaf-9a90-8f6ec4cab0d7-0003423f</fulfillment>
        <transaction>df7db144-3c7b-4e25-a397-fbd35e3d1111</transaction>
        <user>urn:uuid:9fb1c3be-227e-401d-b0eb-74ce00af6136</user>
        <fulfilled>true</fulfilled>
        <returned>false</returned>
      </body>
    </notify>
    <resourceItemInfo>
      <resource>urn:uuid:247111c5-0292-4910-9443-c9ea0ba59e62</resource>
      <resourceItem>0</resourceItem>
      <metadata>
        <dc:title xmlns:dc="http://purl.org/dc/elements/1.1/">Count zero</dc:title>
        <dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gibson, William, 1948-</dc:creator>
        <dc:format xmlns:dc="http://purl.org/dc/elements/1.1/">application/pdf</dc:format>
        <dc:publisher xmlns:dc="http://purl.org/dc/elements/1.1/">New York : Ace Science Fiction Books</dc:publisher>
        <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">eng</dc:language>
        <dc:identifier xmlns:dc="http://purl.org/dc/elements/1.1/">countzero00gibs</dc:identifier>
        <modified>2010-10-01T05:56:26+00:00</modified>
        <thumbnailURL>http://archive.org/services/img/countzero00gibs</thumbnailURL>
        <price>0.0</price>
      </metadata>
      <src>http://archive.org/download/countzero00gibs/countzero00gibs_encrypted.pdf</src>
      <downloadType>simple</downloadType>
<licenseToken>
    <user>urn:uuid:9fb1c3be-227e-401d-b0eb-74ce00af6136</user>
    <resource>urn:uuid:247111c5-0292-4910-9443-c9ea0ba59e62</resource>
    <resourceItemType>application/pdf</resourceItemType>
    <deviceType>standalone</deviceType>
    <device>urn:uuid:f99f8256-4a0f-4f86-862b-dc196387121b</device>
    <voucher>247111c5-0292-4910-9443-c9ea0ba59e62</voucher>
    <licenseURL>https://nasigningservice.adobe.com/licensesign</licenseURL>
    <operatorURL>http://lending6.us.archive.org:8080/fulfillment</operatorURL>
    <fulfillment>623e2520-b0ea-4aaf-9a90-8f6ec4cab0d7-0003423f</fulfillment>
    <distributor>urn:uuid:00000000-0000-0000-0000-000000000001</distributor>
    <encryptedKey keyInfo="user">LfZWArb8FBW7Fu2lldPqrWB6/M6gxfIDahDS1KIgvC30YnFSFQdU6hRGUECEwQNfa1Pp5lvs/TKihLklPArVnw50yJ60nRryf0vSYXvZu8oczvCyamoQ8e6br9iAAlq80Ykfu5rxshsKJuTfcFDe6Z3Wlp11dcw39xhiYyDRvMQ=</encryptedKey>
    <model version="1.0">3073</model>
    <permissions>
      <display>
        <loan>623e2520-b0ea-4aaf-9a90-8f6ec4cab0d7-0003423f</loan>
        <until>2023-05-14T08:04:40Z</until>
      </display>
      <play>
        <loan>623e2520-b0ea-4aaf-9a90-8f6ec4cab0d7-0003423f</loan>
        <until>2023-05-14T08:04:40Z</until>
      </play>
    </permissions>
    <signature>dV5NxgehQWCn4LpoKUeQuJAEnBrxgIN1ScGyRiV1ch2ldvn+oGMUBESIn5rcfhaNl9JrCVIrZk1JZebAtlUJ8eKsGtYG0UGtpJi0RpSfli/h3KHLtF/dX/a5Steuic8UUe4KnKggkyM5Tc4kWTJRuoFxuz5TnpsrfYSCVn9D2Gw=</signature>
  </licenseToken>    </resourceItemInfo>
  </fulfillmentResult>
  <loanToken>
    <time>2023-04-30T08:05:33+00:00</time>
    <user>urn:uuid:9fb1c3be-227e-401d-b0eb-74ce00af6136</user>
    <operatorURL>http://lending6.us.archive.org:8080/fulfillment</operatorURL>
    <licenseURL>https://nasigningservice.adobe.com/licensesign</licenseURL>
    <loan>623e2520-b0ea-4aaf-9a90-8f6ec4cab0d7-0003423f</loan>
    <signature>Du7K8n/iJ2LrFlN5eEGICDXVrEU5YSHDfgVJoAJ78dXq4u8J2mk0ju2bILdTl1r4IcvZnH/GnYkdQAyBVvUBBDEaVHR/5prTBzzV64T15rvLdDPqg0naRJlHLjU1YW1BNyqhLugvxOV467D1+TeQFpgGfhBAAFRG2+tjM3vd8ig=</signature>
  </loanToken>
</envelope>

Notifying server ...
Notifying server http://lending6.us.archive.org:8080/fulfillment/FulfillmentNotification
Fulfillment notification successful.
DeACSM v0.0.16: Downloading book ...
DeACSM v0.0.16: Loading book from http://archive.org/download/countzero00gibs/countzero00gibs_encrypted.pdf
Download took 51768 ms (HTTP 200)
That's a PDF file
DeACSM v0.0.16: Downloaded PDF, adding encryption config ...
Searching for startxref ...
Got startxref: 12659094
Found ENC after 5 attempts - took 0 ms
Found EBX after 1352 attempts - took 4 ms

Encryption handler:
<</Root 1333 0 R/Info 1331 0 R/Encrypt 1341 0 R/ID[<B15E795B5095B834CC63744472C9D9DD><60298B1BFC1E8A3F8528C98434559CE1>]/Size 1342>>
EBX handler:
<</EBX_PUBLISHER(New York : Ace Science Fiction Books)/Filter/EBX_HANDLER/Length 128/ADEPT_ID(urn:uuid:247111c5-0292-4910-9443-c9ea0ba59e62)/V 4/EBX_TITLE(Count zero)/EBX_AUTHOR(Gibson, William, 1948-)>>
Trimmed encryption handler:
<</Root 1333 0 R/Info 1331 0 R/Encrypt 1341 0 R/ID[<B15E795B5095B834CC63744472C9D9DD><60298B1BFC1E8A3F8528C98434559CE1>]/Size 1342>>
Updated EBX handler not logged due to sensitive data
Whole DRM patching took 17 milliseconds.
DeACSM v0.0.16: File successfully fulfilled ...
Syntax Error: Couldn't find the 'EBX_HANDLER' security handler
pdfinfo errored out with return code: 1
Leseratte10 commented 1 year ago

I don't think this is an issue with my plugin. I've just downloaded this very book from archive.org and I can import it into Calibre just fine.

Are you trying to open the resulting PDF in Calibre or in ADE? This is probably an issue with DRM removal.

Leseratte10 commented 1 year ago

No further response, I'm assuming this is fixed and/or was indeed a bug with DRM removal. If not, please re-open.