Skip to content

安全加密模式下有2个bug #5

@sjava

Description

@sjava

139行:current_app['WECHAT_AES_KEY'],应该是current_app.config['WECHAT_AES_KEY']
解密消息也有错:raw_msg = crypto.decrypt_message(
raw_msg,
signature,
timestamp,
nonce
)
不应该是signature,应该是msg_signature = request.args.get('msg_signature', '')
raw_msg = crypto.decrypt_message(
raw_msg,
msg_signature,
timestamp,
nonce
)

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