Live data from Hacker News

Tomu, a tiny ARM microprocessor which fits in your USB port

tomu.im

11–20 of 91 posts

Re: Tomu, a tiny ARM microprocessor which fits in your USB port

#11

would it be difficult/possible to use this as a smart card with the proper code?

GnuK (http://www.fsij.org/doc-gnuk/) implements an OpenGPG Smart Card. Unfortunately, it targets STM32 chips with 128KB flash and 20KB DRAM, and the EFM32HG309 in the Tomu is only 64KB/8KB. I don't know how much work it would be to squeeze the code into the Tomu.

Re: Tomu, a tiny ARM microprocessor which fits in your USB port

#13
post #2

Neat little device, looks like a Yubikey clone. One could get a similar device by hacking a Logitech unifying receiver, which contains a ..16MHz 8051 clone in it, and a radio to spare.

A Yubikey clone where you have to tap out a passcode (morse code style) might be neat.

Re: Tomu, a tiny ARM microprocessor which fits in your USB port

#15

Earlier quoted context omitted.

thats ultimately the intent, to build a Yubikey-like security key, with everything open down through the firmare to the details of the soc

One key (pardon the pun) requirement of a 2FA key is that it can't be cloned - how would this be prevented? Can the microprocessor be locked to prevent reading its flash memory?

Newer microcontrollers like the Microchip(nee Atmel) SAM-L11 are implementing ARM TrustZone with hardware security features.

Re: Tomu, a tiny ARM microprocessor which fits in your USB port

#16

Earlier quoted context omitted.

thats ultimately the intent, to build a Yubikey-like security key, with everything open down through the firmare to the details of the soc

One key (pardon the pun) requirement of a 2FA key is that it can't be cloned - how would this be prevented? Can the microprocessor be locked to prevent reading its flash memory?

it can be read protected. https://www.makomk.com/2016/01/23/openpgp-crypto-token-using...

Re: Tomu, a tiny ARM microprocessor which fits in your USB port

#17
post #11

would it be difficult/possible to use this as a smart card with the proper code?

GnuK ( http://www.fsij.org/doc-gnuk/ ) implements an OpenGPG Smart Card. Unfortunately, it targets STM32 chips with 128KB flash and 20KB DRAM, and the EFM32HG309 in the Tomu is only 64KB/8KB. I don't know how much work it would be to squeeze the code into the Tomu.

You should be able to use other chips in the EFM32 family as a drop in replacement, obviously requires soldering your own board. Seem to be available with up to 128K flash and 16K RAM.

Of course the GnuK site lists some STM32 boards designed specifically to run GnuK. Or if you don't care about open hardware you can buy a $2 STLink clone on aliexpress and flash GnuK on it.

Re: Tomu, a tiny ARM microprocessor which fits in your USB port

#18

Earlier quoted context omitted.

thats ultimately the intent, to build a Yubikey-like security key, with everything open down through the firmare to the details of the soc

One key (pardon the pun) requirement of a 2FA key is that it can't be cloned - how would this be prevented? Can the microprocessor be locked to prevent reading its flash memory?

The micro in Tomu is like most other modern micros, in that it has multiple lock bits around access to flash, for various purposes. Specifically, one bit prevents anything but the running program - ie the debug port - from reading flash.

The only way to clear that bit is to erase the entire flash, with the notable exception of the user data section, so don't put the secret in there :).

Relevant recent discussion: https://news.ycombinator.com/item?id=17587673

Re: Tomu, a tiny ARM microprocessor which fits in your USB port

#19
I can recommend the DigiSpark as a cheaper, slower, alternative that works with the Arduino IDE [1]. Somebody could easily get it into a smaller form factor.

I've bought some of the official versions in their KickStarter and whenever I buy through some company/research funding - but can also recommend the cheaper Chinese implementations to be just as good for projects.

[1] http://digistump.com/products/1

Post reply on HN