scd: change_keyattr_from_string for ECC.

Werner Koch wk at gnupg.org
Mon Jul 20 16:25:43 CEST 2015


On Sat, 18 Jul 2015 04:25, gniibe at fsij.org said:

>> $ gpg-connect-agent "SCD SETATTR KEY-ATTR --force 3 22 ed25519" /bye
>
> While this (change to ECC) works, I wonder how we could implement
> changing back to RSA from ECC.

Why not use

  SCD SETATTR KEY-ATTR --force 3 1 rsa2048

and handle card specific details in app-openpgp.c ?


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gnupg-devel mailing list