Difference between revisions of "Signature"

From PhatHack Wiki
Jump to navigation Jump to search
m (was missing space before one line of code)
m (Categorized page)
Line 1: Line 1:
  +
[[Category:Specs]]
 
The phatbox uses digital signatures all over the place -- to authenticate
 
The phatbox uses digital signatures all over the place -- to authenticate
 
# the DMS drive
 
# the DMS drive

Revision as of 17:58, 23 June 2005

The phatbox uses digital signatures all over the place -- to authenticate

  1. the DMS drive
  2. firmware images for the 8051
  3. pld images for the Xilinx chip
  4. executables
  5. playlists

Not much is known about these signatures, other than they are generated using an 1024-bit RSA key and are of variable length. (They probably also use a hash function such as MD5 or SHA-1, but it is unclear.

Here is what little can be said about their format:

struct signature {
  unsigned long int length; // in bits
  unsigned char data[];  // variable length
}

an example:

000000 0772 0000 a9a8 a4a9 051a 54a8 5465 1061     <--- length
000010 4464 5165 4120 8019 2041 2141 6545 6444
000020 2000 5954 9814 9101 9001 6545 4951 0200
000030 5595 4595 1560 4606 5094 1590 0491 1020
000040 4124 2112 0841 0941 1915 1205 5195 4521
000050 1152 0102 8416 0805 5904 0650 4518 1002
000060 9556 6510 1800 1801 1841 5810 0900 4165
000070 1161 5518 5559 9549 9444 6000 2005 4814
000080 1854 0600 1655 5180 8564 0805 4951 5841
000090 4841 0250 0190 0161 1460 1561 0464 5556
0000a0 0112 1556 6502 6114 2005 1185 0094 1594
0000b0 5524 1020 0521 4061 0525 0160 4124 5558
0000c0 1059 1012 9006 9414 6050 1644 5214 4645
0000d0 1645 4604 1204 1180 1449 4919 5805 6190
0000e0 2400 1190 1419 6549 5595 1160 0520 6019
0000f0 a000 0002