- Clone this git repository.
- Follow https://tauri.app/start/prerequisites/ to install build dependencies.
- Build the GUI project:
npm install && npm run tauri build - The final binary is located at
src-tauri/target/release/keyui. For more advanced distribution options refer to Tauri docs.
A language backend connects to the KeyUI at runtime using an api.jar file and performs the proof operations.
There currently exist two language backends for Java and Rust.
- Install the Java JDK and gradle.
- Clone the key repo with the
api-branchoffbranch:git clone https://github.com/MrGunflame/key && cd key && git checkout api-branchoff. - Build the
api.jar:./gradlew shadowJar. - The final
api.jaris located atkeyext.api/build/libs/keyext.api-*.jar.
- Install the Java JDK and gradle.
- Install a Rust toolchain using rustup.
- Clone the key repo with the
api-branchoffbranch:git clone https://github.com/MrGunflame/key && cd key && git checkout api-branchoff-plus-rusty-key. - Fetch submodules:
git submodule update --init --recursive. - Install the
cargo-keyextension:cd rust-wrapper && cargo install --path crates/cargo-key && cd ... - Build the
api.jar:./gradlew shadowJar. - The final
api.jaris located atkeyext.api/build/libs/keyext.api-*.jar.
Running keyui requires installation of the following prerequisites:
WebView2(See Tauri Docs)java(Must be available in $PATH)
You need a backend language server (see previous build instructions) to run the KeyUI.
The api.jar will be loaded from the working directory.
If you always start the keyui executable from current directory or via a GUI,
place the api.jar in the same directory as the executable keyui[.exe] binary.