Skip to content
This repository has been archived by the owner on Jun 3, 2020. It is now read-only.

Commit

Permalink
Initial YubiHSM2 support
Browse files Browse the repository at this point in the history
Adds a `yubihsm` cargo feature with support for generating signatures
using Ed25519 keys stored in YubiHSM2 devices (accessed via USB).

Also adds a set of `yubihsm` subcommands:

- `detect`: print a list of detected YubiHSM2 devices and their serials
- `keys generate`: generate an Ed25519 key within the YubiHSM2
- `keys list`: list the keys within the YubiHSM2
  • Loading branch information
tony-iqlusion committed Oct 11, 2018
1 parent 12d347c commit 316ad04
Show file tree
Hide file tree
Showing 49 changed files with 1,248 additions and 487 deletions.
26 changes: 14 additions & 12 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,29 @@ jobs:
- run:
name: build (default features)
command: |
rustc --version
cargo --version
rustc --version
cargo --version
cargo build
cargo build --release
- run:
name: build (all features)
name: build --all-features (debug)
command: |
rustc --version
cargo --version
rustc --version
cargo --version
cargo build --all-features
- run:
name: build (--features=yubihsm-provider --release)
# NOTE: we can't build --all-features --release because one of the
# features is `yubihsm-mock` which can't be used in release builds
name: build --features=yubihsm --release
command: |
rustc --version
cargo --version
cargo build --features=yubihsm-provider --release
rustc --version
cargo --version
cargo build --features=yubihsm --release
- run:
name: test (all features)
name: test --all-features
command: |
rustc --version
cargo --version
rustc --version
cargo --version
cargo test --all-features
- run:
name: audit
Expand Down
Loading

0 comments on commit 316ad04

Please sign in to comment.