awesome-python-login-model
awesome-python-login-model copied to clipboard
[Security] Using PKCS1_v1_5 is dangeorus.
Hi, while I'm reviewing your code, I noticed that you're using algorithm PKCS1_v1_5 on encryption.
https://github.com/Kr1s77/awesome-python-login-model/blob/b458a09bf5542b52784bbba9861c4f3a82b2e45d/baidu/util.py#L11-L15
According to RFC 8017, PKCS_v1_5 is not recommended anymore, instead PKCS1_OAEP is recommended.
Update for this would be significantly helpful to security. We would appreciate it if you could review the code and proceed with the update if it is deemed insecure.
Thank you.