DSKeys

From Bohemia Interactive Community
Revision as of 06:42, 2 May 2011 by Mikero (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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[128]; // v1 bisign 
    OR   data[260]; // Public .BiKey 
    OR   data[576]; // privatebikey
}
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.