Skip to content

Commit

Permalink
New release 5.9.7.1
Browse files Browse the repository at this point in the history
FIX: Command line number of parameters detection corrected
ENH: It's now possible to define the number of digits for new created PIN
     (multiotp -config default-pin-digits=n)
ENH: It's now possible to generate the HTML provisioning file by command line
     (multiotp -htmlinfo username /full/path/to/username.html or
      multiotp -htmlinfo /full/path/to/folder/ to generate files for all users)
ENH: Embedded Windows nginx edition updated to version 1.25.3
ENH: Embedded Windows internal tools updated (wget 1.21.4 and fart 1.99d)
ENH: Embedded Windows freeradius is now launched using NSSM (instead of SRVANY)
  • Loading branch information
multiOTP committed Dec 3, 2023
1 parent 97e8bff commit 0617369
Show file tree
Hide file tree
Showing 29 changed files with 1,236 additions and 634 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Expand Up @@ -15,8 +15,8 @@
# Please check https://www\.multiOTP.net/ and you will find the magic button ;-)
#
# @author Andre Liechti, SysCo systemes de communication sa, <info@multiotp.net>
# @version 5.9.7.0
# @date 2023-11-23
# @version 5.9.7.1
# @date 2023-12-03
# @since 2013-11-29
# @copyright (c) 2013-2023 SysCo systemes de communication sa
# @copyright GNU Lesser General Public License
Expand Down Expand Up @@ -47,7 +47,7 @@ MAINTAINER Andre Liechti <andre.liechti@multiotp.net>
LABEL Description="multiOTP open source, running on Debian ${DEBIAN} with PHP${PHPVERSION}." \
License="LGPL-3.0" \
Usage="docker run -v [PATH/TO/MULTIOTP/DATA/VOLUME]:/etc/multiotp -v [PATH/TO/FREERADIUS/CONFIG/VOLUME]:/etc/freeradius -v [PATH/TO/MULTIOTP/LOG/VOLUME]:/var/log/multiotp -v [PATH/TO/FREERADIUS/LOG/VOLUME]:/var/log/freeradius -p [HOST WWW PORT NUMBER]:80 -p [HOST SSL PORT NUMBER]:443 -p [HOST RADIUS-AUTH PORT NUMBER]:1812/udp -p [HOST RADIUS-ACCNT PORT NUMBER]:1813/udp -d multiotp-open-source" \
Version="5.9.7.0"
Version="5.9.7.1"

ARG DEBIAN_FRONTEND=noninteractive

Expand Down
26 changes: 20 additions & 6 deletions README.md
Expand Up @@ -6,7 +6,7 @@ multiOTP open source is OATH certified for HOTP/TOTP
(c) 2010-2023 SysCo systemes de communication sa
https://www.multiotp.net/

Current build: 5.9.7.0 (2023-11-23)
Current build: 5.9.7.1 (2023-12-03)

Binary download: https://download.multiotp.net/ (including virtual appliance image)

