Cardputer passkey banner

Cardputer passkey

3 devlogs
8h 7m

A YubiKey type fimware for M5Stack cardputer made with pico-fido.

This project uses AI

Used AI for help with ESP-IDF

gavhu10

I needed to have only one repo to simplify many things waves hand. First, I tried to make the pico-keys-sdk, which is a submodule of pico-fido, build by itself. This made sense because it had a main.c and an app_main function and I could not see how it interfaced with the main repo. However, ESP-IDF could not find the function. I fixed it with the help of many AI generated CMakeLists.txt files and other patches that led to more errors, but finally I got it to compile, although I moved almost every file in the process. The problem was that, although it would boot, it did not work as a security key. Then I realized that the thousands of lines of code in pico-fido probably did something, although what exactly they did was mysterious. Finally, I decided I would rather not deal with the obscure issues of ESP-IDF and Cmake and just made the pico-keys-sdk submodule a folder. The picture is a screenshot of the branch that I used in my first attempt.

Attachment
0
gavhu10

I added a confirmation to the key firmware. It was hard, but really only because their is no keyboard driver for esp-idf and the cardputer. I also managed to crash firefox lots of times.

Attachment
Attachment
0
gavhu10

This project is build on the powerful pico-fido project, so if you manage to build it, the security key part is basically done. However, putting a gui on it is much harder. I managed to put something on the screen though; watch this place!

Attachment
0