Help with new board Blue Pill Plus with gnuk

NIIBE Yutaka gniibe at fsij.org
Mon Feb 17 02:18:00 CET 2025


Frédéric SUEL <frederic.suel at free.fr> wrote:
> I find a new board made by WeAct Studio : Blue Pill Plus :
>
> -- https://weactstudio.aliexpress.com/

Thank you for sharing information.  It's new for me.

> *I test of gnuk 1.2.20 install on the board.*
[...]
>      Is key-attributes for key generate on the card or determine the 
> type of key you can put on the card with keytocard command ?
>
>      How to know witch keys Gnuk supports with keytocard command ?

It's an issue of UI of GnuPG.  UI of GnuPG is not (yet) kind enough to
inspect supported algorithm for key generation.  (GnuPG tries to
generate a key, asking a user.  There is no check.)

In newer OpenPGP card specifications, key attributes data object
(KEY-ATTR-INFO, in the term of gnupg/scd/app-openpgp.c) is introduced.
UI of GnuPG could use this data object, but it's not (yet) done.

We can inspect the data object, like (with Gnuk 2.2):

    $ gpg-connect-agent "scd getattr KEY-ATTR-INFO" /bye
    S KEY-ATTR-INFO OPENPGP.1 secp256k1
    S KEY-ATTR-INFO OPENPGP.1 ed25519
    S KEY-ATTR-INFO OPENPGP.1 ed448
    S KEY-ATTR-INFO OPENPGP.2 secp256k1
    S KEY-ATTR-INFO OPENPGP.2 cv25519
    S KEY-ATTR-INFO OPENPGP.2 cv448
    S KEY-ATTR-INFO OPENPGP.3 secp256k1
    S KEY-ATTR-INFO OPENPGP.3 ed25519
    S KEY-ATTR-INFO OPENPGP.3 ed448
    OK

> *Led*
>
> -----*
> *
>
> Led is slowly blinking (~ Off every two seconds for less than 1 second)
>
> --------
>
> Is it normal ? Can anyone explain to me the utility of this led ?

It's normal.  It shows status of CCID communication; Blinking means that
it's in use by scdaemon.

> *I also test of gnuk 2.2 install on the board.*
[...]
> 1) RSA support with key-attr is always available but doesn't work
> 2) I can't find with key-attr X448 or Ed448 support
>
> As anyone explanations about this results ?

Are you sure if it's Gnuk 2.2?  As the CLI interaction example above
shows, it works for me (no RSA, has X448 and Ed448 support).
-- 



More information about the Gnuk-users mailing list