Expand Down Expand Up @@ -158,6 +158,15 @@ WHAT'S NEW IN THIS 5.9.x RELEASE
CHANGE LOG OF RELEASED VERSIONS
===============================
```
2023-12-03 5.9.7.1 FIX: Command line number of parameters detection corrected
ENH: It's now possible to define the number of digits for new created PIN
(multiotp -config default-pin-digits=n)
ENH: It's now possible to generate the HTML provisioning file by command line
(multiotp -htmlinfo username /full/path/to/username.html or
multiotp -htmlinfo /full/path/to/folder/ to generate files for all users)
ENH: Embedded Windows nginx edition updated to version 1.25.3
ENH: Embedded Windows internal tools updated (wget 1.21.4 and fart 1.99d)
ENH: Embedded Windows freeradius is now launched using NSSM (instead of SRVANY)
2023-11-23 5.9.7.0 FIX: Better Windows nginx configuration support (path backslashes replaced by slashes)
ENH: Embedded Windows nginx edition updated to version 1.24.0
ENH: Embedded Windows PHP edition updated to version 8.2.13
Expand Down Expand Up @@ -1897,7 +1906,7 @@ MULTIOTP COMMAND LINE TOOL
==========================

```
multiOTP 5.9.7.0 (2023-11-23)
multiOTP 5.9.7.1 (2023-12-03)
(c) 2010-2023 SysCo systemes de communication sa
http://www.multiOTP.net (you can try the [Donate] button ;-)
Expand Down Expand Up @@ -1973,6 +1982,7 @@ Return codes:
43 ERROR: SQL entry cannot be updated
50 ERROR: QRcode not created
51 ERROR: UrlLink not created (no provisionable client for this protocol)
52 ERROR: HTML info not created
58 ERROR: File is missing
59 ERROR: Bad restore configuration password
60 ERROR: No information on where to send SMS code
Expand Down Expand Up @@ -2053,6 +2063,8 @@ Usage:
multiotp -qrcode user png_file_name.png (only for TOTP and HOTP)
multiotp -urllink user (only for TOTP and HOTP, generate provisioning URL)
multiotp -htmlinfo user htlm_file_name.html (create file for one user) or
multiotp -htmlinfo htlm_file_folder (to create all files)
multiotp -scratchlist user (generate & display scratch passwords for the user)
Expand Down Expand Up @@ -2085,6 +2097,7 @@ Usage:
(code result are also displayed on the console)
debug-prefix: add a prefix when using the debug mode
(for example 'Reply-Message := ' for FreeRADIUS)
default-pin-digits: [4-32] set the default amount of PIN digits
default-request-prefix-pin: [0|1] prefix PIN enabled/disabled by default
default-request-ldap-pwd: [0|1] LDAP/AD password enabled/disabled by default
display-log: [0|1] enable/disable log display on the console
Expand Down Expand Up @@ -2140,6 +2153,7 @@ Usage:
sms-api-id: SMS API id (if any, give your REST/XML API id)
with exec as provider, define the script to call
(available variables: %from, %to, %msg)
sms-digits: [6-32] set the default amount of SMS digits
sms-ip: IP address of the SMS server (for inhouse server)
sms-challenge-enabled: [0|1] enable/disable SMS challenge
sms-message: SMS message to display before the OTP
Expand Down Expand Up @@ -2420,8 +2434,8 @@ Visit https://forum.multiotp.net/ for additional support
```

```
Hash verification for multiotp_5.9.7.0.zip
SHA256:de7e4f9bb09586b095262b68a8f907a30b32f06f88665eb57f9174e52d8e0e76
SHA1:d53d1f73a44a0b608f1c70c7b70ccb7fcd60a72c
MD5:1ff145782ee27acc36ed0db379a0fcab
Hash verification for multiotp_5.9.7.1.zip
SHA256:1c20cc31c707245c9fd55a71c7e4d9204eae6a20eaba87099ffc62caf19ca59b
SHA1:e3ab1db6c0b62cc2afb2866117b13fe2506a1727
MD5:0cc3b0df1d5b760c53f7beade835817f
```
4 changes: 2 additions & 2 deletions check.multiotp.class.php
Expand Up @@ -22,8 +22,8 @@
* PHP 5.4.0 or higher is supported.
*
* @author Andre Liechti, SysCo systemes de communication sa, <info@multiotp.net>
* @version 5.9.7.0
* @date 2023-11-23
* @version 5.9.7.1
* @date 2023-12-03
* @since 2013-07-10
* @copyright (c) 2013-2023 SysCo systemes de communication sa
* @copyright GNU Lesser General Public License
Expand Down
6 changes: 3 additions & 3 deletions checkmultiotp.cmd
Expand Up @@ -11,8 +11,8 @@ REM
REM Windows batch file for Windows 2K/XP/2003/7/2008/8/2012/10/2019
REM
REM @author Andre Liechti, SysCo systemes de communication sa, <info@multiotp.net>
REM @version 5.9.7.0
REM @date 2023-11-23
REM @version 5.9.7.1
REM @date 2023-12-03
REM @since 2010-07-10
REM @copyright (c) 2010-2023 SysCo systemes de communication sa
REM @copyright GNU Lesser General Public License
Expand Down Expand Up @@ -493,7 +493,7 @@ IF ERRORLEVEL 1 ECHO - KO! multiOTP web service is not responding correctly on h
IF ERRORLEVEL 1 TYPE "%TEMP%\multiOTPwebservice.check"
IF ERRORLEVEL 1 TYPE "%TEMP%\multiOTPwebservice.check" (%_backend%) >>"%TEMP%\multiotp_error.log"
SET /A TOTAL_TESTS=TOTAL_TESTS+1
DEL "%TEMP%\multiOTPwebservice.check" /Q
DEL "%TEMP%\multiOTPwebservice.check" /Q
DEL "%TEMP%\multiOTPwebservice.ready" /Q

ECHO.
Expand Down
4 changes: 2 additions & 2 deletions launcher/ReadMe.txt
Expand Up @@ -15,8 +15,8 @@ The multiOTP C++ launcher is simply used to launch PHP
and run multiotp.windows.php with the provided arguments.

@author Andre Liechti, SysCo systemes de communication sa, <info@multiotp.net>
@version 5.9.7.0
@date 2023-11-23
@version 5.9.7.1
@date 2023-12-03
@since 2016-12-08
@copyright (c) 2010-2023 SysCo systemes de communication sa
@copyright GNU Lesser General Public License
Expand Down
8 changes: 4 additions & 4 deletions launcher/launcher.cpp
Expand Up @@ -14,8 +14,8 @@
* and run multiotp.windows.php with the provided arguments.
*
* @author Andre Liechti, SysCo systemes de communication sa, <info@multiotp.net>
* @version 5.9.7.0
* @date 2023-11-23
* @version 5.9.7.1
* @date 2023-12-03
* @since 2016-12-08
* @copyright (c) 2010-2023 SysCo systemes de communication sa
* @copyright GNU Lesser General Public License
Expand Down Expand Up @@ -68,8 +68,8 @@
#include <iostream>

#define SOFTWARE "LAUNCHPHPMULTIOTP"
#define VER_NUMBER "5.9.7.0"
#define VER_DATE "2023-11-23"
#define VER_NUMBER "5.9.7.1"
#define VER_DATE "2023-12-03"

void replaceAll(std::string& str, const std::string& from, const std::string& to) {
if (from.empty())
Expand Down

0 comments on commit 0617369

Please sign in to comment.