在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
楼主: nathan97

Getting syn@psys tools newer than 2018 to properly work

[复制链接]
发表于 2024-8-18 06:42:21 | 显示全部楼层
本帖最后由 joshua2784920 于 2024-8-18 10:05 编辑

This information has been known for a long time and was included in the README file of 1patch V0.3, which was released in 2021.
However, I am surprised by the many comments expressing gratitude, as it seems some were unaware of this.


Additionaly, you need to apply below patch command for the application using Java.

%  pubkey_verify_java -y


发表于 2024-8-27 19:17:41 | 显示全部楼层
它是否与Syn2023.09工作? 即使使用scl2024,我也遇到了麻烦
发表于 2024-9-16 06:24:31 | 显示全部楼层


farmat913144 发表于 2024-8-27 19:17
它是否与Syn2023.09工作? 即使使用scl2024,我也遇到了麻烦





It doesn't matter whether it's the scl2024 or scl2023 version.


% pubkey_verify -y
% synopsys_checksum -y  
% pubkey_verify_java -y

Although it is named pubkey_v1.6,

% pubkey_verify -h
Generic ECC patcher by tanker, v1.4, 2020-04
Type -h for more help..

This tool will search the current directory and its sub-dir for ECC, then patch it.
Also, it can search a single file by specifying the file name in the command line.

Usage: pubkey_verify [filename] [-y][-h][-r][-c][-v][-a PatchAddress][-d DisassembleAddress]

-y: Confirm patch within all target files.
-r: Revert patch from the patch_log.txt.
-h: Show this screen.
-v: Verbose mode.
-a PatchAddress: Directly patch the address (in HEX format).
-d DisassembleAddress: Directly disassemble the address (in HEX format).
-c Do not patch the PE file checksum (DEFAULT will patch).


The version named pubkey_v1.7 shows:

% pubkey -h
Generic ECC pubkey replacer by tanker, v1.70, 2009-10-31

This tool will search the current directory and its sub-dir for pubkeys.
Also, it can search a single file by specifying the file name in the command line.

Flexlm has 4 groups of pubkeys, SIGN(Group0), SIGN2(Group1), SIGN3(Group2), SIGN4(Group3). Currently, this tool supports 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 private keys are:
PriKey113=00B2452CBC7E72C13A395E6725CED9
PriKey163=021C8FA2E4B64F7A2CD20681B5D8F9F181064A8E17
PriKey239=03A05889D23022D8CA5EAC5933B369DC309BB68D24566023F08C11B8C2BA

NOTE: These key pairs can be generated by setting 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 have the same value as the first found file's pubkey (targets with 'diff pubkey' will not be replaced).
-f: Force replace all pubkeys with all targets, 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.



The pubkey_v1.7 package does not include synopsys_checksum or pubkey_verify_java.



点评

Thanks for your detailed response. The problem was solved!  发表于 2024-9-16 14:37
发表于 2024-9-16 09:39:11 | 显示全部楼层


joshua2784920 发表于 2024-9-16 06:24
It doesn't matter whether it's the scl2024 or scl2023 version.


could you please share the 1.7? Thanks!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /1 下一条


小黑屋| 手机版| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-11-8 17:52 , Processed in 0.017440 second(s), 7 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表