DSKeys

From Bohemia Interactive Community
Jump to navigation Jump to search
FileStruct
{
  Asciiz OFPEC_TAGG_Name;  //"mikero" eg
  Bytes  PubSig[24];
    OR   PrvSig[24];
  Bytes  data[528]; // v2 bisign 
    OR   data[260]; // v1 bisign 
    OR   data[128]; // Public BiKey 
    OR   data[576]; // private bikey
}
Bytes PublicSig[]=
{
   0x94,0x00,0x00,0x00,0x06,0x02,0x00,0x00,0x00,0x24,0x00,0x00, 
   'R',  'S','A', '1', 0x00,0x04,0x00,0x00,0x01,0x00,0x01,0x00
};
Bytes PrivateSig[]=
{ 
  0x54,0x02,0x00,0x00,0x07,0x02,0x00,0x00,0x00,0x24,0x00,0x00, 
  'R',  'S', 'A', '2',0x00,0x04,0x00,0x00,0x01,0x00,0x01,0x00
};
  • Author.bikey's are public
  • Author.privatebikey's are private
  • NameOf.pbo.Author.bisign are public (two versions)

DsCheckSignatures (and probably the MP engine too) does not check filenames. it reads *all* *.bikeys from wherever it can (eg root or ~expansions) and only checks the internal signames at that point. you can rename your bikey PinkElephants.bikey for all it matters.