![]() |
#796 |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,989
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
I've just had a go with the new kindlekey.py file, and it doesn't work on Mac. I haven't tested on PC.
|
![]() |
![]() |
#797 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,075
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
There are separate sections of code for handling PC and Mac platforms in that file. The pull request only changes the PC logic. You would have to add the equivalent logic to the Mac section before testing in order to have a chance of it working.
|
![]() |
Advert | |
|
![]() |
#798 |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,989
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
I suppose it's just possible that Amazon has finally converged the Mac and PC cryptography code. Worth a try. (I did update it to at least find the .kinf2018 file on Mac.) When I next have some free time...
|
![]() |
![]() |
#799 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,108
Karma: 60231510
Join Date: Nov 2011
Location: Australia
Device: Kobo Aura H2O, Kindle Oasis, Huwei Ascend Mate 7
|
If I get the chance I will repeat the experiment with Win 10. If so I will post a bug on github with the debug log, assuming of course that it does not magically just work.
|
![]() |
![]() |
#800 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,108
Karma: 60231510
Join Date: Nov 2011
Location: Australia
Device: Kobo Aura H2O, Kindle Oasis, Huwei Ascend Mate 7
|
Couldn't resist. Debug log shows it successfully decrypted the key file and shows the ID and username strings used. It then failed in the course of decrypting the KFX-ZIP ebook. The message in the log is that it is decrypting the drm voucher before failing after 7.8 seconds.
I will get around to posting an issue on Github with an anonymised log from a pd title, but not today. |
![]() |
Advert | |
|
![]() |
#801 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,108
Karma: 60231510
Join Date: Nov 2011
Location: Australia
Device: Kobo Aura H2O, Kindle Oasis, Huwei Ascend Mate 7
|
I have just opened issue #1118 at Apprentice Harper's github which attaches a log of my attempt to add Kurt Vonnegut's 2 B R 0 2 B, a public domain e-book from Amazon US, to Calibre. The results were similar to what I posted above. I suspect Apprentice Sakuya's pull request is in fact getting the .kinf2018 file and deriving the key, but the algorithm the plugin uses for the actual decryption does not deal properly with the new format. My mediocre abilities with Python and cryptography generally are unsurprisingly exhausted at this point. We can only wait until someone with the appropriate skills has the time and inclination to take matters further. Thanks to Apprentice Sakuya for getting us this far.
|
![]() |
![]() |
#802 |
Member
![]() Posts: 11
Karma: 10
Join Date: Jan 2011
Device: Dell Axim, Sony PRS-300, Slick
|
It's odd. I'm finding the plugin works for some new books, and not others, all from the same publisher.
|
![]() |
![]() |
#803 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 776
Karma: 2475053
Join Date: May 2007
Device: Galaxy Tab A (2019) - iPhone 11 - KA1 - Onyx Boox Nova Pro
|
|
![]() |
![]() |
#804 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,075
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
|
![]() |
![]() |
#805 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,075
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
(Thanks to apprenticesakuya.) Last edited by jhowell; 06-11-2020 at 03:12 PM. |
|
![]() |
![]() |
#806 |
Member
![]() Posts: 18
Karma: 10
Join Date: Jun 2020
Device: ipad
|
I had problems installing the old Kindle version in my Mac. Because these links are not from Amazon, the file was quarantined and I had to use the xattr command in the terminal so I could open the file, see this link. Also, I'm not sure if this old kindle would run in Catalina (I am still using High Sierra).
|
![]() |
![]() |
#807 | |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,989
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
Quote:
[EDIT: But disabling KFX and using the right-click download option should work now, even for people who've never had a pre-1.25 Kindle for Mac installed.] Last edited by pdurrant; 06-12-2020 at 04:52 AM. |
|
![]() |
![]() |
#808 |
Laura
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,531
Karma: 23597272
Join Date: Nov 2009
Device: Kobo Sage, Kobo Elipsa, Nook Glowlight 4 Plus, Kindle Oasis 2
|
|
![]() |
![]() |
#809 | ||
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,828
Karma: 7943430
Join Date: Mar 2015
Device: Kindle, iOS
|
Quote:
![]() Quote:
![]() ![]() ![]() ![]() Last edited by odamizu; 06-12-2020 at 11:28 PM. |
||
![]() |
![]() |
#810 |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,828
Karma: 7943430
Join Date: Mar 2015
Device: Kindle, iOS
|
apprenticesakuya has added another commit on GitHub: "Support KFX VoucherEnvelope versions 2 and 3"
This commit is ion.py rather than kindlekey.py |
![]() |
![]() |
Tags |
k4pc, kindle for pc |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Handling KFX files in Calibre | HarryT | Conversion | 53 | 08-31-2018 03:21 AM |
Dealing with Kindle for PC/Mac 1.19 and KFX in calibre | BetterRed | Conversion | 0 | 02-08-2017 12:47 PM |
Dealing with Kindle ebooks in calibre | BetterRed | Devices | 0 | 02-06-2017 06:59 PM |
updated calibre with a little help for kfx format | cvkemp | Amazon Kindle | 0 | 10-06-2015 10:08 AM |
Dealing with Multiple Calibre libraries | samoanbiscuit | Calibre Companion | 4 | 08-27-2014 09:35 AM |