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

sql: it's not possible to clear a user's password #43891

Closed
knz opened this issue Jan 11, 2020 · 0 comments · Fixed by #43892
Closed

sql: it's not possible to clear a user's password #43891

knz opened this issue Jan 11, 2020 · 0 comments · Fixed by #43892
Labels
A-security A-sql-pgcompat Semantic compatibility with PostgreSQL C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)

Comments

@knz
Copy link
Contributor

knz commented Jan 11, 2020

  • today it's not possible to remove a user's password after it was set
  • it's useful to clear a user's password because this is a sure way to enforce they authenticate using client certificates
  • pg allows this with ALTER USER [WITH] PASSWORD NULL

This should be supported in crdb as well.

@knz knz added C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) A-sql-pgcompat Semantic compatibility with PostgreSQL A-security labels Jan 11, 2020
@craig craig bot closed this as completed in e72274f Jan 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-security A-sql-pgcompat Semantic compatibility with PostgreSQL C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant