Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

authkey解析时候的saltlen的获取逻辑 #68

Open
huma8848888 opened this issue Jul 6, 2020 · 1 comment
Open

authkey解析时候的saltlen的获取逻辑 #68

huma8848888 opened this issue Jul 6, 2020 · 1 comment

Comments

@huma8848888
Copy link

huma8848888 commented Jul 6, 2020

经过测试,发现在证书链格式的ask秘钥中,部分手机会在authkey的秘钥字段中带上"rsa_pss_saltlen"字段,但是有些手机即便是采用了证书链格式的ask但是在authkey中却没有"rsa_pss_saltlen"字段,请问官方,这个rsa_pss_saltlen是固定的key吗?如果没有这个字段,saltlen是采用默认的20还是采用什么值来解析?发现rsa_pss_saltlen的是华为手机
并且还发现华为手机在最终验证阶段的info里会带上bo_t,这个字段是干什么用的,和加解密有关系吗?

@liuxb-tofu
Copy link
Collaborator

有saltlen优先用saltlen,没有的话就是20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants