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

Allow regenerating credentials #56

Open
cnweaver opened this issue Mar 23, 2022 · 0 comments
Open

Allow regenerating credentials #56

cnweaver opened this issue Mar 23, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@cnweaver
Copy link
Collaborator

Following a suggestion by Alex Pace:

We should support generating a new SCRAM credential to replace an existing one, replacing the password, hash, etc. but keeping the same permissions (and probably name). We currently support suspending credentials which are suspected to be compromised, allowing them to be examined without destroying their permission information, but we currently can only un-suspend a credential (if the security team decides it is in fact not a concern) or delete it. Allowing the user to regenerate it should be another option. (Regeneration of a suspended credential should perhaps not immediately remove the suspension status, in case of compromised SSO credentials, however.)

A possible concern is that an attacker who has a valid user's SSO credentials could regenerate a SCRAM credential, disabling the legitimate user's use of the old value, and enabling the attacker to use the new value. However, this does not seem to add much to the way that such an attacker could already delete an existing credential, and generate a new one. The credential name would not be the same, and permissions would have to be manually re-added, but there seems to be little qualitative difference.

@cnweaver cnweaver added the enhancement New feature or request label Mar 23, 2022
@cnweaver cnweaver self-assigned this Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant