Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 06-04-2008, 11:32 AM   #1
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
Mobigen (KindleCreator) for Linux now available

As Hadrian first posted, MobiPocket has release an alpha of mobigen for Linux. See the Mobipocket Developer Center.

I have not tried it on ebooks yet, but running mobigen_linux with no arguments returns:
Quote:
*************************************
* Kindle Creator V6.01 build 41 *
* Copyright Amazon.com 2003-2007 *
*************************************

Usage : KindleCreator filename.opf/.htm/.html/.epub [-lowpriority] [-nomin] [-c0 or -c1 or c2] [-s0 or -s1 or -s2] [-kindle] [-vouchers=n] [-nocopypaste] [-rebuild] [-onlydeps or -nodeps] [-unicode]
Options:
-c0: no compression
-c1: standard DOC compression
-c2: Mobipocket huffdic compression
-v0: quiet mode
-v1: verbose level one (default)
-v : maximum verbose level
-s0: no security
-s1: encrypted content
-s2: PID secured (retargetable) Mobipocket ebook
-kindle: syntax checking for compatibility with the kindle
-vouchers=n: [by default] use DRM v2 with n vouchers (min = 6).
-nocopypaste: does not allow any copy paste of content in Reader
-nomin: do not minimize version
-rebuild: rebuilds all dependencies
-onlydeps: build only needed dependencies
-nodeps: do not check/build dependencies
-unicode: force build of Unicode book
-lowpriority: set the PRCGEN thread priority to low (background build)
-releasenotes: display release notes
-gif: images are converted to GIF format (no JPEG in the book)
I wonder if Amazon is using Linux servers for their conversions. Does this also work under OSX?
wallcraft is offline   Reply With Quote
Advert
Old 06-04-2008, 01:24 PM   #2
igorsk
Wizard
igorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfolded
 
Posts: 3,442
Karma: 52235
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
Nope, it's purely for Linux (x86).
igorsk is offline   Reply With Quote
Old 06-04-2008, 02:44 PM   #3
Roady
Junior Member
Roady began at the beginning.
 
Posts: 2
Karma: 29
Join Date: Jun 2008
Device: Kindle
Talking

Interesting stuff in there with just a quick glance.

They don't even try to obfuscate it, they even gently give pirates all the information they need .

Pretty careless IHMO.

Code:
.rodata:081C9BC3                 public INTERNAL_PUBLISHER_KEY
.rodata:081C9BC3 INTERNAL_PUBLISHER_KEY db xxh, xxh, xxh, xxh, xxh, xxh, 

.rodata:081C9BD3                 public INTERNAL_READER_KEY
.rodata:081C9BD3 INTERNAL_READER_KEY db 72h, 38h, xxh, xxh, xxh, xxh, xxh, xxh, xxh, xx
People who have used drmmobi will recognize these stuff.
Roady is offline   Reply With Quote
Old 06-04-2008, 08:56 PM   #4
foozywoozy
Junior Member
foozywoozy began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2008
Device: PocketPC
Quote:
Originally Posted by Roady View Post
Interesting stuff in there with just a quick glance.

They don't even try to obfuscate it, they even gently give pirates all the information they need .
Wow! Does this mean that there is a single master PID for all Mobipocket files? If so, what is it??

I notice that Mobipocket has already pulled the download from their site, so they must have found the vulnerability as well!
foozywoozy is offline   Reply With Quote
Old 06-05-2008, 08:17 AM   #5
igorsk
Wizard
igorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfolded
 
Posts: 3,442
Karma: 52235
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
Quote:
Originally Posted by foozywoozy View Post
Wow! Does this mean that there is a single master PID for all Mobipocket files?
I don't think so. As far as I understand it, the keys mentioned are used as a temporary PID when making the initial file to send to Mobipocket for distribution. When file is sent to the buyer, it's personalized with his own PID.
igorsk is offline   Reply With Quote
Advert
Old 06-05-2008, 09:10 AM   #6
Roady
Junior Member
Roady began at the beginning.
 
Posts: 2
Karma: 29
Join Date: Jun 2008
Device: Kindle
As far as I understood, each DRMed Mobipocket file is encrypted with a unique media key.

This media key is then encrypted for each authorized device with a secret device key that is derived from the PID.

INTERNAL_READER_KEY is basically all you need to derive the device key from the PID if I read drmmobi correctly.

Therefore I don't understand that all the mobipocket generators (not only the one they removed) have this value in clear without protection. The Linux software even had all the debugging information including naming of these variables and of the function that use them.
Roady is offline   Reply With Quote
Old 06-05-2008, 10:04 AM   #7
Nate the great
Sir Penguin of Edinburgh
Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.
 
Nate the great's Avatar
 
Posts: 11,665
Karma: 14072257
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
Quote:
Originally Posted by Roady View Post
As far as I understood, each DRMed Mobipocket file is encrypted with a unique media key.

