64 breaking releases

Uses new Rust 2021

0.67.0 Nov 9, 2022
0.65.0 Sep 9, 2022
0.57.0 Jul 18, 2022
0.43.0 Mar 28, 2022
0.3.1 Mar 23, 2021

#685 in Cryptography

Download history 92/week @ 2022-08-10 67/week @ 2022-08-17 106/week @ 2022-08-24 86/week @ 2022-08-31 133/week @ 2022-09-07 148/week @ 2022-09-14 104/week @ 2022-09-21 144/week @ 2022-09-28 86/week @ 2022-10-05 24/week @ 2022-10-12 38/week @ 2022-10-19 63/week @ 2022-10-26 82/week @ 2022-11-02 93/week @ 2022-11-09 95/week @ 2022-11-16 16/week @ 2022-11-23

286 downloads per month
Used in 12 crates (11 directly)




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.


Add this to your Cargo.toml:

ockam_vault = "0.67.0"

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

ockam_vault = { version = "0.67.0" , 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.


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


~148K SLoC