You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behaviour: Compile Nitrokey-app2 (GUI) from source for macOS Current behaviour: I cannot compile the Nitrokey-app2; One needs to edit the make file due to being outdated. The official Nitrokey compilation instructions are way too outdated and need to be adapted. brew tap homebrew/cask-drivers is deprecated as Nitrokey/nitrokey-app#496 (comment) points out for the Nitrokey-app. This is tedious and confusing. Why are there two different applications? The software of other vendors works without any hassle...
poetry shell is deprecated and not used anymore. trove-classifiers need to be installed separately.
The last command nitrokeyapp results in zsh: command not found: nitrokeyapp . What am I doing wrong? Where does the compiled binary output get saved to? macOS
24.3.0 Darwin Kernel Version 24.3.0 arm arm64
The text was updated successfully, but these errors were encountered:
| One needs to edit the make file due to being outdated
You can change the used Python version by passing this variable on the commandline with make PYTHON="python3.13" <target>. The Makefile value is just the best default for us, as it works on Linux distributions.
| Why are there two different applications?
The old Nitrokey App supports the Nitrokeys before version 3 and Passkey. The Nitrokey App 2 is for the newer devices.
In case you're not aware of it. The Nitrokey App2 releases have macOS PKG installer files. These aren't signed but should work on macOS. We are working on it to also sign them.
The documentation also describes another method to install the application.
Now to your question about how to compile the application from source.
Install Python, at least version 3.9.
Install Poetry.
Clone the repository.
Change to the repository directory.
make PYTHON="python3.13" init
Either, make build, make build-pyinstaller-onefile, or make build-pyinstaller-onedir.
make build builds a Python wheel.
make build-pyinstaller-onefile builds a Pyinstaller executable containing all dependencies in one binary.
make build-pyinstaller-onedir builds a Pyinstaller executable containing all dependencies in a directory.
Expected behaviour: Compile Nitrokey-app2 (GUI) from source for macOS
Current behaviour: I cannot compile the Nitrokey-app2; One needs to edit the make file due to being outdated. The official Nitrokey compilation instructions are way too outdated and need to be adapted.
brew tap homebrew/cask-drivers
is deprecated as Nitrokey/nitrokey-app#496 (comment) points out for the Nitrokey-app. This is tedious and confusing. Why are there two different applications? The software of other vendors works without any hassle...Steps to reproduce:
poetry shell
is deprecated and not used anymore.trove-classifiers
need to be installed separately.The last command
nitrokeyapp
results inzsh: command not found: nitrokeyapp
. What am I doing wrong? Where does the compiled binary output get saved to?macOS
24.3.0 Darwin Kernel Version 24.3.0 arm arm64
The text was updated successfully, but these errors were encountered: