# Nitrokey 3A NFC : RSA 4096

**URL:** https://support.nitrokey.com/t/nitrokey-3a-nfc-rsa-4096/5513
**Category:** Nitrokeys
**Created:** [October 17, 2023, 11:53am UTC](https://support.nitrokey.com/t/nitrokey-3a-nfc-rsa-4096/5513 "2023-10-17T11:53:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Daniel\_k](https://support.nitrokey.com/user_avatar/support.nitrokey.com/daniel_k/32/1500_2.png) [@Daniel\_k](https://support.nitrokey.com/u/Daniel_k)
#### Post date: [October 17, 2023, 11:53am UTC](https://support.nitrokey.com/t/nitrokey-3a-nfc-rsa-4096/5513/1 "2023-10-17T11:53:19Z")

</div>

Hi,

I tried to generate RSA 4096 keys on the Nitrokey 3A and received the following error:

```auto
gpg: key generation failed: Card error
Key generation failed: Card error

```

Is there a target date when generating RSA4096 keys will be possible in the Nitrokey 3 itself?

Best regards,  
Daniel

---

<div class="post-metadata">

### Author: ![Daniel\_k](https://support.nitrokey.com/user_avatar/support.nitrokey.com/daniel_k/32/1500_2.png) [@Daniel\_k](https://support.nitrokey.com/u/Daniel_k)
#### Post date: [October 17, 2023, 12:24pm UTC](https://support.nitrokey.com/t/nitrokey-3a-nfc-rsa-4096/5513/2 "2023-10-17T12:24:41Z")

</div>

```auto
Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? O
gpg: key generation failed: Card error
Key generation failed: Card error

```

This error also appears when generating RSA2048 keys on the same **Nitrokey 3A NFC**.

The solution to this problem was to _factory-reset_ the Nitrokey and start the generate process again using `gpg --edit-card` in admin mode.

Best regards,  
Daniel
