mirror of
https://github.com/rosenpass/rosenpass.git
synced 2025-12-12 15:49:22 -08:00
Implements: - An additional allocator to use memfd_secret(2) and guard pages using mmap(2), implemented in quininer/memsec#16 - An allocator that abstracts away underlying allocators, and uses specified allocator set by rosenpass_secret_memory::policy functions (or a function that sets rosenpass_secret_memory::alloc::ALLOC_INIT - Updates to tests- integration, fuzz, bench: some tests use procspawn to spawn multiple processes with different allocator policies
54 lines
1.4 KiB
TOML
54 lines
1.4 KiB
TOML
[package]
|
|
name = "rosenpass-wireguard-broker"
|
|
authors = ["Karolin Varner <karo@cupdev.net>", "wucke13 <wucke13@gmail.com>"]
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "MIT OR Apache-2.0"
|
|
description = "Rosenpass internal broker that runs as root and supplies exchanged keys to the kernel."
|
|
homepage = "https://rosenpass.eu/"
|
|
repository = "https://github.com/rosenpass/rosenpass"
|
|
readme = "readme.md"
|
|
|
|
[dependencies]
|
|
thiserror = { workspace = true }
|
|
zerocopy = { workspace = true }
|
|
rosenpass-secret-memory = {workspace = true}
|
|
|
|
# Privileged only
|
|
wireguard-uapi = { workspace = true }
|
|
|
|
# Socket handler only
|
|
rosenpass-to = { workspace = true }
|
|
tokio = { version = "1.38.0", features = ["sync", "full", "mio"] }
|
|
anyhow = { workspace = true }
|
|
clap = { workspace = true }
|
|
env_logger = { workspace = true }
|
|
log = { workspace = true }
|
|
derive_builder = {workspace = true}
|
|
postcard = {workspace = true}
|
|
|
|
# Mio broker client
|
|
mio = { workspace = true }
|
|
rosenpass-util = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
rand = {workspace = true}
|
|
procspawn = {workspace = true}
|
|
|
|
[features]
|
|
enable_broker_api=[]
|
|
|
|
[[bin]]
|
|
name = "rosenpass-wireguard-broker-privileged"
|
|
path = "src/bin/priviledged.rs"
|
|
test = false
|
|
doc = false
|
|
required-features=["enable_broker_api"]
|
|
|
|
[[bin]]
|
|
name = "rosenpass-wireguard-broker-socket-handler"
|
|
test = false
|
|
path = "src/bin/socket_handler.rs"
|
|
doc = false
|
|
required-features=["enable_broker_api"]
|