Help with new board Blue Pill Plus with gnuk

Frédéric SUEL frederic.suel at free.fr
Sun Feb 16 19:17:42 CET 2025


Hi,

I find a new board made by WeAct Studio : Blue Pill Plus :

-- https://weactstudio.aliexpress.com/

-- 
https://stm32-base.org/boards/STM32F103C8T6-WeAct-Blue-Pill-Plus-Clone.html#User-button

This board exist with 4 ARM-Cortex M3 processors :

-- STM32F103 C8    : 
https://github.com/WeActStudio/BluePill-Plus/tree/master

-- STM32F103 CB

-- APM32F103 CB     : 
https://github.com/WeActStudio/WeActStudio.BluePill-Plus-APM32/tree/main

-- GD32F103 CB         : 
https://github.com/WeActStudio/WeActStudio.BluePill-Plus-GD32/tree/main

But also with 3 RISC-V processors :

-- CH32F103 C8 : 
https://github.com/WeActStudio/WeActStudio.BluePill-Plus-CH3

-- CH32V103 C8

-- CH32V203 C8

--------

As anyone compile Gnuk for this board ?

--------

------------------------------------------------------------------------------------------*
*

*I Try to compile for board Blue Pill PLUS STM32F103 CB*

------------------------------------------------------------------------------------------*
*

/->  without the use of keyuser for instance, because it use PA0 witch 
is necessary for NEUG operations*
*/

This board is very close to FST-01, so i just :

-- create a /chopstx/board/board-blue-pill-plus-cb.h (version STM32F103 
CT6 128 Ko)

-- add a #define in /chopstx/mcu/sys-stm32f103.h

-- add the board in /chopstx/contrib/adc-stm32f103.c   in the function 
get_adc_config () in the case choice where there is ST-DONGLE and 
FST-01SZ (AN0 & AN1) . I doesn't take care for instance about 
acknowledge button in PA0

-- add the board in /src/configure as an option of configuration only. 
It processor is a STMF103 CBT6 72 Mhz, 128ko 20ko

--------

     Did i forgot to modify some files ?

--------

----------------------------------------------------------------*
*

*I test of gnuk 1.2.20 install on the board.*

----------------------------------------------------------------*
*

It seems to work fine, but :

*Keys selection*

*-----------------------_
_*

-- with key-attr, i can select, with gpg 2.2.40 or 2.4.4:

     - 1) rsa

      - 2) ECC -->    1) curve 25519

                             4) NIST P-384

                             6) Brainpool (/choice/ /not available with 
gpg 2.2.40/)

*Keys generation on the board*

*-----------------------------------------------
*

     -- rsa 2048 works and i can generate keys

     -- /ras4096 seems to work, but keys generation fails
/

     -- curve 25519 works  and i can generate keys

     --/NIST doesn't work. I can select choice 4), but nothing change 
when i use list command  (gpg 2.2.40 and gpg 2.4.4)
/

     -- /Brainpool //doesn't work. I can select choice 6), butnothing 
change when i use list command (gpg 2.4.4, with gpg 2.2.40 Brainpool 
choice is not available)/

--------

     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 ?

*Keys generation on the PC (curve keys) and transfer to the board*

---------------------------------------------------------------------------------------------------------*
*

It works fine with Gniibe documentation.*_
_*

*Keys operation*

------------------------*
*

Both for keys generation on the board and keys generation (Curve 25519) 
on the PC and transfer to the board, Sign, crypt/decrypt, 
sign+crypt/decrypt operations works

*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 ?

--------

--------------------------------------------------------------------

*I also test of gnuk 2.2 install on the board.*

--------------------------------------------------------------------

It seems to work fine, but :

*Keys selection*

-----------------------

-- with key-attr, i can select, with gpg 2.2.40 or_2.4.4_:

     - 1) rsa

      - 2) ECC --> 1) curve 25519 *default*

                         4) NIST P-384

                         6) Brainpool P-256 (/choice/ /not available 
with gpg 2.2.40/)

*Keys generation on the board*

-----------------------------------------------

     -- rsa 2048 seems to work,/but list command always show ed/cv/ed 
and generation isn't possbile
/

     -- /ras4096 seems to work, but //list command always show ed/cv/ed 
//and generation isn't possbile/

     -- curve works  and i can generate keys

     --/NIST doesn't work. I can select choice 4), but nothing change 
when i use list command  (gpg 2.2.40 and gpg 2.4.4)
/

     -- /Brainpool //doesn't work. I can select choice 6), butnothing 
change when i use list command (gpg 2.4.4, with gpg 2.2.40 Brainpool 
choice is not available)/

*Keys generation on the PC (curve keys) and transfer to the board*

---------------------------------------------------------------------------------------------------------*
*

It works fine with Gniibe documentation.*_
_*

*Keys operation*

------------------------*
*

Both for keys generation on the board and keys generation (Curve 25519) 
on the PC and transfer to the board, Sign, crypt/decrypt, 
sign+crypt/decrypt operations works

*Led*

-----*
*

Led is slowly blinking (~ Off every two seconds for less than 1 second)

--------

All the results for gnuk 2.2 version don't correspond to the Gnuk 2.x 
functionalities announced on the list the 06/09/2023 :

 From NEWS, here is major changes in Gnuk 2.1

* Ed448 and X448 support.
Ed448 and X448 support are added.  This support is experimental.

* Removal of RSA support.
RSA support has been removed.

* Removal of NIST P-256 support.
NIST P-256 curve support has been removed.

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 ?

-----------------------------------------------------------------

Best regards




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnuk-users/attachments/20250216/9156e5c8/attachment.html>


More information about the Gnuk-users mailing list