cryptsetup-rs

Crates.iocryptsetup-rs
lib.rscryptsetup-rs
version0.3.2
sourcesrc
created_at2016-11-28 23:49:42.447305
updated_at2022-08-28 19:09:30.521345
descriptionRust wrapper around the libcryptsetup library, allowing manipulation of LUKS devices in Linux
homepagehttps://gitlab.com/solidninja/cryptsetup-rs
repositoryhttps://gitlab.com/solidninja/cryptsetup-rs
max_upload_size
id7401
size108,395
Vladimir (vladimir-lu)

documentation

README

pipeline status crates.io Status docs.rs build

cryptsetup-rs - Rust bindings to libcryptsetup on Linux

A safe binding to libcryptsetup that allows working with encrypted disks on Linux.

Requires libcryptetup >= 2.1.0 to compile.

Features:

  • High-level API for LUKS open/format/other operations
  • LUKS2 support including tokens handlers

Documentation for the bindings can be found on docs.rs.

The example luks_dump.rs shows how a command like cryptsetup luksDump can be implemented.

TODO

  • High-level API for non-LUKS1 disks (truecrypt, verity, bitlocker)
  • LUKS2 reencryption support

Other libraries

The libcryptsetup-rs library provides a more complete set of bindings with a different (non-builder like) API.

Contributing

cryptsetup-rs is the work of its contributors and is a free software project licensed under the LGPLv3 or later.

If you would like to contribute, please follow the C4 process.

Commit count: 48

cargo fmt