Skip to content

security,*: extend CheckPasswordHashValidity to return a GH issue number (scram 1/10)#74841

Merged
craig[bot] merged 1 commit intomasterfrom
20211228-scram1
Jan 21, 2022
Merged

security,*: extend CheckPasswordHashValidity to return a GH issue number (scram 1/10)#74841
craig[bot] merged 1 commit intomasterfrom
20211228-scram1

Conversation

@knz
Copy link
Copy Markdown
Contributor

@knz knz commented Jan 14, 2022

(PR peeled away from #74301; next PR in series: #74842)

This makes it clear what is not supported if the user requires a md5 hash.

Release note: None

@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@knz knz changed the title wip wip1 Jan 14, 2022
@knz knz force-pushed the 20211228-scram1 branch from a5ceaca to 400a550 Compare January 14, 2022 10:31
@knz knz changed the title wip1 security,*: extend CheckPasswordHashValidity to return a GH issue number Jan 14, 2022
@knz knz requested review from cameronnunez and rafiss January 14, 2022 10:31
@knz knz marked this pull request as ready for review January 14, 2022 10:35
@knz knz requested review from a team January 14, 2022 10:36
@knz knz changed the title security,*: extend CheckPasswordHashValidity to return a GH issue number security,*: extend CheckPasswordHashValidity to return a GH issue number (scram 1/10) Jan 14, 2022
Copy link
Copy Markdown
Collaborator

@rafiss rafiss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @cameronnunez and @knz)


pkg/sql/create_role.go, line 268 at r1 (raw file):

		var isPreHashed, schemeSupported bool
		var schemeName string
		var issueLink int

nit: this could be named issueNum also

@knz knz force-pushed the 20211228-scram1 branch from 400a550 to fe64745 Compare January 15, 2022 12:38
Copy link
Copy Markdown
Contributor Author

@knz knz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @cameronnunez)


pkg/sql/create_role.go, line 268 at r1 (raw file):

Previously, rafiss (Rafi Shamim) wrote…

nit: this could be named issueNum also

Done.

@knz
Copy link
Copy Markdown
Contributor Author

knz commented Jan 19, 2022

NB: I'm holding off merging this PR until all the PRs in the sequence are ready (otherwise, the entire chain will be auto-closed by github).

@knz knz force-pushed the 20211228-scram1 branch 2 times, most recently from 2e15fac to e78e1a3 Compare January 20, 2022 12:22
This makes it clear what is not supported if the user requires a md5 hash.

Release note: None
@knz knz force-pushed the 20211228-scram1 branch from e78e1a3 to fc9da9a Compare January 21, 2022 00:00
@craig craig bot merged commit fc9da9a into master Jan 21, 2022
@craig craig bot deleted the 20211228-scram1 branch January 21, 2022 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants