Package Details: nitrokey-app2 2.5.2-1

Git Clone URL: https://aur.archlinux.org/nitrokey-app2.git (read-only, click to copy)
Package Base: nitrokey-app2
Description: Nitrokey management application for Nitrokey 3 devices
Upstream URL: https://github.com/Nitrokey/nitrokey-app2
Licenses: Apache-2.0
Submitter: jnphilipp
Maintainer: jnphilipp
Last Packager: jnphilipp
Votes: 12
Popularity: 0.36
First Submitted: 2023-11-01 20:46 (UTC)
Last Updated: 2026-04-17 11:44 (UTC)

Pinned Comments

jnphilipp commented on 2026-04-17 11:45 (UTC)

Going back to 2.5.2 and keeping it there until python-nitrokey Version in the Arch Repos is updated.

Latest Comments

1 2 Next › Last »

jnphilipp commented on 2026-04-17 11:45 (UTC)

Going back to 2.5.2 and keeping it there until python-nitrokey Version in the Arch Repos is updated.

post-factum commented on 2026-04-17 10:55 (UTC) (edited on 2026-04-17 10:56 (UTC) by post-factum)

v2.6.0 requires python-nitrokey to be v0.5.0-rc.1, but as it's an -rc prerelease, it's not in Arch repos yet, hence nitrokey-app2 is currently effectively broken.

See this: https://github.com/Nitrokey/nitrokey-app2/commit/dce493932cd5bbf687487642c9b2bc447e3982b2

rinhin commented on 2026-04-07 07:06 (UTC)

I just insztalled the app, but it doesn't start:

❯ nitrokeyapp   
Traceback (most recent call last):
  File "/usr/bin/nitrokeyapp", line 5, in <module>
    from nitrokeyapp.__main__ import main
  File "/usr/lib/python3.14/site-packages/nitrokeyapp/__main__.py", line 8, in <module>
    from nitrokeyapp.gui import GUI
  File "/usr/lib/python3.14/site-packages/nitrokeyapp/gui.py", line 13, in <module>
    from nitrokeyapp.device_data import DeviceData
  File "/usr/lib/python3.14/site-packages/nitrokeyapp/device_data.py", line 13, in <module>
    from nitrokeyapp.utils import should_use_ccid
  File "/usr/lib/python3.14/site-packages/nitrokeyapp/utils.py", line 3, in <module>
    from nitrokey.trussed import should_default_ccid
ImportError: cannot import name 'should_default_ccid' from 'nitrokey.trussed' (/usr/lib/python3.14/site-packages/nitrokey/trussed/__init__.py)

jnphilipp commented on 2025-08-20 06:16 (UTC) (edited on 2025-08-20 06:19 (UTC) by jnphilipp)

The python-nitrokey update to version 0.4.0 moved the module nitrokey.nk3.updates. https://github.com/Nitrokey/nitrokey-sdk-py/releases/tag/v0.4.0

And these changes aren't merged yet into the nitrokey app. https://github.com/Nitrokey/nitrokey-app2/pull/363

vyzu commented on 2025-08-19 20:20 (UTC)

Hello ! I don't know if it is directly related to this package or its dependencies, but when I try to launch nitrokeyapp I get this error:

Traceback (most recent call last):
  File "/usr/bin/nitrokeyapp", line 5, in <module>
    from nitrokeyapp.__main__ import main
  File "/usr/lib/python3.13/site-packages/nitrokeyapp/__main__.py", line 8, in <module>
    from nitrokeyapp.gui import GUI
  File "/usr/lib/python3.13/site-packages/nitrokeyapp/gui.py", line 12, in <module>
    from nitrokeyapp.device_data import DeviceData
  File "/usr/lib/python3.13/site-packages/nitrokeyapp/device_data.py", line 9, in <module>
    from nitrokeyapp.update import Nk3Context, UpdateGUI
  File "/usr/lib/python3.13/site-packages/nitrokeyapp/update.py", line 19, in <module>
    from nitrokey.nk3.updates import Updater, UpdateUi, Warning
ModuleNotFoundError: No module named 'nitrokey.nk3.updates'

speed488 commented on 2024-12-24 17:56 (UTC) (edited on 2025-01-12 15:01 (UTC) by speed488)

EDIT : Noticed that this issue is a system config issue and not a package issue

If ever you get this error: No module named 'nitrokeyapp'

Remove python-usb_monitor and nitrokey-app2 and re-install (make sure the package is not cached when re-installing). This will install the python libraries in the proper location (/usr/lib/python3.13/site-packages/ at the time of updating this message).

----- Original message -----

Looks like there was a python version bump which causes this error: No module named 'nitrokeyapp'

A temp fix is to link packages from old Python version to new one: (WARNING! You need to revert these links before updating your AUR packages)

ln -s /usr/lib/python3.12/site-packages/nitrokeyapp /usr/lib/python3.13/site-packages/nitrokeyapp
ln -s /usr/lib/python3.12/site-packages/nitrokeyapp-2.3.3.dist-info /usr/lib/python3.13/site-packages/nitrokeyapp-2.3.3.dist-info
ln -s /usr/lib/python3.12/site-packages/usbmonitor /usr/lib/python3.13/site-packages/usbmonitor
ln -s /usr/lib/python3.12/site-packages/usb_monitor-1.21.dist-info /usr/lib/python3.13/site-packages/usb_monitor-1.21.dist-info

To revert these links, do this:

rm /usr/lib/python3.13/site-packages/nitrokeyapp
rm /usr/lib/python3.13/site-packages/nitrokeyapp-2.3.3.dist-info
rm /usr/lib/python3.13/site-packages/usbmonitor
rm /usr/lib/python3.13/site-packages/usb_monitor-1.21.dist-info

THIS IS ONLY A TEMP FIX UNTIL THE AUR PACKAGES ARE UPDATED

----- END of original message -----

jnphilipp commented on 2024-09-27 06:35 (UTC)

@Macarena since 2.3.2 it doesn't run with python-pynitrokey any more, it needs now python-nitrokey. See https://github.com/Nitrokey/nitrokey-app2/pull/264

Macarena commented on 2024-09-25 11:24 (UTC)

Hi,

I had trouble to install the update of this package into my manjaro system.

After changing the build file it runs without error. Have changed in dependencies the python-nitrokey to python-pynitrokey.

pkgname=nitrokey-app2 pkgver=2.3.2 depends=('python-pynitrokey' ....

I would be happy if you check this change and consider to include it in your package.

Regards

pescepalla commented on 2024-04-29 20:21 (UTC) (edited on 2024-04-29 20:23 (UTC) by pescepalla)

Traceback (most recent call last):
  File "/usr/bin/nitrokeyapp", line 5, in <module>
    from nitrokeyapp.__main__ import main
 File "/usr/lib/python3.11/site-packages/nitrokeyapp/__main__.py", line 10, in <module>
    from nitrokeyapp.gui import GUI
  File "/usr/lib/python3.11/site-packages/nitrokeyapp/gui.py", line 20, in <module>
    from nitrokeyapp.error_dialog import ErrorDialog
  File "/usr/lib/python3.11/site-packages/nitrokeyapp/error_dialog.py", line 8, in <module>
    from nitrokeyapp.logger import save_log
ModuleNotFoundError: No module named 'nitrokeyapp.logger'

If the above happens after running the executable, it means the file https://github.com/Nitrokey/nitrokey-app2/blob/main/nitrokeyapp/logger.py needs to be manually copied into /usr/lib/python3.12/site-packages/nitrokeyapp directory.