Skip to content

[feat] fetch ECDH key from key rotate server by HTTPS #21

Description

@xtexx

看起来rs-qq并没有从keyrotate服务器获取密钥的实现?

QQ(oicq.wtlogin.tools.e)会从https://keyrotate.qq.com/rotate_key?cipher_suite_ver=305&uin=${uin}获取指定用户的ECDH密钥并使用,QuerySpan为按秒计算的有效期。

Mirai实现:EcdhInitialPublicKeyUpdater.kt#L80
MiraiGo实现:crypto.go?L52

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions