Skip to content

Commit d9e0e0b

Browse files
Updated pwcrypt CLI help text.
Release 4.2.4
1 parent b15fc3c commit d9e0e0b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake" ${CMAKE_MODULE_PATH})
2020

2121
set(${PROJECT_NAME}_MAJOR 4)
2222
set(${PROJECT_NAME}_MINOR 2)
23-
set(${PROJECT_NAME}_PATCH 3)
23+
set(${PROJECT_NAME}_PATCH 4)
2424
set(${PROJECT_NAME}_VERSION_STRING "${${PROJECT_NAME}_MAJOR}.${${PROJECT_NAME}_MINOR}.${${PROJECT_NAME}_PATCH}")
2525

2626
option(ENABLE_TESTING "Build MbedTLS tests." OFF)

include/pwcrypt.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@ static const uint8_t EMPTY64[64] = {
7272
/**
7373
* Current version of the used pwcrypt library.
7474
*/
75-
#define PWCRYPT_VERSION 423
75+
#define PWCRYPT_VERSION 424
7676

7777
/**
7878
* Current version of the used pwcrypt library (nicely-formatted string).
7979
*/
80-
#define PWCRYPT_VERSION_STR "4.2.3"
80+
#define PWCRYPT_VERSION_STR "4.2.4"
8181

8282
#ifndef PWCRYPT_Z_CHUNKSIZE
8383
/**

src/main.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ static const char HELP_TEXT[] = "\n"
3434
"Encrypt and decrypt strings using passwords. \n"
3535
"The strings are compressed and then encrypted by deriving a symmetric encryption key from the password using Argon2. \n\n"
3636
"Usage: \n\n"
37-
"pwcrypt_cli \\\n\t{e|d} {input} {password} \\\n\t[--time-cost=INT] \\\n\t[--memory-cost=INT] \\\n\t[--parallelism=INT] \\\n\t[--compression=INT] \\\n\t[--algorithm=aes256-gcm|chachapoly] \\\n\t[--file=OUTPUT_FILE_PATH]\n\n"
37+
"pwcrypt \\\n\t{e|d} {input} {password} \\\n\t[--time-cost=INT] \\\n\t[--memory-cost=INT] \\\n\t[--parallelism=INT] \\\n\t[--compression=INT] \\\n\t[--algorithm=aes256-gcm|chachapoly] \\\n\t[--file=OUTPUT_FILE_PATH]\n\n"
3838
"Examples: \n\n"
3939
"-- Encrypting \n\n"
40-
" pwcrypt_cli e \"My string to encrypt.\" \"SUPER-safe Password123_!\" \n\n"
40+
" pwcrypt e \"My string to encrypt.\" \"SUPER-safe Password123_!\" \n\n"
4141
"-- Decrypting \n\n"
42-
" pwcrypt_cli d \"EwAAAAQAAAAAAAQAAgAAAFYjNGlNEnNMn5VtyW5hvxnKhdk9i\" \"SUPER-safe Password123_!\" \n";
42+
" pwcrypt d \"EwAAAAQAAAAAAAQAAgAAAFYjNGlNEnNMn5VtyW5hvxnKhdk9i\" \"SUPER-safe Password123_!\" \n";
4343

4444
int main(const int argc, char* argv[])
4545
{

0 commit comments

Comments
 (0)