rename to FTU to avoid confusion with CMT
This commit is contained in:
parent
0cabf2536b
commit
798ede1824
3 changed files with 4 additions and 4 deletions
2
build.sh
2
build.sh
|
@ -8,4 +8,4 @@ ${CC} ${CFLAGS} -c blst/server.c
|
|||
${CC} ${CFLAGS} -c blst/assembly.S
|
||||
${AR} rc libblst.a server.o assembly.o
|
||||
|
||||
${CC} ${CFLAGS} -o ctm ctm.c fstoken.c debugprint.c base64.c libblst.a
|
||||
${CC} ${CFLAGS} -o ftu ftu.c fstoken.c debugprint.c base64.c libblst.a
|
BIN
ftu
Executable file
BIN
ftu
Executable file
Binary file not shown.
|
@ -14,11 +14,11 @@
|
|||
char* token_path;
|
||||
|
||||
void print_help(char* name){
|
||||
printf("FemtoStar Credit Token Manager (ctm)\n");
|
||||
printf("FemtoStar Token Utility (ftu)\n");
|
||||
printf("This tool can be used to generate and process Credit Tokens for use with the FemtoStar Protocol.\n\n");
|
||||
|
||||
printf("Warning: This tool lets you do insecure or broken things! Be careful with it.\n");
|
||||
printf("ctm is still under development! Do not assume it is secure or complete yet.\n");
|
||||
printf("ftu is still under development! Do not assume it is secure or complete yet.\n");
|
||||
printf("In particular, note that keys and tokens are currently stored unencrypted on-disk.\n\n");
|
||||
|
||||
printf("%s help - display this help\n", name);
|
||||
|
@ -546,7 +546,7 @@ int main(int argc, char *argv[]){
|
|||
token_path = getenv("FEMTOSTAR_TOKEN_PATH");
|
||||
|
||||
if(!token_path){
|
||||
fprintf(stderr, "The environment variable FEMTOSTAR_TOKEN_PATH does not exist! Please set it before using ctm.\n");
|
||||
fprintf(stderr, "The environment variable FEMTOSTAR_TOKEN_PATH does not exist! Please set it before using ftu.\n");
|
||||
exit(1);
|
||||
}
|
||||
|
Loading…
Reference in a new issue