14 releases (5 breaking)

new 0.5.2 May 3, 2021
0.4.1 Apr 19, 2021
0.3.1 Mar 23, 2021

#553 in Cryptography

Download history 13/week @ 2021-01-29 16/week @ 2021-02-05 27/week @ 2021-02-12 4/week @ 2021-02-19 22/week @ 2021-02-26 25/week @ 2021-03-05 3/week @ 2021-03-12 29/week @ 2021-03-19 625/week @ 2021-03-26 980/week @ 2021-04-02 115/week @ 2021-04-09 73/week @ 2021-04-16 56/week @ 2021-04-23 45/week @ 2021-04-30

663 downloads per month
Used in less than 6 crates

Apache-2.0

71KB
1.5K SLoC

ockam_vault

crate docs license discuss

Ockam is a library for building devices that communicate securely, privately and trustfully with cloud services and other devices.

In order to support a variety of cryptographically capable hardware we maintain loose coupling between our protocols and how a specific building block is invoked in a specific hardware. This is achieved using an abstract Vault trait.

A concrete implementation of the Vault trait is called an Ockam Vault. Over time, and with help from the Ockam open source community, we plan to add vaults for several TEEs, TPMs, HSMs, and Secure Enclaves.

This crate provides a software-only Vault implementation that can be used when no cryptographic hardware is available. The primary Ockam crate uses this as the default Vault implementation.

The main Ockam has optional dependency on this crate.

Usage

Add this to your Cargo.toml:

[dependencies]
ockam_vault = "0.5.2"

Crate Features

The ockam_vault crate has a Cargo feature named "std" that is enabled by default. In order to use this crate in a no_std context this feature can disabled as follows

[dependencies]
ockam_vault = { version = "0.5.2", default-features = false }

Please note that Cargo features are unioned across the entire dependency graph of a project. If any other crate you depend on has not opted out of ockam_vault default features, Cargo will build ockam_vault with the std feature enabled whether or not your direct dependency on ockam_vault has default-features = false.

License

This code is licensed under the terms of the Apache License 2.0.

Dependencies

~5MB
~96K SLoC