![]() |
#1 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12
Karma: 25452
Join Date: Jun 2012
Device: kindle touch
|
ACX, as requested...
As requested, here's some of what I know about acx files.
acx is a zip, unzip it and looks just like waf (maybe with more hooks into amazon's system than I've seen in waf examples. Of course, waf is pretty much html5 with extra js apis for amazon. The signature looks like xmlsec, which I'm just getting into. Once I've got that work out, I can play for real. I suspect a nice thing to do for ourselves is to just sign index.html with a link to an unsigned js file, then in the js file load whatever else you want and don't bother with the signing anymore (at least for hacking) - I don't think there's anyway for the system to know that's happening, but we'll see. There used to (5.1) be a reader_plugins.xml where you could I suppose add your own, but it's gone. So I'm going to hijack another plugin and go from there (don't need wikipedia lookups, for instance). Gotta go. Will post more as I find it. PS Anyone who's already fiddled with signing xml or even acx, pls hop in. It's not really the fun part... but it's needed to get things working. |
![]() |
![]() |
![]() |
#2 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12
Karma: 25452
Join Date: Jun 2012
Device: kindle touch
|
Errr, no. Forgot about the little point of confusion there.
acx as in reader plugins, /opt/amazon/acw/*.acx. Someone named eureka asked at the end of jbpatch discussion to dump what I'd got so far. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Thanks for response. I really appreciate it. Documentation about ACX (which stands for Active Content Extensions) could really improve developing experience, as they are much easier to poke with than reader's Java code.
BTW, ACX are in fact W3C Widgets (there is also doc on signing at the linked page). reader_plugins.xml is embedded in /opt/amazon/ebook/lib/ReaderSDK-impl.jar in new firmwares. UPD: another doc about Widget's signing. Amazon's keys are stored in /opt/amazon/ebook/security/keystore_mesquite.xml. I guess, you should add your own key to that file to be able to sign widgets. UPD2: another one doc Last edited by eureka; 02-26-2013 at 04:19 AM. |
![]() |
![]() |
![]() |
#4 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
OH, boy - a another kind of "Dev. Certs" - -
![]() Let it be a test of our readers on how well they are keeping up with changes. |
![]() |
![]() |
![]() |
#5 | |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12
Karma: 25452
Join Date: Jun 2012
Device: kindle touch
|
Quote:
Incidentally, where are the private keys for that? Is the password "password"? It's what I would choose :-) |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
I know something about signing Kindle_Touch_ACX.
But wait (a day or two), howto is missing ATM, I'm just teasing... |
![]() |
![]() |
![]() |
#7 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12
Karma: 25452
Join Date: Jun 2012
Device: kindle touch
|
Oh, very cool!
This will make my kindle much more fun! |
![]() |
![]() |
![]() |
#8 |
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Wiki page had been updated.
|
![]() |
![]() |
![]() |
#9 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
if I knew a more awesome word than awesome I would use that one...
Awesomer!!! |
![]() |
![]() |
![]() |
#10 |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
eureka, you seriously ROCK!
![]() Fantastic work!!! Unfortunately, I probably won't have the time to look into this in the near future. But I'll still post this request: Please make available one "standard" signing keypair, and encourage everyone to use it from the start. It's exactly the same fundamental problem as with the jailbreak or the Kindlet developer keys. We have to settle on (ideally) a single keypair which everybody can use to develop, and which users can install to run (any) custom software published here. If every developer creates his own keypair instead of using the common one, we'll be in the same configuration hell that we've previously been in with the Kindlets. IMHO, now -- i.e., before people actually start developing -- is the only chance to "standardize" ACX development and deployment (at least in terms of the required certificates/keys), so please do it. |
![]() |
![]() |
![]() |
#11 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
I will happily embed the keys in kual-system for all to use. cheers
|
![]() |
![]() |
![]() |
#12 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
I smell google translate....
|
![]() |
![]() |
![]() |
#13 | ||
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
Quote:
![]() But I'd like to add some recommendations:
|
||
![]() |
![]() |
![]() |
#15 | |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,016
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
Quote:
I don't know about PKCS#12, but FWIW I needed to use "password" for the java keystore, some Unix tools would refuse to work when the password is null. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
General Recipe Help Requested | ACheshireCat | Recipes | 1 | 01-09-2013 04:29 AM |
Have you requested/gotten a replacement Paperwhite? | jswinden | Amazon Kindle | 103 | 10-11-2012 11:35 PM |
Wording help requested :) | VydorScope | Writers' Corner | 20 | 11-20-2011 09:17 AM |
Removing Headers help requested | Arainais | Calibre | 9 | 01-16-2011 05:03 PM |
Seriously thoughtful Coding Help Requested | poohbear_nc | Lounge | 10 | 08-24-2010 10:42 AM |