It seems to not always be possible to import the ECC NIST-P521 keys to all slots of the OpenPGP smart card.
I managed to import Authentication subkey to slot 3, but failed with other two.
I have searched for similar tickets, but not found any.
Before the import the slots attributes were set with scdaemon directly (as below), did not help either.
gpg-connect-agent "SCD SETATTR KEY-ATTR --force 1 19 nistp521" gpg-connect-agent "SCD SETATTR KEY-ATTR --force 2 18 nistp521" gpg-connect-agent "SCD SETATTR KEY-ATTR --force 3 19 nistp521"
- GnuPG 2.2.25, built from sources.
- Nitrokey Pro2 with OpenPGP 3.3.
root@stumpy:/app# gpg-connect-agent "GETINFO version" D 2.2.25 root@stumpy:/app# gpg --version gpg (GnuPG) 2.2.25 libgcrypt 1.8.7
Logs from scdaemon ("filtered" is with status updates removed) and run logs (short and full) attached.