Quote:
Originally Posted by gbm
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
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.