138 breaking releases

new 0.144.0 Dec 5, 2024
0.143.0 Nov 30, 2024
0.142.0 Nov 28, 2024
0.130.0 Jul 30, 2024
0.4.0 Mar 23, 2021

#179 in Cryptography

Download history 38/week @ 2024-08-17 22/week @ 2024-08-24 34/week @ 2024-08-31 5/week @ 2024-09-07 69/week @ 2024-09-14 349/week @ 2024-09-21 37/week @ 2024-09-28 9/week @ 2024-10-05 311/week @ 2024-10-12 546/week @ 2024-10-19 116/week @ 2024-10-26 19/week @ 2024-11-02 118/week @ 2024-11-09 29/week @ 2024-11-16 109/week @ 2024-11-23 331/week @ 2024-11-30

592 downloads per month
Used in 3 crates

Apache-2.0

1.5MB
35K SLoC

ockam

crate docs license discuss

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

End-to-end encrypted, mutually authenticated, secure communication.

A hands-on guide 👉.

Data, within modern distributed applications, are rarely exchanged over a single point-to-point transport connection. Application messages routinely flow over complex, multi-hop, multi-protocol routes — across data centers, through queues and caches, via gateways and brokers — before reaching their end destination.

Transport layer security protocols are unable to protect application messages because their protection is constrained by the length and duration of the underlying transport connection.

Ockam makes it simple for our applications to guarantee end-to-end integrity, authenticity, and confidentiality of data. We no longer have to implicitly depend on the defenses of every machine or application within the same, usually porous, network boundary. Our application's messages don't have to be vulnerable at every point, along their journey, where a transport connection terminates.

Instead, our application can have a strikingly smaller vulnerability surface and easily make granular authorization decisions about all incoming information and commands.

Features

  • End-to-end encrypted, mutually authenticated secure channels.
  • Multi-hop, multi-transport, application layer routing.
  • Key establishment, rotation, and revocation - for fleets, at scale.
  • Lightweight, Concurrent, Stateful Workers that enable simple APIs.
  • Attribute-based Access Control - credentials with selective disclosure.
  • Add-ons for a variety of operating environments, transport protocols, and cryptographic hardware.

Documentation

Tutorials, examples and reference guides are available at docs.ockam.io.

Usage

Add this to your Cargo.toml:

[dependencies]
ockam = "0.144.0"

License

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

Dependencies

~15–47MB
~1M SLoC