sigchk

sign and check files using ed25519
git clone git://z3bra.org/sick
Log | Files | Refs | Submodules | README | LICENSE

commit 09c6666cc383a937651327a9a9e52bc0de7dbc92
parent 67bd6ecbe7f1baef450c7c0157dc1232f8396328
Author: z3bra <willyatmailoodotorg>
Date:   Wed Apr 27 12:43:50 2016

Use DEFAULT_ALIAS for the name of the default keys

Diffstat:
 sick.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sick.c b/sick.c @@ -229,7 +229,7 @@ main(int argc, char **argv) switch(action) { case ACTION_CHECK: - if (check(*argv, key ? key : "ed25519.pub") == 0) { + if (check(*argv, key ? key : DEFAULT_ALIAS ".pub") == 0) { puts(*argv); } break; @@ -237,7 +237,7 @@ main(int argc, char **argv) genkey(key); break; case ACTION_SIGN: - sign(*argv, key ? key : "ed25519.key"); + sign(*argv, key ? key : DEFAULT_ALIAS ".key"); break; default: usage(argv0);