Commit Graph

43 Commits

Author SHA1 Message Date
rublon-bwi
de26451445
Bwi/v2.3.1 (#18)
* Fix handling of fail mode

* Fix handling proxy configuration

* Minor changes to logging

* Fix compiler warnings
2025-07-28 14:51:35 +02:00
rublon-bwi
0934902bba
Bwi/v2.3.0 (#17)
* Add base PROXY support implementation

* Remove some dynamic memory allocations

* Rewrite configuration reading module

* Make everything in core connector memory resource aware

* Add logs to check is proxy is used

* Add a proxy fallback, and read proxy from env

* Add config entry to check application

* Cleanup includes

* Ddd configuration dump to check application

* Update rhel8 packages

* Fix http headers bug when using proxy server

* Fix formatting

* Fix bad optional access

* Fix configuration check regresion

* Fix memory management issue, remove strict allocators and make connector more polite to memory overflow errors

* Fix initialization of core handler
2025-07-18 11:48:18 +02:00
rublon-bwi
af64f8e9e3
Bwi/v2.2.0 (#16)
* Remove dynamic memory usage from core

* Refacor status check to use json pointers

* Move access token to session

* Remove code duplication

* Fix compile warnings from rapidjson sources

* Add 'interactive mode option to session configuration

* Implement non interactive mode connector

* Add 'non interactove' implementation

* Apply rapidjson patch

* Build on all cores

* Rename build script

* Split configure and build steps

* Add scripts for building all images

* Change bash to python for build scripts

* Stop printing methods name in non interactive mode

* Add trace log level, adn more params to init message

* Fix build

* Fix non interactive method selection and refactor vagrant files for debian like systems

* Refactor log messages

* Remove exces dependencies from vagrant configuration files

* Fixed vagrantfiles

* Added repo for rhel

* Add nonInteractiveMode option

* Added instalation script for pubkey

* Fixed pubkey install script and postrm for rhel
2025-03-07 11:41:12 +01:00
rublon-bwi
6b9d2f938c
Bwi/v2.1.0 (#15)
* Add phone call authentication method

* Remove dynamic mem allocation from error handler

* Add more error handling code

* Move error handling to different file

* Remove Socket IO dependency

* cleanup in websocket code

* Add rapidjson as cmake dependency

* Added Dockerfiles as primary build system for packages

* Changed policy in CMakeList to work with lower version of CMake

* Fix opensuse builds

* Link filesystem library in gcc 8.5 or older
2024-11-18 12:57:20 +01:00
rublon-bwi
590840c7af
fixup (#14) 2024-10-23 13:38:55 +02:00
rublon-bwi
c0d6ed2c7f
Bwi/v2.0.4 (#13)
fixup v2.0.4
2024-10-23 11:21:58 +02:00
rublon-bwi
2c134435e8
Bwi/v2.0.4 (#12)
* Allow 9 digits long passcode for passcode bypass

* Change name of 'Mobile Passcode' to 'Passcode'

* Do not display any prompt when user is waiting

* Add autopushPrompt option

* Change name OTP method

* Change enrolement message handling

* Addded postrm script

* [bugfix] Restart sshd service after rublon package instalation

* Rename 01_rublon_ssh.conf to 01-rublon-ssh.conf

* Prepared scripts for generating rpm for alma nad rocky

* Adding public key authentication option

* Add postinst script and ssh configuration for using pubkey

* Add GCC 7 compatybility

* Cleanup includes, cleanup std::array usage

* Add Static String implementation

* Remove memory_resources

* Add monotonic_buffer_resource in experimental c++ imlpementation

* Use case insensitive map

* Remove not needed code

* Stop using deprecated SHA256 functions

* Changed app verstion to v2.0.4

* Fixed postinst script for ubuntu

* CHanged vangrantfile not to show gui

* Refactor cpack + add component builds for rpm based distros
2024-10-23 11:02:49 +02:00
rublon-bwi
627ef2a6b4
Bwi/v2.0.3 (#11)
* Remove unused options from rublon default config

* Remove safe|secure options

* Allow 9 digits long passcode for passcode bypass

* Change name of 'Mobile Passcode' to 'Passcode'

* Do not display any prompt when user is waiting

* remove unused alloca.h header

* Add autopushPrompt option

* Change name OTP method

* Change enrolement message handling

* add static string ctor

* Addded postrm script

* [bugfix] Restart sshd service after rublon package instalation

* Rename 01_rublon_ssh.conf to 01-rublon-ssh.conf

* Prepared scripts for generating rpm for alma nad rocky

* Adding public key authentication option

* Add postinst script and ssh configuration for using pubkey

* Add GCC 7 compatybility

* Cleanup includes, cleanup std::array usage

* Add Static String implementation

* Remove memory_resources

* Add monotonic_buffer_resource in experimental c++ imlpementation

* Use case insensitive map

* Remove not needed code
2024-09-03 20:28:12 +02:00
rublon-bwi
6a3882fa47
Bwi/v2.0.2 rc1 (#10)
* Remove unused options from rublon default config

* Remove safe|secure options

* Allow 9 digits long passcode for passcode bypass

* Change name of 'Mobile Passcode' to 'Passcode'

* Do not display any prompt when user is waiting

* remove unused alloca.h header

* Add autopushPrompt option

* Change name OTP method

* Change enrolement message handling

* ad static string ctor

* Addded postrm script

* Rename 01_rublon_ssh.conf to 01-rublon-ssh.conf

* restart sshd service after rublon package instalation

* Fix sshd not restarting bug on ubuntu 24.04

* disable logging from websocket-io

* change package name to match old package name

* Fix compilation issue when using non owning ptr

* Set version to 2.0.0
2024-06-17 08:57:26 +02:00
rublon-bwi
9415174eba
Bwi/bugfix round2 (#9)
* Fix log file access, refactor configuration reading class

* Remove bypass option in favor of failmode

* fix loging, print enrolment info

* Add EMAIL method

* Add yubi authentication method

* Add support for verification message

* Add verification

* Made changes in Vagrant's files to run different OSs

* Switch off tests and packages demands to run PAM on Debian 11

* Add authentication totp

* Changes in utils

* Remove unnessesary interface

* Changed vagrant files and postinstal script for Ubuntu 20 and 22

* Moved adding PasswordAuth to vagrant file from posinst

* Added ubuntu 24.04

* Set version

* Poprawki UI

* WebSocket implementation 

* Add totp authentication method

* fixup changes in utils

* Remove unnessesary interface and simplify code

* Remove "default" message handler from WebSocket class

* Change display names of known authentication methods

* Cleanup code in 'main' file

* Add CheckApplication

* Remove unused function

* Changed vagrant files and postinstal script for Ubuntu 20 and 22

* Moved adding PasswordAuth to vagrant file from posinst

* Added ubuntu 24.04

* Set version to 2.0.2

* Proper handle for missing configuration

* Fixup use value of optional object

* Add more vCPU/RAM to vagrant VM's + fix translations

* Minor WS fixes, translations

* Proper handler for Werification error

* Make use of prompt parameter

* Add max number of prompts

* remove unused code, fir includes

* Add Waiting status

* Add check application status check

---------

Co-authored-by: Madzik <m.w@linux.pl>
2024-05-28 12:04:20 +02:00
rublon-bwi
8ffa20fffa
Bwi/sms link (#8)
* generate user enrolement message

* cleanup

* Fix bugs found during testing

* Add yotp message [not verified]

* smsLink implementation

* implement SMS Link

* YOTP fixes

* Add SMS link
2024-02-13 16:50:45 +01:00
rublon-bwi
c3127e8b58
Bwi/bugfix (#7)
* generate user enrolement message
* Fix bugs found during testing
2024-01-25 16:30:12 +01:00
rublon-bwi
7715b6fb45
Bwi/ws based auth (#6)
* Add websocket implementation

* Added configuration for build socket-io and rublon connector
2023-12-11 18:02:21 +01:00
rublon-bwi
25b29e6f32
Bwi/logic fixes (#5)
* Code rafactoring, formating, add proper readout of operating system

* refactor
2023-10-26 10:13:01 +02:00
Bartosz Wieczorek
aa06a78ffe Fix user messages 2023-10-11 20:55:29 +02:00
Bartosz Wieczorek
82212e530a Merge branch 'main' of github.com:Rublon/rublon-ssh-cpp-private 2023-10-11 20:55:06 +02:00
rublon-jfr
1834b17c5c
Add default rublon.config, add missing 'git' prerequirement (#4) 2023-10-11 19:36:49 +02:00
Bartosz Wieczorek
db418ef01d Fix access to unknown object in json 2023-10-11 12:23:55 +02:00
Bartosz Wieczorek
626bcbd289 remove custom allocated resources from curl implementation 2023-10-06 11:34:39 +02:00
Bartosz Wieczorek
8e59ec88f0 Add more detailed logs 2023-10-06 07:46:01 +02:00
Bartosz Wieczorek
c47e03f991 Fail when user gives wrong code 2023-10-02 19:39:47 +02:00
Bartosz Wieczorek
056b99f526 fix use after free bug in coreHandler 2023-10-02 16:34:02 +02:00
Bartosz Wieczorek
2bf8127af3 Merge branch 'main' of github.com:Rublon/rublon-ssh-cpp-private 2023-10-02 10:43:41 +02:00
Bartosz Wieczorek
7b6a4440fb Creating package, improving user messages 2023-09-28 14:52:17 +02:00
rublon-jfr
a0e3b7979f
vagrant: fix setup files, add rapidjson dependency (#3) 2023-09-26 14:34:06 +02:00
rublon-bwi
51b14c57d2
Bwi/memory management (#2)
Improve memory management
2023-09-21 16:52:20 +02:00
Bartosz Wieczorek
6a4f2431fc move paminfo mock to deparate file 2023-08-23 11:52:32 +02:00
Bartosz Wieczorek
cd635de1d7 Merge branch 'main' of github.com:Rublon/rublon-ssh-cpp-private 2023-08-22 13:34:57 +02:00
Bartosz Wieczorek
700845e17a refactor 2023-08-22 13:34:40 +02:00
rublon-mmz
c548ec8b04
Adding OS for testing (#1)
* Adding OS for testing

* Shortening bash commands and adding vagrant files to gitignore

* Removing rapidjson package and adding debian 12 os
2023-08-16 14:52:01 +02:00
Bartosz Wieczorek
fa748d0a2c change error handling in library 2023-08-16 14:18:48 +02:00
Bartosz Wieczorek
d035219202 Remove template PAM from class defs 2023-08-07 11:40:38 +02:00
Bartosz Wieczorek
e9b65c294e Fix tests 2023-08-01 15:44:23 +02:00
Bartosz Wieczorek
96b11a1b74 refactor 2023-08-01 13:26:42 +02:00
Bartosz Wieczorek
843574499f ADD postMethod 2023-07-26 16:27:03 +02:00
Bartosz Wieczorek
e9f612753b fix build on debian 2023-07-24 13:25:48 +02:00
Bartosz Wieczorek
c052281006 Move init to own file 2023-07-21 14:55:59 +02:00
Bartosz Wieczorek
6709e29a6d Start OTP method implementation 2023-07-21 14:41:20 +02:00
Bartosz Wieczorek
3cb8567f42 Provide better LOG function, refactor cmake 2023-07-21 13:23:27 +02:00
Bartosz Wieczorek
5ad212cd62 Change directory structure 2023-07-21 10:55:06 +02:00
Bartosz Wieczorek
4f07c6527f cmake refactor 2023-07-21 09:43:47 +02:00
Bartosz Wieczorek
9d6790c3cf snapshot 2023-07-19 12:09:02 +02:00
Bartosz Wieczorek
dcab16178d init 2023-07-05 11:40:54 +02:00