diff --git a/build.sh b/build.sh index ee65899..5344315 100755 --- a/build.sh +++ b/build.sh @@ -185,12 +185,10 @@ upload_release_asset() { fi # Upload the asset - curl -X POST "$api_url/releases/$release_id/assets" \ + curl -X POST "$api_url/releases/$release_id/assets?name=$filename" \ -H "Authorization: token $token" \ -H "Content-Type: application/octet-stream" \ - -T "$filename" \ - --data-binary "@$filename" \ - -G -d "name=$filename" + -T "$filename" if [ $? -eq 0 ]; then print_success "Uploaded $filename successfully" diff --git a/otp-arm64 b/otp-arm64 index 54c4e01..365eef5 100755 Binary files a/otp-arm64 and b/otp-arm64 differ diff --git a/otp-x86_64 b/otp-x86_64 index 54c4e01..a6f61f6 100755 Binary files a/otp-x86_64 and b/otp-x86_64 differ diff --git a/otp.c b/otp.c index 85af3f1..f359f82 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.3 ===========================\n\n"); + printf("\n=========================== Main Menu - OTP v0.3.4 ===========================\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.3\n"); + snprintf(temp_line, sizeof(temp_line), "Version: v0.3.4\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.3\n"); + printf("OTP Cipher - One Time Pad Implementation v0.3.4\n"); printf("Built for testing entropy system\n"); printf("Usage:\n"); printf(" %s - Interactive mode\n", program_name);