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

[core] update login protocol #2613

Merged
merged 62 commits into from
May 21, 2023
Merged

[core] update login protocol #2613

merged 62 commits into from
May 21, 2023

Conversation

StageGuard
Copy link
Member

@StageGuard StageGuard commented Apr 8, 2023

This PR will:

  • update wtlogin packet, add more tlv data.
  • move androidId field of DeviceInfo to main constructor.
  • implement QIMEI api from MiraiGO.
  • add multi-platform AES and RSA crypto required by QIMEI api.
  • analyze potential missing tlv data from login response packet after adding tlv.

@Him188 Him188 added this to the 2.15.0-RC milestone Apr 8, 2023
@sandtechnology
Copy link
Collaborator

另外请确认一下WtLogin15和WtLogin10工作正常(

@StageGuard StageGuard changed the title [core] update ANDROID_PHONE protocol [core] update login protocol Apr 11, 2023
@StageGuard StageGuard requested a review from Him188 April 13, 2023 10:55
@Him188
Copy link
Member

Him188 commented May 8, 2023

确实啊, dev info 感觉还是要直接重写比较好, 现在太难维护了

@cssxsh
Copy link
Contributor

cssxsh commented May 8, 2023

ANDROID_PAD 没有和 ANDROID_PHONE 一样更新到 8.9.35.10440

@StageGuard

…alizeToString` and `deserializeFromString` for replacement
@qfys521
Copy link

qfys521 commented May 8, 2023

确实啊, dev info 感觉还是要直接重写比较好, 现在太难维护了

支持(
话说有考虑过yaml吗(?

@Him188
Copy link
Member

Him188 commented May 8, 2023

没有, 我打算提供一个 DeviceInfo builder, 提供内置的 JSON string 序列化和反序列化, 弃用 serializer.
要使用 YAML, 可以自己通过 device info 公开的属性和 builder 写

@qfys521
Copy link

qfys521 commented May 8, 2023

没有, 我打算提供一个 DeviceInfo builder, 提供内置的 JSON string 序列化和反序列化, 弃用 serializer. 要使用 YAML, 可以自己通过 device info 公开的属性和 builder 写

好的,感谢回复。

@Him188
Copy link
Member

Him188 commented May 10, 2023

我准备先合这个, 之后再改 dev info

@Him188 Him188 self-requested a review May 10, 2023 13:00
@Him188 Him188 added the s:core 子系统: mirai-core label May 10, 2023
@Him188 Him188 added the z:ready-to-merge 状态: PR 已经可以合并, 正在等待一些安排 label May 20, 2023
@Him188 Him188 mentioned this pull request May 20, 2023
@Him188 Him188 merged commit 60d360b into mamoe:dev May 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s:core 子系统: mirai-core z:ready-to-merge 状态: PR 已经可以合并, 正在等待一些安排
Projects
None yet
Development

Successfully merging this pull request may close these issues.

可能需要再次更新登陆协议
6 participants