[package]
edition = "2021"
name = "sysknife-daemon"
version = "0.28.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Policy-enforced, audit-logged Linux action daemon for SysKnife"
homepage = "https://lacs-project.github.io/sysknife/"
readme = "README.md"
keywords = [
"linux",
"sysadmin",
"daemon",
"security",
]
categories = [
"command-line-utilities",
"os::linux-apis",
]
license = "MIT"
repository = "https://github.com/lacs-project/sysknife"
[features]
test-support = []
[lib]
name = "sysknife_daemon"
path = "src/lib.rs"
[[bin]]
name = "sysknife-daemon"
path = "src/main.rs"
[[test]]
name = "accept_loop"
path = "tests/accept_loop.rs"
[[test]]
name = "action_consistency"
path = "tests/action_consistency.rs"
[[test]]
name = "action_reference_doc"
path = "tests/action_reference_doc.rs"
[[test]]
name = "actions_batch1"
path = "tests/actions_batch1.rs"
[[test]]
name = "actions_batch2"
path = "tests/actions_batch2.rs"
[[test]]
name = "bootstrap"
path = "tests/bootstrap.rs"
[[test]]
name = "concurrency_guard"
path = "tests/concurrency_guard.rs"
[[test]]
name = "connection_deadline"
path = "tests/connection_deadline.rs"
[[test]]
name = "coverage_gaps"
path = "tests/coverage_gaps.rs"
[[test]]
name = "execute_spec"
path = "tests/execute_spec.rs"
[[test]]
name = "fail_closed_paths"
path = "tests/fail_closed_paths.rs"
[[test]]
name = "helper_install_coverage"
path = "tests/helper_install_coverage.rs"
[[test]]
name = "kernel_arg_removal"
path = "tests/kernel_arg_removal.rs"
[[test]]
name = "lifecycle_events"
path = "tests/lifecycle_events.rs"
[[test]]
name = "log_rotation_targets"
path = "tests/log_rotation_targets.rs"
[[test]]
name = "polkit_rules"
path = "tests/polkit_rules.rs"
[[test]]
name = "postgres_store"
path = "tests/postgres_store.rs"
[[test]]
name = "preview_approval"
path = "tests/preview_approval.rs"
[[test]]
name = "preview_state_warning"
path = "tests/preview_state_warning.rs"
[[test]]
name = "prompt_risk_labels"
path = "tests/prompt_risk_labels.rs"
[[test]]
name = "query_action_exit_codes"
path = "tests/query_action_exit_codes.rs"
[[test]]
name = "resource_limit_targets"
path = "tests/resource_limit_targets.rs"
[[test]]
name = "rollback"
path = "tests/rollback.rs"
[[test]]
name = "service_unit_screens"
path = "tests/service_unit_screens.rs"
[[test]]
name = "ssh_key_ops"
path = "tests/ssh_key_ops.rs"
[[test]]
name = "sudo_grant_scope"
path = "tests/sudo_grant_scope.rs"
[[test]]
name = "sudoers_grants_match_argv"
path = "tests/sudoers_grants_match_argv.rs"
[[test]]
name = "transaction_ownership"
path = "tests/transaction_ownership.rs"
[[test]]
name = "unattended_audit_stamp"
path = "tests/unattended_audit_stamp.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.ed25519-dalek]
version = "3"
features = ["zeroize"]
[dependencies.hex]
version = "0.4"
[dependencies.hkdf]
version = "0.13"
[dependencies.hmac]
version = "0.13"
[dependencies.libc]
version = "0.2"
[dependencies.rusqlite]
version = "0.40"
features = ["bundled"]
[dependencies.serde]
version = "1"
features = [
"derive",
"derive",
]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.11"
[dependencies.sqlx-core]
version = "0.9"
features = [
"_rt-tokio",
"_tls-rustls-ring-webpki",
"json",
"uuid",
"chrono",
]
default-features = false
[dependencies.sqlx-postgres]
version = "0.9"
features = [
"json",
"uuid",
"chrono",
]
default-features = false
[dependencies.subtle]
version = "2"
[dependencies.sysknife-core]
version = "0.28.0"
[dependencies.sysknife-types]
version = "0.28.0"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"fs",
"io-util",
"macros",
"net",
"process",
"rt-multi-thread",
"signal",
]
[dependencies.tokio-vsock]
version = "0.7.2"
[dependencies.uuid]
version = "1"
features = [
"serde",
"v4",
]
[dependencies.zeroize]
version = "1"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.sysknife-brain]
version = "0.28.0"
[dev-dependencies.syslog_loose]
version = "0.23"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = ["test-util"]