htpasswd: implement sha256 and sha512 algorithms #2

Merged
amery merged 1 commits from pr-karasz-shas into master 2 years ago
karasz commented 2 years ago
Owner

Signed-off-by: Nagy Károly Gábriel [email protected]

Signed-off-by: Nagy Károly Gábriel <[email protected]>
karasz added 1 commit 2 years ago
karasz requested review from amery 2 years ago
amery reviewed 2 years ago
case HashSHA512:
return verifySHA512(pass, hash)
}
return fmt.Errorf("unsupported hash algorithm %v", alg)
amery commented 2 years ago
Owner

default:?

`default:`?
amery approved these changes 2 years ago
amery left a comment
Owner

it looks to me as if code could be greatly reduced by using the interfaces, but +1

it looks to me as if code could be greatly reduced by using the interfaces, but +1
amery merged commit c2737bef29 into master 2 years ago
amery deleted branch pr-karasz-shas 2 years ago

Reviewers

amery approved these changes 2 years ago
The pull request has been merged as c2737bef29.
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
There is no content yet.