View Single Post
Old 11-19-2021, 02:25 PM   #60
Leseratte_10
Groupie
Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.
 
Posts: 183
Karma: 3587000
Join Date: Sep 2021
Device: PB Era, PB InkPad 3 Pro
Quote:
Originally Posted by gbm View Post
What I hope is that it will import my ADE activation from my Win10 VM to my linux calibre.
Yeah, that should be possible once the update is released. Install Calibre and the plugin inside the VM, import the activation from ADE then export it into a ZIP file, then copy that ZIP over to your Linux machine and import it into the plugin.

Quote:
Originally Posted by jhowell View Post
You may have solved this already, but just in case... There is a difference between an activation.xml file and the ADE activation data in the Windows registry. The privateLicenseKey is stored encrypted in Windows. DeDRM has code to decrypt that, but it incorrectly uses an IV of all zeros, causing the first 16 bytes of the decrypted value to be incorrect. That doesn't matter for DeDRM since it does not use those bytes, but it may matter for your plugin. The IV to properly decrypt that field is the first 16 bytes of the base-64 decoded fingerprint.
Wow, I did not know that. I am using the decryption code from the DeDRM plugin to decrypt that and the decrypted form did work (so the first 16 bytes probably aren't that important), but this might explain some other oddities I ran into. I will try decrypting that with the first 16 bytes of the fingerprint instead and see what that results in. The fingerprint is stored unencrypted in the registry so it should be easy to add that.
Leseratte_10 is offline   Reply With Quote