This media key is then encrypted for each authorized device with a secret device key that is derived from the PID.

INTERNAL_READER_KEY is basically all you need to derive the device key from the PID if I read drmmobi correctly.

Therefore I don't understand that all the mobipocket generators (not only the one they removed) have this value in clear without protection. The Linux software even had all the debugging information including naming of these variables and of the function that use them.
Really? Damn, I wish I'd gotten a copy when it was available.
Nate the great is offline   Reply With Quote
Old 06-06-2008, 12:47 PM   #8
Nate the great
Sir Penguin of Edinburgh
Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.
 
Nate the great's Avatar
 
Posts: 11,665
Karma: 14072257
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
Can someone send me a copy? There are a couple new features we want to add to the ebook upload section.
Nate the great is offline   Reply With Quote
Old 06-06-2008, 01:33 PM   #9
IceHand
Linux User
IceHand is a rising star in the heavensIceHand is a rising star in the heavensIceHand is a rising star in the heavensIceHand is a rising star in the heavensIceHand is a rising star in the heavensIceHand is a rising star in the heavensIceHand is a rising star in the heavensIceHand is a rising star in the heavensIceHand is a rising star in the heavensIceHand is a rising star in the heavensIceHand is a rising star in the heavens
 
IceHand's Avatar
 
Posts: 323
Karma: 13682
Join Date: Aug 2007
Location: Germany
Device: Kindle 3
Quote:
Originally Posted by Nate the great View Post
Can someone send me a copy? There are a couple new features we want to add to the ebook upload section.
I've send you a copy via PM.
IceHand is offline   Reply With Quote
Old 06-06-2008, 01:45 PM   #10
Nate the great
Sir Penguin of Edinburgh
Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.
 
Nate the great's Avatar
 
Posts: 11,665
Karma: 14072257
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
Thank you.
Nate the great is offline   Reply With Quote
Old 06-06-2008, 02:11 PM   #11
cstross
Cynic
cstross will become famous soon enoughcstross will become famous soon enoughcstross will become famous soon enoughcstross will become famous soon enoughcstross will become famous soon enoughcstross will become famous soon enough
 
Posts: 83
Karma: 514
Join Date: Jul 2007
Location: Edinburgh, Scotland
Device: iPhone 4, Kindle 3
The kindle file generator is still available; I grabbed a fresh copy half an hour ago. Looks like nobody noticed after all.
cstross is offline   Reply With Quote
Old 06-06-2008, 02:13 PM   #12
Nate the great
Sir Penguin of Edinburgh
Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.Nate the great ought to be getting tired of karma fortunes by now.
 
Nate the great's Avatar
 
Posts: 11,665
Karma: 14072257
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
Can you provide a link? The Linux version of Mobigen is still down.
Nate the great is offline   Reply With Quote
Old 06-06-2008, 02:42 PM   #13
delphidb96
Wizard
delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.
 
Posts: 2,999
Karma: 300001
Join Date: Jan 2007
Location: Citrus Heights, California
Device: TWO Kindle 2s, one each Bookeen Cybook Gen3, Sony PRS-500, Axim X51V
Quote:
Originally Posted by Nate the great View Post
Can you provide a link? The Linux version of Mobigen is still down.
What Nate asked, please!

Derek
delphidb96 is offline   Reply With Quote
Old 06-06-2008, 05:00 PM   #14
cstross
Cynic
cstross will become famous soon enoughcstross will become famous soon enoughcstross will become famous soon enoughcstross will become famous soon enoughcstross will become famous soon enoughcstross will become famous soon enough
 
Posts: 83
Karma: 514
Join Date: Jul 2007
Location: Edinburgh, Scotland
Device: iPhone 4, Kindle 3
That's interesting ...

... Damn. My download file turns out to be a 404 page.

cstross is offline   Reply With Quote
Old 06-09-2008, 07:36 PM   #15
rustak
Junior Member
rustak began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2008
Device: Kindle
Argh, saw this too late -- would love to be able to stop using wine for my own docs, and they seem to have yanked the download. Anyone still have a copy handy?
rustak is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Old Version Mobigen needed wilko10 Kindle Formats 11 11-25-2008 09:10 PM
Mobigen filesize smaller when using Mobigen instead of Creator? pvdv Kindle Formats 3 03-06-2008 03:28 PM
Does someone still have Mobigen 6.01 build 37? IceHand Kindle Formats 7 03-03-2008 06:04 PM
html2mobi (a mobigen replacement written in Perl) tompe Kindle Formats 89 02-12-2008 01:33 PM
MobiPocket TOC using mobigen wallcraft Reading and Management 4 12-07-2007 10:45 AM


All times are GMT -4. The time now is 07:03 AM.


MobileRead.com is a privately owned, operated and funded community.