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

统一加解密服务 #12

Open
joymufeng opened this issue Jun 25, 2019 · 2 comments
Open

统一加解密服务 #12

joymufeng opened this issue Jun 25, 2019 · 2 comments
Labels

Comments

@joymufeng
Copy link
Contributor

目前用户激活和密码重置使用不同的加解密组件,应该进行统一。并且为了简化用户部署,秘钥在系统第一次启动时自动生成。

@readmagic
Copy link
Contributor

1、秘钥在启动时自动生成需要考虑部署之后两个秘钥不同,导致已经发送出去的确认地址无法使用的情况。
2、出于对表结构尽少改动的初衷,以最小改动实现功能。用户激活的激活码是随机生成之后存入库中,一次性消费,我觉得没必要存储,用户从邮箱直接点击得到的链接,就等于激活邮箱了。

@joymufeng
Copy link
Contributor Author

@readmagic 考虑的很周全 👍

@joymufeng joymufeng added the Todo label Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants