1
0
mirror of https://github.com/prirun/p50em.git synced 2026-03-10 12:18:24 +00:00
Jim fce85ba28e secure: update dongle handling:
- decrement hoursleft on each boot to prevent running very short Prime
  sessions that don't update the dongle; this allows removing of
  dongle_dtime (the last time the dongle was updated)

- only uses 1 dongle location (for hoursleft)

- maintain a checksum on dongle values to detect tampering

- encrypt hoursleft and the dongle checksum

- write random values in all other dongle locations

- validate dongle by asking it to encrypt random values; this requires
  that a copy of the dongle key is stored in the executable

- don't fail immediately: just set a status and keep going

- caller sets bad Prime keys and hands us the correct keys; we reset
  Prime keys before returning.  This makes it harder to bypass
  security by not calling it at all.
2012-07-02 17:45:45 -04:00
2012-06-09 17:56:11 -04:00
2011-11-15 14:01:58 -05:00
2012-07-02 17:45:45 -04:00
2011-11-15 14:01:58 -05:00
Description
Prime 50-Series Emulator
14 MiB
Languages
C 97.8%
Roff 1.7%
Python 0.3%
Makefile 0.2%