Skip to content

hybridgroup/tinygo-tkey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tinygo-tkey

PkgGoDev Build

This package is to develop applications using TinyGo on the Tillitis TKey-1, an open source, open hardware FPGA-based USB security token.

Protocol

The tinygo-tkey package includes an implementation of the Tillitis framing protocol for communication between the device and client.

This can be used for device applications that run on the TKey hardware written using TinyGo. Of course, it pairs nicely with client applications written using "big" Go.

See the package documentation for more information, as well as the code in this repo.

Examples

Blinker

tkey led

Example application for TKey written using TinyGo for the device application and Go for the client application.

Device application

To compile and flash the TKey with the device application:

tinygo flash -size short -target=tkey ./examples/blinker/app

The LED should start blinking green every half second.

Client application

Now you can run the command line client application on your computer:

go run ./examples/blinker/cmd --led 0 --timing 250

The LED should now be blinking blue every 250 ms.

Signer

ed25519 signing tool that runs on the TKey hardware device.

It can be used by the tkey-ssh-agent application for SSH authentication, and by the tkey-sign application for providing digital signatures of files.

See the README.md for more information.

About

Develop applications for the Tillitis TKey-1 an open source, open hardware FPGA-based USB security token using TinyGo

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published