Nitrokey 3: factory-reset and uif change do not work

Hello!

I use the following software with Nitrokey 3A NFC:
Linux Ubuntu 22.04.3 LTS and gpg (GnuPG) 2.4.3 with libgcrypt 1.10.2.

when I enter a gpg command via Terminal I get the following message before gpg executes the command (I do not know if this is relevant for my problems):

gpg: WARNING: server ‘gpg-agent’ is older than us (2.2.27 < 2.4.3)
gpg: Note: Outdated servers may lack important security fixes.
gpg: Note: Use the command “gpgconf --kill all” to restart them.
gpg: WARNING: server ‘scdaemon’ is older than us (2.2.27 < 2.4.3)
gpg: Note: Outdated servers may lack important security fixes.
gpg: Note: Use the command “gpgconf --kill all” to restart them.

Two functions of my Nitrokey 3A NFC do not work properly with $gpg --edit-card:

  1. factory-reset:

gpg/card> factory-reset
gpg: OpenPGP card no. [my card number] detected

gpg: Note: This command destroys all keys stored on the card!

Continue? (y/N) y
Really do a factory reset? (enter “yes”) yes
sending card command SELECT AID failed: Bad secret key

  1. UIF setting:

gpg/card> uif 1 on
gpg: error for setup UIF: Invalid name

Who can help?

Many thanks in advance.