[package]
edition = "2021"
rust-version = "1.81"
name = "bitlocker-core"
version = "0.3.0"
authors = ["Albert Hui <albert@securityronin.com>"]
build = false
exclude = [
"/fuzz",
"/.github",
"/docs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "From-scratch reader/decryptor for BitLocker Drive Encryption (BDE) volumes — password unlock, AES-CBC + Elephant Diffuser"
readme = "README.md"
keywords = [
"forensics",
"bitlocker",
"encryption",
"dfir",
"windows",
]
categories = [
"parser-implementations",
"cryptography",
]
license = "Apache-2.0"
repository = "https://github.com/SecurityRonin/bitlocker-forensic"
[lib]
name = "bitlocker"
path = "src/lib.rs"
[[test]]
name = "oracle_bdetogo"
path = "tests/oracle_bdetogo.rs"
[[test]]
name = "oracle_bitlocker1"
path = "tests/oracle_bitlocker1.rs"
[[test]]
name = "oracle_clearkey"
path = "tests/oracle_clearkey.rs"
[[test]]
name = "oracle_m8003"
path = "tests/oracle_m8003.rs"
[[test]]
name = "oracle_m8004"
path = "tests/oracle_m8004.rs"
[[test]]
name = "oracle_m8005"
path = "tests/oracle_m8005.rs"
[[test]]
name = "oracle_startupkey"
path = "tests/oracle_startupkey.rs"
[[test]]
name = "oracle_vault"
path = "tests/oracle_vault.rs"
[dependencies.aes]
version = "0.8"
[dependencies.cbc]
version = "0.1"
[dependencies.ccm]
version = "0.5"
[dependencies.elephant-diffuser]
version = "0.1"
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "2"
[dependencies.xts-mode]
version = "0.5"
[dev-dependencies.sha2]
version = "0.10"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cast_possible_truncation]
level = "allow"
priority = 1
[lints.clippy.cast_possible_wrap]
level = "allow"
priority = 1
[lints.clippy.cast_precision_loss]
level = "allow"
priority = 1
[lints.clippy.cast_sign_loss]
level = "allow"
priority = 1
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.expect_used]
level = "deny"
priority = 0
[lints.clippy.items_after_statements]
level = "allow"
priority = 1
[lints.clippy.manual_let_else]
level = "allow"
priority = 1
[lints.clippy.missing_errors_doc]
level = "allow"
priority = 1
[lints.clippy.missing_panics_doc]
level = "allow"
priority = 1
[lints.clippy.module_name_repetitions]
level = "allow"
priority = 1
[lints.clippy.must_use_candidate]
level = "allow"
priority = 1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.similar_names]
level = "allow"
priority = 1
[lints.clippy.suspicious]
level = "deny"
priority = -1
[lints.clippy.too_many_lines]
level = "allow"
priority = 1
[lints.clippy.unwrap_used]
level = "deny"
priority = 0
[lints.rust]
unsafe_code = "forbid"