Generic ECC pubkey replacer by tanker, v1.70
这个工具只提供缺省的pubkey,但是如果要替换成别的怎么做呢?很困惑啊!期望高人指点!
下面的是它的帮助说明。
This tool will search the current directory and its sub-dir for pubkeys.
Also it can search a single file by specify the file name in the command line.
Flexlm has 4 groups pubkeys, SIGN(Group0), SIGN2(Group1), SIGN3(Group2), SIGN4(Group3). Currently, this tool support 2 groups pubkeys search&replace(SIGN,SIGN2)
Group 0: 113b, 163b, 239b;
Group 1: 113b, 163b, 239b;
This tool will replace the above pubkeys with the default pubkeys(both for Group0 and Group1):
PubKey113=0301CD7EEC4F18635E9E1FDDB3442353
PubKey163=02066A35C6F9EE2DC6EEE7D4529B4AC00FB30A372EA6
PubKey239=02026FDFCFAF73DFBBC6D2A580202CB4587FF1D27891D4D6D0EC601CB3F1A4
And the corresponding prikeys are:
PriKey113=00B2452CBC7E72C13A395E6725CED9
PriKey163=021C8FA2E4B64F7A2CD20681B5D8F9F181064A8E17
PriKey239=03A05889D23022D8CA5EAC5933B369DC309BB68D24566023F08C11B8C2BA
NOTE: These key pairs can be generated by set LM_SEEDs in your lm_code.h:
#define LM_SEED1 0x11111111
#define LM_SEED2 0x22222222
#define LM_SEED3 0x33333333
Options:
-d daemon: Set the vendor daemon to "daemon", you must specify a vendor daemon to make the tool work.
-y: Replace pubkeys which has the same value with the first found file's pubkey(target with 'diff pubkey' will not be replaced).
-f: Force replace all pubkey with all target, ignore the diff pubkey warnings.
-s x: Replace only pubkeys with the strength 'x', x should be 0,1,2,3,4,5,100(default). 0=Group0 113b, 1=Group0 163b, 2=Group0 239b, 3=Group1 113b, 4=Group1 163b, 5=Group1 239b, 100=all pubkeys.
-a: Show decoded pubkeys.
-h: Show this screen.
This tool will replace the above pubkeys with the default pubkeys(both for Group0 and Group1):
PubKey113=0301CD7EEC4F18635E9E1FDDB3442353
PubKey163=02066A35C6F9EE2DC6EEE7D4529B4AC00FB30A372EA6
PubKey239=02026FDFCFAF73DFBBC6D2A580202CB4587FF1D27891D4D6D0EC601CB3F1A4
And the corresponding prikeys are:
PriKey113=00B2452CBC7E72C13A395E6725CED9
PriKey163=021C8FA2E4B64F7A2CD20681B5D8F9F181064A8E17
PriKey239=03A05889D23022D8CA5EAC5933B369DC309BB68D24566023F08C11B8C2BA
NOTE: These key pairs can be generated by set LM_SEEDs in your lm_code.h: #define LM_SEED1 0x11111111
#define LM_SEED2 0x22222222
#define LM_SEED3 0x33333333