summaryrefslogtreecommitdiff
path: root/client/client.py
Commit message (Collapse)AuthorAgeFilesLines
* Support both TLS encrypted sessions and plaintext sessionsSam Chudnick2022-07-041-5/+39
| | | | | | | | | | | | | Added support for both TLS and plaintext connections. Server can accept both types of connection simultaneously or in different combinations (i.e encrypted client and plaintext PAM). Added options for specifying dedicated TLS ports on server. Added --plain options for client and PAM to force plaintext connections, default is to use encrypted connections. Configuring encrypted client and PAM connections and plaintext server connections allows for use of a reverse proxy setup with something like nginx. This will avoid having to expose the MFA server directly in setups that traverse the internet.
* Implemented TLS encrypted connectionsSam Chudnick2022-07-041-8/+24
| | | | | | Implemented TLS encrypted connections. Added command line argument and configuration file option to accept invalid (self-signed) certificates. Fixed a couple of unrelated issues.
* Better error handling if server disconnectsSam Chudnick2022-07-031-1/+8
|
* Read options from config fileSam Chudnick2022-07-021-23/+41
| | | | | | | Set a standardized configuration file location and read options from there. Allow for specifiying alternate location on command line. Options can still be specified on the command line, and any command line options take priority over those given in the configuration file.
* Added support for TOTPSam Chudnick2022-06-301-4/+27
| | | | | | Added TOTP as an MFA option. Also made a couple of of minor changes. Changed all database connections to use with statement. Read some options from a config file.
* Initial commitSam Chudnick2022-06-271-0/+90