Author Topic: How do apps work?  (Read 10730 times)

0 Members and 1 Guest are viewing this topic.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: How do apps work?
« Reply #30 on: March 25, 2011, 02:56:13 pm »
I don't really even understand how the signing works, so I don't really get what would have to be done to sign an app on calc. Why would anything ever need to use 512 bit numbers except for high decimal precision?

You can't sign on-calc. Software like RabbitSign are used to sign an app after it's assembled on a computer. Signing an app basically makes it "valid" to the calculator, which checks the 512-bit signature to see if it's valid or not. If it's not valid, the app gets deleted after a certain number of runs (like a "trial" app).




Ashbad

  • Guest
Re: How do apps work?
« Reply #31 on: March 25, 2011, 02:57:48 pm »
What about DuckSign by Floppus/thepenguin77? ;D (forgot which one made it -- it signs apps on calc)

Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Re: How do apps work?
« Reply #32 on: March 25, 2011, 03:00:04 pm »
Ducksign lets you send applications from one calc to another (unsigned apps will refuse to do so), but the expiration count will still exist unless Axe changes or unless you sign in on the computer.
My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: How do apps work?
« Reply #33 on: March 25, 2011, 03:16:15 pm »
No, I know there was a program to sign apps on calc, I just can't find it.

Offline FloppusMaximus

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 290
  • Rating: +57/-5
    • View Profile
Re: How do apps work?
« Reply #34 on: March 26, 2011, 12:09:14 am »
That was me. :)  And, no, it doesn't take 10 minutes, it takes less than one minute for normal-sized apps.

See http://ourl.ca/7447/149857

Ducksign lets you send applications from one calc to another (unsigned apps will refuse to do so), but the expiration count will still exist unless Axe changes or unless you sign in on the computer.
That's also not entirely correct.  DuckSign signs the application; once it's signed, it's perfectly valid, just as if you signed it using RabbitSign or Wappsign or whatever.

The expiration count is not part of the application; it's something that's set by the OS as part of the normal installation process (I don't remember whether it's set at the beginning or end of the transfer, but anyway...)  And it doesn't have anything directly to do with app signatures.  If you write an application directly into Flash - regardless of whether or not it's signed - without also setting the expiration count, the app will expire after 16 runs.

As far as Axe goes, I believe Quigibo has said that he doesn't want to do this in Axe because of the risk of corrupting the calculator certificate.
« Last Edit: March 26, 2011, 12:33:24 am by FloppusMaximus »

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: How do apps work?
« Reply #35 on: March 26, 2011, 11:19:17 am »
Oh yeah, I forgot that directly modifies the calc's certificate.  I remember freaking out when I was told how often TI does that.