polhenarejos / pico-openpgp

Converting a Raspberry Pico into an OpenPGP CCID smart card.
https://www.picokeys.com
GNU General Public License v3.0
55 stars 8 forks source link

patch_vid not working #1

Closed jpph closed 1 year ago

jpph commented 1 year ago

Hello, The script patch_vid seems not working (the regex is wrong). File is not modified. I had to use a hexeditor and modify the file by hand. Regards,

polhenarejos commented 1 year ago

Solved in 418fa9c14380067cff673cfb7000d7838956c038

do8pgg commented 1 year ago

It doesn't work on 1.10. At 1.8 already.

Any ideas?

./patch_vidpid.sh 1050:0406 pico_openpgp_waveshare_rp2040_zero-1.10.uf2 yub_openpgp.uf2 […] Patching pico_openpgp_waveshare_rp2040_zero-1.10.uf2... Patched file was saved in yub_openpgp.uf2

sudo picotool load -v -x yub_openpgp.uf2 -t uf2

lsusb|grep Pico Bus 001 Device 055: ID feff:fcfd Pol Henarejos Pico Key

1.8: Bus 001 Device 057: ID 1050:0406 Yubico.com Yubikey 4/5 U2F+CCID