Skip to content

Commit

Permalink
Merge pull request NixOS#1304 from stigtsp/crypt-passphrase-argon2-ou…
Browse files Browse the repository at this point in the history
…tput-len

Set output length of C::P::Argon2 hashes to 16
  • Loading branch information
dasJ authored Oct 20, 2023
2 parents c1a5ff3 + 6a5fb9e commit 33f8a36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/Hydra/Schema/Result/Users.pm
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ sub json_hint {

sub _authenticator() {
my $authenticator = Crypt::Passphrase->new(
encoder => 'Argon2',
encoder => { module => 'Argon2', output_size => 16 },
validators => [
(sub {
my ($password, $hash) = @_;
Expand Down

0 comments on commit 33f8a36

Please sign in to comment.