View Single Post
Old 09-09-2010, 02:15 PM   #8
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by DiapDealer View Post
With Windows, the kindle.info file is created upon install and modified upon registration. It's encrypted (and unencrypted) using Windows' crypt32.dll library--which is responsible for basic Certificate and Cryptographic Messaging functions. I imagine the first step for a Mac solution would be finding the equivalent built-in cryptography library that is used for this same purpose.

EDIT: Which I'm guessing would have something to do with Mac's Keychain Services API.
I have decoded things on the Mac OSX side to the point where I have all of the correct CharMap1 through 4 strings identified (CharMap2 is different from its Windows counterpart) and so all I have to do is figure out how the data in the kindle_info file is encoded with the equivalent the Windows crypt32.dll side on the Mac.

It could be the Keychain services API (but no new keychain entry was added when Kindle4Mac was installed - I ma not sure if that means anything at all), but it could also be the OpenSSL library which has been statically linked into the executable.

I have looked but I can not figure it out.

I am beginning to think an "unswindle" style approach might be the way to move forward on the Kindle4Mac side of things.

Oh well,

KevinH
KevinH is offline   Reply With Quote