coreos/libyubihsm-rs

Name: libyubihsm-rs

Owner: CoreOS

Description: null

Created: 2018-01-23 23:29:22.0

Updated: 2018-05-09 08:47:42.0

Pushed: 2018-04-25 21:07:40.0

Homepage: null

Size: 745

Language: Rust

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

libyubihsm-rs Build Status

Rust library for interfacing with the YubiHSM2.

Requirements

libyubihsm-rs requires the YubiHSM2 SDK in order to build. Once downloaded, libyubihsm.so.1 (and a matching libyubihsm.so symlink) should be placed in the system library directory.

Usage

Before working with the YubiHSM2, it's recommended to read the Concepts page in the YubiHSM2 documentation. As explained there, most of the YubiHSM2's functionality requires the use of a Session. Sessions can be created through a Connector, which connects to a running instance of yubihsm-connector (which is included in the SDK). Once a Session has been obtained, it can be used for cryptographic functions provided by the YubiHSM2.

libyubihsm-rs is published on crates. It can be added as a dependency by adding the following to your Cargo.toml:

endencies.libyubihsm]
ion = "0.1"
Documentation

Documentation is not currently hosted anywhere, but can be built by cloning this repository and running cargo doc.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.