summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Urech <joeltobias.urech@students.bfh.ch>2023-06-26 20:01:17 +0200
committerJoel Urech <joeltobias.urech@students.bfh.ch>2023-06-26 20:01:17 +0200
commite367b7a38aba13b517741229d2580fa647775f49 (patch)
tree805df8772e91580a43b656084c466b71f937dc1f
parent7bc0be0d2412f70dd1c169a889be106026223152 (diff)
downloadfrosix-e367b7a38aba13b517741229d2580fa647775f49.tar.gz
frosix-e367b7a38aba13b517741229d2580fa647775f49.tar.bz2
frosix-e367b7a38aba13b517741229d2580fa647775f49.zip
rename frosix-reducer to frosix-cli
-rw-r--r--src/cli/Makefile.am8
-rw-r--r--src/cli/frosix-cli.c (renamed from src/cli/frosix-cli-redux.c)0
-rwxr-xr-xsrc/cli/test-frosix.sh6
3 files changed, 7 insertions, 7 deletions
diff --git a/src/cli/Makefile.am b/src/cli/Makefile.am
index d1692cd..436fd09 100644
--- a/src/cli/Makefile.am
+++ b/src/cli/Makefile.am
@@ -2,7 +2,7 @@
AM_CPPFLAGS = -I$(top_srcdir)/src/include -I$(top_srcdir)/src/libfrosix
bin_PROGRAMS = \
- frosix-reducer
+ frosix-cli
check_SCRIPTS = \
test-frosix.sh
@@ -12,9 +12,9 @@ AM_TESTS_ENVIRONMENT=export FROSIX_PREFIX=$${FROSIX_PREFIX:-@libdir@};export PAT
TESTS = \
$(check_SCRIPTS)
-frosix_reducer_SOURCES = \
- frosix-cli-redux.c
-frosix_reducer_LDADD = \
+frosix_cli_SOURCES = \
+ frosix-cli.c
+frosix_cli_LDADD = \
$(top_builddir)/src/util/libfrosixutil.la \
$(top_builddir)/src/libfrosix/libfrosix.la \
$(top_builddir)/src/restclient/libfrosixrest.la \
diff --git a/src/cli/frosix-cli-redux.c b/src/cli/frosix-cli.c
index bbc1625..bbc1625 100644
--- a/src/cli/frosix-cli-redux.c
+++ b/src/cli/frosix-cli.c
diff --git a/src/cli/test-frosix.sh b/src/cli/test-frosix.sh
index 5d71aaf..b6edb5b 100755
--- a/src/cli/test-frosix.sh
+++ b/src/cli/test-frosix.sh
@@ -128,7 +128,7 @@ echo " OK"
# Start with key generation
echo -n "Start distributed key generation ..."
-frosix-reducer keygen -o "${SIGN_DOCUMENT}" < "${PLIST}"
+frosix-cli keygen -o "${SIGN_DOCUMENT}" < "${PLIST}"
RET_KG=$?
if [ "$RET_KG" != "0" ]
@@ -140,7 +140,7 @@ echo " OK"
# Sign a message
echo -n "Sign a message ..."
-frosix-reducer sign -a "${AUTH}" -m "${MSG}" -o "${SIGNATURE}" < "${SIGN_DOCUMENT}"
+frosix-cli sign -a "${AUTH}" -m "${MSG}" -o "${SIGNATURE}" < "${SIGN_DOCUMENT}"
RET_S=$?
if [ "$RET_S" != "0" ]
@@ -152,7 +152,7 @@ echo " OK"
# Verify the signature
echo -n "Verify the signature ..."
-frosix-reducer verify -m "${MSG}" < "${SIGNATURE}"
+frosix-cli verify -m "${MSG}" < "${SIGNATURE}"
RET_V=$?
if [ "$RET_V" != "0" ]