Skip to content

gm3197/zymbitgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zymbitgo

A golang wrapper for the Zymbit App Utils library as used with their Zymkey HSM, SCM, and SEN products.

Cross-compiling

This project is intended for use with the SCM and SEN, both Raspberry PI Compute Module based devices. As such, projects which use this package may need to be cross compiled to the arm64 architecture, depending on your host architecture. A Crosstool-NG configuration file is available with this package crosstool.cfg. This configuration will build a toolchain that targets arm64 architecture, as well as builds a version of gcc which uses the correct glibc version for the CGO linking for these zymbit devices. Add the built toolchain to your $PATH, then build your project which uses this package with a command like:

CC=aarch64-unknown-linux-gnu-gcc CGO_ENABLED=1 GOOS=linux GOARCH=arm64 go build

You may need to adjust the CC variable to match the gcc binary generated by crosstool.

keys package

The turret.sh/zymbitgo/keys package provides a Golang idiomatic wrapper around the cryptographic functions available on zymbit keys. The Key object implements crypto.Signer for use with standard Golang packages.

About

A golang library for interacting with Zymbit HSMs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors