aboutsummaryrefslogtreecommitdiff
path: root/genpass.pl
diff options
context:
space:
mode:
authorMiquel Lionel <lionel@les-miquelots.net>2021-06-06 15:32:41 +0100
committerMiquel Lionel <lionelmiquel@sfr.fr>2021-06-06 15:32:41 +0100
commitbfe2259a237215da3dc43f0bfc9563e1d43f943f (patch)
tree6304628aa24b161683fa38cd27f0f6509f8f61d0 /genpass.pl
parent10231a07a1ea47f6de56a468dd1daa2068ae50ae (diff)
downloadgpigeon-bfe2259a237215da3dc43f0bfc9563e1d43f943f.tar.gz
gpigeon-bfe2259a237215da3dc43f0bfc9563e1d43f943f.zip
a more verbose makefile and explicative readme.
- also genpass.pl didn't need a newline when priting argon2id hash
Diffstat (limited to 'genpass.pl')
-rwxr-xr-xgenpass.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/genpass.pl b/genpass.pl
index f7e6488..44b0f53 100755
--- a/genpass.pl
+++ b/genpass.pl
@@ -5,5 +5,5 @@ use Crypt::Argon2 qw/argon2id_pass/;
my $pass = `openssl rand -base64 32`;
my $salt = `openssl rand 16`;
chomp $pass;
-print "$pass\n";
-print argon2id_pass($pass, $salt, 3, '32M', 1, 32),"\n";
+print $pass,"\n";
+print argon2id_pass($pass, $salt, 3, '32M', 1, 32);