OpenXG

Free, open source Sophos XG Authenticator

OpenXG is a free and open source Sophos XG authenticator built on my libopenxg library.

It was previously a CLI application, but it's now a GUI application built with egui with additional features. OpenXG is written in Rust.

Advantages




Installation

Simply download the latest release for your operating system from the releases page and extract the .zip file.

There are no precompiled MacOS binaries because I don't have a mac to compile on and the cross-compile process looks like a complete pain and altogether not worth it. You can still compile from source.




Compile from source (Code can be checked)

  1. Install Rust Stable from your package manager or rust-lang.org/tools/install
  2. Clone the repository (github.com/Alex-Programs/openxgauthenticator) to your local machine
  3. Open the repository in a terminal and go into the openxgauthenticator directory
  4. [Optional] read the code in the src directory to check that it's safe.
  5. Run cargo build --release
  6. Wait for compilation to complete. Subsequent compilations should be faster.
  7. Your compiled binary executable should be in the target/release folder. There will be additional files alongside the executable - the executable should just be the file openxgauthenticator for Linux, or openxgauthenticator.exe for Windows



Usage

Move openxgauthenticator to a directory where you can easily access it and run it. Setup your configuration in the GUI and click "Save".

You may want to set it up to run at startup or create a shortcut, but this isn't necessary, and the executable is standalone.

Previous Version

OpenXG was previously a CLI application. You can still download the old Linux version from here and the old Windows version from here. The source code is under the openxgauthenticator-cli folder in the github repository.

libopenxg

You can use libopenxg to build your own Sophos XG authenticator. It's a library written in Rust that handles firewall communication. It's available on crates.io.




OpenXGAuthenticator GitHub

libopenxg Github

My GitHub