DSKeys: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
 
(update)
 
(One intermediate revision by one other user not shown)
Line 5: Line 5:
     OR  PrvSig[24];
     OR  PrvSig[24];
   Bytes  data[528]; // v2 bisign  
   Bytes  data[528]; // v2 bisign  
     OR  data[128]; // v1 bisign  
     OR  data[260]; // v1 bisign  
     OR  data[260]; // Public .BiKey  
     OR  data[128]; // Public BiKey  
     OR  data[576]; // privatebikey
     OR  data[576]; // private bikey
  }
  }
  Bytes PublicSig[]=
  Bytes PublicSig[]=
Line 25: Line 25:


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.
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.
[[Category:BIS_File_Formats]]

Latest revision as of 06:07, 18 November 2013

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.