safe

Password protected secret keeper
git clone git://git.z3bra.org/safe.git
Log | Files | Refs | README | LICENSE

commit 0fb5e8f423c445645c04d3b39e80041764482a79
parent f166dae60fac29e8696634488db86856ecf1e35b
Author: Willy Goiffon <dev@z3bra.org>
Date:   Tue,  4 Jun 2019 17:02:12 +0200

Remove unneeded comment

Diffstat:
safe.c | 5-----
1 file changed, 0 insertions(+), 5 deletions(-)

diff --git a/safe.c b/safe.c @@ -341,14 +341,9 @@ main(int argc, char *argv[]) if (fd < 0) err(1, "%s", secret); - /* - * Generate random salt and write it at the beginning - * of our secret file - */ randombytes_buf(s.salt, sizeof(s.salt)); xwrite(fd, s.salt, sizeof(s.salt)); deriv((char *)passphrase, &s); - writesecret(&s, STDIN_FILENO, fd); close(fd); } else {