OpenPGP smartcard and P-256 in non expert mode

2022-08-11 Thread Sosthène Guédon | Nitrokey via Gnupg-users
Hi! I don't understand why generating a key on a smartcard only offers Curve25519 and P-384 for ECC cryptography unless the --expert flag is used. P-384 is offered even when the hardware key doesn't support it and other curves which the hardware supports are not offered which is confusing. Why

Re: OpenPGP smartcard and P-256 in non expert mode

2022-08-11 Thread Sosthène Guédon | Nitrokey via Gnupg-users
Hi! Please share your GnUPG version and the type of smartcard you are using with us. A 9 year old commit is not very helpful. I'm using gpg 2.2.36 and a OpenPGP smart card implementation we are currently developing. You're right the commit itself isn't very helpful, here are is the code

Re: OpenPGP smartcard and P-256 in non expert mode

2022-08-11 Thread Sosthène Guédon | Nitrokey via Gnupg-users
n 8/11/22 15:30, Ingo Klöcker wrote Only experts will be able to make an educated decision between P-256 and P-384. It's good to give "normal" people less choice by default because more choice will just confuse them even more. Even having to choose between Curve25519 and P-384 will be too much