OSDN Git Service

slunkcrypt/SlunkCrypt.git
17 months agoSmall fix in build-info script for better platform compatibility.
LoRd_MuldeR [Tue, 13 Dec 2022 19:22:57 +0000 (20:22 +0100)]
Small fix in build-info script for better platform compatibility.

17 months agoAdded build script for Mingw-w64 and Cygwin. 1.3.0
LoRd_MuldeR [Mon, 12 Dec 2022 14:25:25 +0000 (15:25 +0100)]
Added build script for Mingw-w64 and Cygwin.

18 months agoUpgraded platform toolset to v142 (VS2019).
LoRd_MuldeR [Mon, 14 Nov 2022 22:03:31 +0000 (23:03 +0100)]
Upgraded platform toolset to v142 (VS2019).

18 months agoFixed detection of installed .NET Framework version on pure 32-Bit operating system.
LoRd_MuldeR [Sun, 13 Nov 2022 19:34:11 +0000 (20:34 +0100)]
Fixed detection of installed .NET Framework version on pure 32-Bit operating system.

18 months agoUpdated README file.
LoRd_MuldeR [Sun, 13 Nov 2022 19:30:35 +0000 (20:30 +0100)]
Updated README file.

18 months agoImproved P/Invoke bindings for GetWindowLongPtr() and SetWindowLongPtr() functions.
LoRd_MuldeR [Wed, 9 Nov 2022 23:09:23 +0000 (00:09 +0100)]
Improved P/Invoke bindings for GetWindowLongPtr() and SetWindowLongPtr() functions.

18 months agoGUI: Added command-line option to force pure software rendering.
LoRd_MuldeR [Mon, 7 Nov 2022 21:29:11 +0000 (22:29 +0100)]
GUI: Added command-line option to force pure software rendering.

18 months agoUpdated README file.
LoRd_MuldeR [Fri, 4 Nov 2022 21:17:36 +0000 (22:17 +0100)]
Updated README file.

18 months agoGUI: Added new background pattern.
LoRd_MuldeR [Sun, 30 Oct 2022 19:26:48 +0000 (20:26 +0100)]
GUI: Added new background pattern.

18 months agoGUI: Bump .NET Framework version to 4.7.2 + make it possible to resize window (horizo...
LoRd_MuldeR [Sun, 30 Oct 2022 14:18:51 +0000 (15:18 +0100)]
GUI: Bump .NET Framework version to 4.7.2 + make it possible to resize window (horizontally).

18 months agoExplicitly bring application window to front on startup.
LoRd_MuldeR [Fri, 28 Oct 2022 22:23:06 +0000 (00:23 +0200)]
Explicitly bring application window to front on startup.

18 months agoImproved test script.
LoRd_MuldeR [Fri, 28 Oct 2022 22:21:13 +0000 (00:21 +0200)]
Improved test script.

18 months agoAdded post-install helper script for Win32 release.
LoRd_MuldeR [Thu, 27 Oct 2022 20:06:17 +0000 (22:06 +0200)]
Added post-install helper script for Win32 release.

18 months agoSome code-refactoring in key-generator.
LoRd_MuldeR [Tue, 25 Oct 2022 20:09:40 +0000 (22:09 +0200)]
Some code-refactoring in key-generator.

18 months agoUpdated README file.
LoRd_MuldeR [Mon, 24 Oct 2022 20:36:42 +0000 (22:36 +0200)]
Updated README file.

18 months agoAdded new test script.
LoRd_MuldeR [Sun, 23 Oct 2022 15:12:24 +0000 (17:12 +0200)]
Added new test script.

18 months agoMark script as executable.
LoRd_MuldeR [Tue, 18 Oct 2022 20:24:16 +0000 (22:24 +0200)]
Mark script as executable.

19 months agoAdded build script for Haiku and OpenBSD.
LoRd_MuldeR [Mon, 17 Oct 2022 18:45:26 +0000 (20:45 +0200)]
Added build script for Haiku and OpenBSD.

19 months agoUpdated initialization list to use "safe" prime numbers with a minimal distance of...
LoRd_MuldeR [Sun, 16 Oct 2022 17:29:06 +0000 (19:29 +0200)]
Updated initialization list to use "safe" prime numbers with a minimal distance of 131.

19 months agoSmall code refactoring in initialization function.
LoRd_MuldeR [Sun, 16 Oct 2022 13:49:14 +0000 (15:49 +0200)]
Small code refactoring in initialization function.

19 months agoUpdated README file.
LoRd_MuldeR [Sat, 15 Oct 2022 18:41:46 +0000 (20:41 +0200)]
Updated README file.

19 months agoUpdated the C++ wrapper with new optional parameters.
LoRd_MuldeR [Sat, 15 Oct 2022 18:40:39 +0000 (20:40 +0200)]
Updated the C++ wrapper with new optional parameters.

19 months agoGUI: Added checkbox to enable/disable "legacy" compatibility mode.
LoRd_MuldeR [Sat, 15 Oct 2022 16:32:54 +0000 (18:32 +0200)]
GUI: Added checkbox to enable/disable "legacy" compatibility mode.

19 months agoSmall improvement to debug logging code.
LoRd_MuldeR [Fri, 14 Oct 2022 20:48:47 +0000 (22:48 +0200)]
Small improvement to debug logging code.

19 months agoMake debug logging optional (disabled by default) in self-test mode.
LoRd_MuldeR [Thu, 13 Oct 2022 23:13:37 +0000 (01:13 +0200)]
Make debug logging optional (disabled by default) in self-test mode.

19 months agoImplemented optional debug logging. Writes to the syslog (Unix) or debugger (Windows).
LoRd_MuldeR [Thu, 13 Oct 2022 22:44:19 +0000 (00:44 +0200)]
Implemented optional debug logging. Writes to the syslog (Unix) or debugger (Windows).

19 months agoSome code refactoring + adjust number of random skips.
LoRd_MuldeR [Thu, 13 Oct 2022 19:27:09 +0000 (21:27 +0200)]
Some code refactoring + adjust number of random skips.

19 months agoImplemented modified and somewhat faster initialization code.
LoRd_MuldeR [Thu, 13 Oct 2022 00:26:51 +0000 (02:26 +0200)]
Implemented modified and somewhat faster initialization code.
As this unavoidably breaks compatibility with pre-1.3.x versions, added a new flag to 'slunkparam_t' that enables backwards compatibility mode.
Also extended the self-test code to test the new initialization, in addition to the "legacy" initialization.

19 months agoFixed detection of 32-Bit (x86) version of Haiku OS. 1.2.1-1
LoRd_MuldeR [Thu, 29 Sep 2022 19:05:16 +0000 (21:05 +0200)]
Fixed detection of 32-Bit (x86) version of Haiku OS.

19 months agoWindows GUI: Some improvements in detecting the program "patch" version.
LoRd_MuldeR [Wed, 28 Sep 2022 22:57:03 +0000 (00:57 +0200)]
Windows GUI: Some improvements in detecting the program "patch" version.

19 months agoEnable use of getentropy() and explicit_bzero() in Cygwin build. 1.2.1
LoRd_MuldeR [Sat, 24 Sep 2022 14:20:35 +0000 (16:20 +0200)]
Enable use of getentropy() and explicit_bzero() in Cygwin build.

19 months agoAdded build scripts for FreeBSD, Solaris and MacOS X platforms.
LoRd_MuldeR [Thu, 22 Sep 2022 22:10:07 +0000 (00:10 +0200)]
Added build scripts for FreeBSD, Solaris and MacOS X platforms.

19 months agoFixed compatibility of Makefile with older make versions.
LoRd_MuldeR [Wed, 21 Sep 2022 22:08:05 +0000 (00:08 +0200)]
Fixed compatibility of Makefile with older make versions.

19 months agoAdded flag to indicate multi-thread support to the public API.
LoRd_MuldeR [Wed, 21 Sep 2022 22:49:55 +0000 (00:49 +0200)]
Added flag to indicate multi-thread support to the public API.

19 months agoSmall improvement in initialize_once() and fixed a Clang warning.
LoRd_MuldeR [Wed, 21 Sep 2022 21:42:10 +0000 (23:42 +0200)]
Small improvement in initialize_once() and fixed a Clang warning.

19 months agoFixed building the library *without* pthread support.
LoRd_MuldeR [Tue, 20 Sep 2022 21:58:45 +0000 (23:58 +0200)]
Fixed building the library *without* pthread support.

19 months agoEnable the "-pedantic" option for GCC + fixed a few warnings.
LoRd_MuldeR [Tue, 20 Sep 2022 19:53:57 +0000 (21:53 +0200)]
Enable the "-pedantic" option for GCC + fixed a few warnings.

19 months agoClean up includes in "front-end" application.
LoRd_MuldeR [Tue, 20 Sep 2022 19:52:23 +0000 (21:52 +0200)]
Clean up includes in "front-end" application.

21 months agoImproved regression test script.
LoRd_MuldeR [Sun, 24 Jul 2022 13:42:46 +0000 (15:42 +0200)]
Improved regression test script.

22 months agoUpdated Linux build script to better match the officially supported Debian platforms.
LoRd_MuldeR [Sat, 18 Jun 2022 12:38:42 +0000 (14:38 +0200)]
Updated Linux build script to better match the officially supported Debian platforms.

23 months agoGUI: Implemented detection of the ARM64 architecture via IsWow64Process2() function.
LoRd_MuldeR [Mon, 23 May 2022 20:38:24 +0000 (22:38 +0200)]
GUI: Implemented detection of the ARM64 architecture via IsWow64Process2() function.

23 months agoAdded support for building SlunkCrypt for the Windows on ARM64 platform.
LoRd_MuldeR [Tue, 24 May 2022 19:45:09 +0000 (21:45 +0200)]
Added support for building SlunkCrypt for the Windows on ARM64 platform.

23 months agoSupport for MIPS architecture + small improvement to Linux cross-build script.
LoRd_MuldeR [Sat, 21 May 2022 15:21:09 +0000 (17:21 +0200)]
Support for MIPS architecture + small improvement to Linux cross-build script.

2 years agoSmall fix to make error messages in encrypt() and decrypt() more consistent.
LoRd_MuldeR [Tue, 10 May 2022 18:36:07 +0000 (20:36 +0200)]
Small fix to make error messages in encrypt() and decrypt() more consistent.

2 years agoEnable explicit_bzero() and getentropy() on DragonFly platform + enable explicit_bzer...
LoRd_MuldeR [Sun, 8 May 2022 14:11:52 +0000 (16:11 +0200)]
Enable explicit_bzero() and getentropy() on DragonFly platform + enable explicit_bzero() on Haiku platform (requires linking against libbsd).

2 years agoSome improvements to musl libc build script.
LoRd_MuldeR [Sat, 7 May 2022 16:55:22 +0000 (18:55 +0200)]
Some improvements to musl libc build script.

2 years agoSmall improvement to Makefile + fixed compilation with µClibc, which does *not* provi...
LoRd_MuldeR [Thu, 5 May 2022 22:33:45 +0000 (00:33 +0200)]
Small improvement to Makefile + fixed compilation with µClibc, which does *not* provide getentropy() or explicit_bzero() + enable these functions on Solaris/Illumos.

2 years agoAdded support for the Haiku operating system.
LoRd_MuldeR [Tue, 26 Apr 2022 20:01:49 +0000 (22:01 +0200)]
Added support for the Haiku operating system.

2 years agoUpdated README file. 1.2.0
LoRd_MuldeR [Sun, 24 Apr 2022 12:51:04 +0000 (14:51 +0200)]
Updated README file.

2 years agoSmall code clean-up + improved the Makefile + detect GNU/Hurd operating system.
LoRd_MuldeR [Sat, 23 Apr 2022 15:30:51 +0000 (17:30 +0200)]
Small code clean-up + improved the Makefile + detect GNU/Hurd operating system.

2 years agoUpdated Linux build script + added script to build musl libc for all target platforms.
LoRd_MuldeR [Tue, 19 Apr 2022 18:47:15 +0000 (20:47 +0200)]
Updated Linux build script + added script to build musl libc for all target platforms.

2 years agoEnable the GUI to use the "AVX2" binary, if supported on the current machine.
LoRd_MuldeR [Mon, 18 Apr 2022 16:52:55 +0000 (18:52 +0200)]
Enable the GUI to use the "AVX2" binary, if supported on the current machine.

2 years agoUpdated pthreads libraries for the Windows platform (pthread4w) to version 3.0.0.
LoRd_MuldeR [Sat, 16 Apr 2022 22:36:48 +0000 (00:36 +0200)]
Updated pthreads libraries for the Windows platform (pthread4w) to version 3.0.0.

2 years agoAdjust I/O buffer size according to file size + allow slightly bigger maximum buffer...
LoRd_MuldeR [Tue, 12 Apr 2022 21:55:08 +0000 (23:55 +0200)]
Adjust I/O buffer size according to file size + allow slightly bigger maximum buffer size.

2 years agoAdded built-time option SLUNKBUILD_NOTHREADS to disable threading + added simple...
LoRd_MuldeR [Sat, 9 Apr 2022 14:40:16 +0000 (16:40 +0200)]
Added built-time option SLUNKBUILD_NOTHREADS to disable threading + added simple "testbed" script.

2 years agoSmall improvement to platform detection.
LoRd_MuldeR [Fri, 8 Apr 2022 21:10:27 +0000 (23:10 +0200)]
Small improvement to platform detection.

2 years agoFixed slunkcrypt_reset() when no thread pool is allocated, e.g. when thread count...
LoRd_MuldeR [Wed, 6 Apr 2022 22:15:07 +0000 (00:15 +0200)]
Fixed slunkcrypt_reset() when no thread pool is allocated, e.g. when thread count is 1.

2 years agoGUI: Small improvement to setting up the PATH and working directory of the child...
LoRd_MuldeR [Mon, 4 Apr 2022 21:55:09 +0000 (23:55 +0200)]
GUI: Small improvement to setting up the PATH and working directory of the child process.

2 years agoSimplify release script for Linux + drop the separate PGO scripts.
LoRd_MuldeR [Mon, 4 Apr 2022 21:47:10 +0000 (23:47 +0200)]
Simplify release script for Linux + drop the separate PGO scripts.

2 years agoAdded support for setting the number threads in the GUI + some improvements applicati...
LoRd_MuldeR [Sun, 3 Apr 2022 12:58:59 +0000 (14:58 +0200)]
Added support for setting the number threads in the GUI + some improvements application configuration handling.

2 years agoEnhanced self-test routine + added macro to "safely" free SlunkCrypt instance.
LoRd_MuldeR [Sat, 2 Apr 2022 15:27:48 +0000 (17:27 +0200)]
Enhanced self-test routine + added macro to "safely" free SlunkCrypt instance.

2 years agoDetect the number of available CPU cores by using either sched_getaffinity(), GetProc...
LoRd_MuldeR [Thu, 31 Mar 2022 21:05:34 +0000 (23:05 +0200)]
Detect the number of available CPU cores by using either sched_getaffinity(), GetProcessAffinityMask() or sysconf(), depending on the target platform.

2 years agoRefactored progress indicator update + increase file I/O buffer size.
LoRd_MuldeR [Mon, 28 Mar 2022 19:45:44 +0000 (21:45 +0200)]
Refactored progress indicator update + increase file I/O buffer size.

2 years agoSlightly improved thread management code.
LoRd_MuldeR [Thu, 24 Mar 2022 23:42:44 +0000 (00:42 +0100)]
Slightly improved thread management code.

2 years agoSome code refactoring in the thread pool module.
LoRd_MuldeR [Thu, 24 Mar 2022 20:25:32 +0000 (21:25 +0100)]
Some code refactoring in the thread pool module.

2 years agoMake it possible to set number of threads in the front-end + updated the README file.
LoRd_MuldeR [Wed, 23 Mar 2022 21:33:45 +0000 (22:33 +0100)]
Make it possible to set number of threads in the front-end + updated the README file.

2 years agoUpdated pthreads library for the Windows platform (pthreads4w).
LoRd_MuldeR [Tue, 22 Mar 2022 23:39:28 +0000 (00:39 +0100)]
Updated pthreads library for the Windows platform (pthreads4w).

2 years agoMuch improved threading support.
LoRd_MuldeR [Mon, 21 Mar 2022 21:45:29 +0000 (22:45 +0100)]
Much improved threading support.

2 years agoInitial thread support.
LoRd_MuldeR [Mon, 21 Mar 2022 20:11:46 +0000 (21:11 +0100)]
Initial thread support.

2 years agoImplemented improved method for detecting identical files. master
LoRd_MuldeR [Fri, 4 Mar 2022 19:05:52 +0000 (20:05 +0100)]
Implemented improved method for detecting identical files.

2 years agoSome code refactoring.
LoRd_MuldeR [Tue, 1 Mar 2022 22:34:50 +0000 (23:34 +0100)]
Some code refactoring.

2 years agoPrint the system error message, if the input or output file could not be opened.
LoRd_MuldeR [Sun, 27 Feb 2022 18:28:38 +0000 (19:28 +0100)]
Print the system error message, if the input or output file could not be opened.

2 years agoMake sure that input file name and output file name are distinct (to the extent possi...
LoRd_MuldeR [Sun, 20 Feb 2022 14:39:33 +0000 (15:39 +0100)]
Make sure that input file name and output file name are distinct (to the extent possible).

2 years agoRefactored process event handler class + added new "random password" icon. 1.1.2
LoRd_MuldeR [Fri, 11 Feb 2022 21:02:50 +0000 (22:02 +0100)]
Refactored process event handler class + added new "random password" icon.

2 years agoReplaced clock() function by clock_gettime() on Linux and QueryPerformanceFrequency...
LoRd_MuldeR [Fri, 11 Feb 2022 20:52:22 +0000 (21:52 +0100)]
Replaced clock() function by clock_gettime() on Linux and QueryPerformanceFrequency() on Windows.

2 years agoRefactored the ProcessRunner and PasswordGen classes.
LoRd_MuldeR [Thu, 10 Feb 2022 21:55:52 +0000 (22:55 +0100)]
Refactored the ProcessRunner and PasswordGen classes.

2 years agoGUI: Replaced the built-in password generator with call to SlunkCrypt CLI program...
LoRd_MuldeR [Tue, 8 Feb 2022 23:44:56 +0000 (00:44 +0100)]
GUI: Replaced the built-in password generator with call to SlunkCrypt CLI program + bump target framework version to 4.5.2.

2 years agoSmall improvement to the password generator.
LoRd_MuldeR [Tue, 8 Feb 2022 21:53:02 +0000 (22:53 +0100)]
Small improvement to the password generator.

2 years agoMake sure that the requested number of random bytes is fully read, even if a single...
LoRd_MuldeR [Tue, 8 Feb 2022 21:46:33 +0000 (22:46 +0100)]
Make sure that the requested number of random bytes is fully read, even if a single read() invocation returned fewer than "count" bytes.

2 years agoIncrement patch version. 1.1.1
LoRd_MuldeR [Thu, 27 Jan 2022 20:51:53 +0000 (21:51 +0100)]
Increment patch version.

2 years agoGracefully handle an *empty* argument array (argc < 1), which apparently is possible...
LoRd_MuldeR [Wed, 26 Jan 2022 23:21:28 +0000 (00:21 +0100)]
Gracefully handle an *empty* argument array (argc < 1), which apparently is possible on Linux and maybe others.

2 years agoUpdated the README file.
LoRd_MuldeR [Mon, 15 Nov 2021 21:30:16 +0000 (22:30 +0100)]
Updated the README file.

2 years agoImplemented application configuration setting to disable the busy indicator (by default). 1.1.0
LoRd_MuldeR [Sat, 13 Nov 2021 16:11:08 +0000 (17:11 +0100)]
Implemented application configuration setting to disable the busy indicator (by default).

2 years agoReplaced 'glibc' checks with more general 'linux' checks in order to better support...
LoRd_MuldeR [Fri, 12 Nov 2021 19:40:51 +0000 (20:40 +0100)]
Replaced 'glibc' checks with more general 'linux' checks in order to better support alternative C libraries (e.g. musl libc).

2 years agoImplemented option to disable the busy indicator (animation).
LoRd_MuldeR [Thu, 11 Nov 2021 20:36:13 +0000 (21:36 +0100)]
Implemented option to disable the busy indicator (animation).

2 years agoRefactored project/solution files.
LoRd_MuldeR [Wed, 10 Nov 2021 18:38:35 +0000 (19:38 +0100)]
Refactored project/solution files.

2 years agoAdded runtime CPU detection for SSE2 capability to the GUI front-end.
LoRd_MuldeR [Sun, 7 Nov 2021 20:18:33 +0000 (21:18 +0100)]
Added runtime CPU detection for SSE2 capability to the GUI front-end.

2 years agoSmall improvement to release script.
LoRd_MuldeR [Wed, 26 May 2021 22:43:07 +0000 (00:43 +0200)]
Small improvement to release script.

3 years agoWorkaround for bug in older version of the UCRT on Windows XP: Explicitly link UCRT... 1.0.0
LoRd_MuldeR [Mon, 10 May 2021 19:21:47 +0000 (21:21 +0200)]
Workaround for bug in older version of the UCRT on Windows XP: Explicitly link UCRT version 10.0.14393.0 and force the minimum required OS version to 5.1.

3 years agoAdded simple release script. 1.0.0-beta1
LoRd_MuldeR [Sat, 8 May 2021 17:23:57 +0000 (19:23 +0200)]
Added simple release script.

3 years agoGUI: Added button to generate a random password to the "Encrypt" tab.
LoRd_MuldeR [Sat, 8 May 2021 15:55:16 +0000 (17:55 +0200)]
GUI: Added button to generate a random password to the "Encrypt" tab.

3 years agoAdded a simple GUI front-end for Windows platform.
LoRd_MuldeR [Sat, 24 Apr 2021 00:59:39 +0000 (02:59 +0200)]
Added a simple GUI front-end for Windows platform.

3 years agoDo not request more than 256 bytes of random data from getentropy() at once.
LoRd_MuldeR [Wed, 21 Apr 2021 11:52:49 +0000 (13:52 +0200)]
Do not request more than 256 bytes of random data from getentropy() at once.

3 years agoSwitch to using getentropy() function, because it is available on OpenBSD and it...
LoRd_MuldeR [Tue, 20 Apr 2021 19:01:58 +0000 (21:01 +0200)]
Switch to using getentropy() function, because it is available on OpenBSD and it doesn't require an additional header.

3 years agoSmall Makefile improvement.
LoRd_MuldeR [Mon, 19 Apr 2021 20:21:07 +0000 (22:21 +0200)]
Small Makefile improvement.

3 years agoRefactored passphrase generator into a separate file.
LoRd_MuldeR [Sun, 18 Apr 2021 20:19:17 +0000 (22:19 +0200)]
Refactored passphrase generator into a separate file.

3 years agoRefactored encryption/decryption routines as well as the self-test routine into separ...
LoRd_MuldeR [Sun, 18 Apr 2021 13:32:37 +0000 (15:32 +0200)]
Refactored encryption/decryption routines as well as the self-test routine into separate files.

3 years agoFall back to /dev/urandom, if compiled with getrandom() support but that syscall...
LoRd_MuldeR [Sat, 17 Apr 2021 14:05:32 +0000 (16:05 +0200)]
Fall back to /dev/urandom, if compiled with getrandom() support but that syscall is not available at runtime.

3 years agoRefactored key-derivation code into a separate file + some code clean-up.
LoRd_MuldeR [Sat, 17 Apr 2021 13:13:13 +0000 (15:13 +0200)]
Refactored key-derivation code into a separate file + some code clean-up.

3 years agoFold the hash at the very end of the keygen loop (effectively), instead of already...
LoRd_MuldeR [Thu, 15 Apr 2021 20:51:35 +0000 (22:51 +0200)]
Fold the hash at the very end of the keygen loop (effectively), instead of already in the hash function.