#ockam #crypto #cryptography #network-programming #encryption

no-std ockam

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

19 breaking releases

new 0.20.0 Jul 26, 2021
0.18.0 Jul 12, 2021
0.4.0 Mar 23, 2021

#559 in Cryptography

Download history 584/week @ 2021-04-06 119/week @ 2021-04-13 80/week @ 2021-04-20 31/week @ 2021-04-27 36/week @ 2021-05-04 35/week @ 2021-05-11 31/week @ 2021-05-18 17/week @ 2021-05-25 16/week @ 2021-06-01 22/week @ 2021-06-08 21/week @ 2021-06-15 23/week @ 2021-06-22 16/week @ 2021-06-29 28/week @ 2021-07-06 21/week @ 2021-07-13 51/week @ 2021-07-20

112 downloads per month

Apache-2.0

600KB
14K SLoC

ockam

crate docs license discuss

End-to-end encrypted communication between edge devices and cloud services.

Get started with our step-by-step hands-on guide.

Features

  • End-to-end encrypted secure channels.
  • Multi-hop, multi-transport, application layer routing.
  • Node - an asynchronous worker runtime.
  • Workers - actors that can handle routed messages.
  • Entities and Profiles.
  • Attribute-based credentials with selective disclosure.

Usage

Add this to your Cargo.toml:

[dependencies]
ockam = "0.20.0"

Crate Features

The ockam 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

Additional features of the ockam crate:

  • ockam_transport_tcp - Enable TCP transport dependency.
  • ockam_vault - Enable the default Software Vault implementation.
  • noise_xx - Enable Noise Protocol XX key agreement dependency.
  • software_vault - Enable Software Vault dependency.
[dependencies]
ockam = { version = "0.20.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 default features, Cargo will build ockam with the std feature enabled whether or not your direct dependency on ockam has default-features = false.

License

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

Dependencies

~12MB
~224K SLoC