From 8616e78547d50f191c60796843277ddc11789f0b Mon Sep 17 00:00:00 2001 From: Laan Tungir Date: Mon, 1 Sep 2025 15:25:06 -0400 Subject: [PATCH] Version v0.3.4 - Checking build.sh --- build.sh | 12 ++++++------ otp-arm64 | Bin 100680 -> 100680 bytes otp-x86_64 | Bin 100680 -> 100680 bytes otp.c | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/build.sh b/build.sh index ff5863f..ee65899 100755 --- a/build.sh +++ b/build.sh @@ -211,7 +211,7 @@ create_gitea_release() { fi local token=$(cat "$HOME/.gitea_token" | tr -d '\n\r') - local api_url="https://git.laantungir.net:222/api/v1/repos/laantungir/otp" + local api_url="https://git.laantungir.net/api/v1/repos/laantungir/otp" print_status "Creating Gitea release for $version..." @@ -248,7 +248,7 @@ build_project() { # Build x86_64 only print_status "Building OTP project for x86_64..." - CC=gcc make + make CC=gcc if [ $? -eq 0 ]; then mv otp otp-x86_64 print_success "x86_64 build completed successfully" @@ -259,8 +259,8 @@ build_project() { else # Build both architectures print_status "Building OTP project for x86_64..." - CC=gcc make clean - CC=gcc make + make clean + make CC=gcc if [ $? -eq 0 ]; then mv otp otp-x86_64 print_success "x86_64 build completed successfully" @@ -270,8 +270,8 @@ build_project() { fi print_status "Building OTP project for ARM64/AArch64..." - CC=aarch64-linux-gnu-gcc make clean - CC=aarch64-linux-gnu-gcc make + make clean + make CC=aarch64-linux-gnu-gcc if [ $? -eq 0 ]; then mv otp otp-arm64 print_success "ARM64/AArch64 build completed successfully" diff --git a/otp-arm64 b/otp-arm64 index d51feae33894f20451a62065069cb16758007f6f..54c4e01035178677f6889ed184cfe4146142560c 100755 GIT binary patch delta 69 zcmX>xiS5KBwha}`B6^{$nTPm#$~BdbYnMxQSR|dhR@L0YyuF8+@t6pcvBGpk2}bGd Y`4WsSl8naNw-_>>;set44vZ%~0AG<8M*si- delta 69 zcmX>xiS5KBwha}`BGY|7Ihp>c={{XzWoQ%DGUd33K}d5C^Y$KQ#$zH(MhepvB^af* Z=SwiUNHQ92-(tvkiVsNFJ20N~006dH7^naM diff --git a/otp-x86_64 b/otp-x86_64 index d51feae33894f20451a62065069cb16758007f6f..54c4e01035178677f6889ed184cfe4146142560c 100755 GIT binary patch delta 69 zcmX>xiS5KBwha}`B6^{$nTPm#$~BdbYnMxQSR|dhR@L0YyuF8+@t6pcvBGpk2}bGd Y`4WsSl8naNw-_>>;set44vZ%~0AG<8M*si- delta 69 zcmX>xiS5KBwha}`BGY|7Ihp>c={{XzWoQ%DGUd33K}d5C^Y$KQ#$zH(MhepvB^af* Z=SwiUNHQ92-(tvkiVsNFJ20N~006dH7^naM diff --git a/otp.c b/otp.c index 972e09f..85af3f1 100644 --- a/otp.c +++ b/otp.c @@ -330,7 +330,7 @@ int interactive_mode(void) { void show_main_menu(void) { - printf("\n=========================== Main Menu - OTP v0.3.2 ===========================\n\n"); + printf("\n=========================== Main Menu - OTP v0.3.3 ===========================\n\n"); printf(" \033[4mT\033[0mext encrypt\n"); //TEXT ENCRYPT printf(" \033[4mF\033[0mile encrypt\n"); //FILE ENCRYPT @@ -2848,7 +2848,7 @@ int generate_ascii_armor(const char* chksum, uint64_t offset, const unsigned cha strcpy(*ascii_output, "-----BEGIN OTP MESSAGE-----\n"); char temp_line[256]; - snprintf(temp_line, sizeof(temp_line), "Version: v0.3.2\n"); + snprintf(temp_line, sizeof(temp_line), "Version: v0.3.3\n"); strcat(*ascii_output, temp_line); snprintf(temp_line, sizeof(temp_line), "Pad-ChkSum: %s\n", chksum); @@ -4394,7 +4394,7 @@ int handle_add_entropy_to_pad(const char* pad_chksum) { } void print_usage(const char* program_name) { - printf("OTP Cipher - One Time Pad Implementation v0.3.2\n"); + printf("OTP Cipher - One Time Pad Implementation v0.3.3\n"); printf("Built for testing entropy system\n"); printf("Usage:\n"); printf(" %s - Interactive mode\n", program_name);