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

如何对存在nacos mysql库里的user表里nacos控制台密码进行反解密? #12370

Closed
DeBruyne2020 opened this issue Jul 18, 2024 · 3 comments
Labels
kind/question Category issues related to questions or problems

Comments

@DeBruyne2020
Copy link

请教下老师:
现在想获取nacos的控制台密码,好像只可能从mysql库里查询,但是,我试了一下使用nacos的加密方式对密码进行加密,每次生成的密码不一样,所以想问下老师们 有没有办法对存在nacos mysql库的nacos控制台密码(user表里的密码)进行反解密?

@DeBruyne2020 DeBruyne2020 changed the title 如何对存在nacos mysql库的nacos控制台密码进行反解密? 如何对存在nacos mysql库里的user表里nacos控制台密码进行反解密? Jul 18, 2024
@HMYDK
Copy link
Contributor

HMYDK commented Jul 18, 2024

控制台更新密码不行嘛?为啥要去数据库解密😼

@DeBruyne2020
Copy link
Author

控制台更新密码不行嘛?为啥要去数据库解密😼

老师 就是不希望更新, 只是单纯要查看,要比对

@KomachiSion
Copy link
Collaborator

BCrypt不支持反解密的, 因为是加盐加密算法, 只能通过Bcrypt的match方法,进行比对。

@KomachiSion KomachiSion added the kind/question Category issues related to questions or problems label Jul 18, 2024
@KomachiSion KomachiSion closed this as not planned Won't fix, can't repro, duplicate, stale Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Category issues related to questions or problems
Projects
None yet
Development

No branches or pull requests

3 participants