qssh 0.4.4

Post-quantum secure shell with NIST PQC algorithms (Falcon, SPHINCS+, ML-KEM), configurable security tiers, and quantum-resistant protocol design
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "qssh"
version = "0.4.4"
authors = ["Paraxiom"]
build = false
exclude = [
    "lean/",
    "target/package/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Post-quantum secure shell with NIST PQC algorithms (Falcon, SPHINCS+, ML-KEM), configurable security tiers, and quantum-resistant protocol design"
readme = "README.md"
license = "GPL-3.0-only"
repository = "https://github.com/Paraxiom/qssh"

[package.metadata.deb]
maintainer = "Paraxiom <sylvain@paraxiom.org>"
copyright = "2026, Paraxiom. GPL-3.0-only, or a Paraxiom commercial licence (see LICENSE.md)."
license-file = [
    "LICENSE-GPL3",
    "0",
]
section = "net"
priority = "optional"
depends = "$auto"
extended-description = """
QSSH is a post-quantum secure shell: an SSH-style client/server suite using
NIST PQC algorithms (Falcon / FN-DSA, SPHINCS+ / SLH-DSA, ML-KEM) with
configurable security tiers and a quantum-resistant protocol design.

This package installs the qsshd daemon, the qssh client and the supporting
tools (qscp, qssh-keygen, qssh-passwd, qssh-agent, qssh-sign, qssh-add,
qssh-node), plus a systemd service for qsshd.
"""
assets = [
    [
    "target/release/qssh",
    "usr/bin/",
    "755",
],
    [
    "target/release/qsshd",
    "usr/bin/",
    "755",
],
    [
    "target/release/qscp",
    "usr/bin/",
    "755",
],
    [
    "target/release/qssh-keygen",
    "usr/bin/",
    "755",
],
    [
    "target/release/qssh-passwd",
    "usr/bin/",
    "755",
],
    [
    "target/release/qssh-agent",
    "usr/bin/",
    "755",
],
    [
    "target/release/qssh-sign",
    "usr/bin/",
    "755",
],
    [
    "target/release/qssh-add",
    "usr/bin/",
    "755",
],
    [
    "target/release/qssh-node",
    "usr/bin/",
    "755",
],
    [
    "qsshd.config.production",
    "etc/qssh/qsshd.config",
    "644",
],
    [
    "packaging/qsshd.env",
    "etc/qssh/qsshd.env",
    "644",
],
    [
    "README.md",
    "usr/share/doc/qssh/README.md",
    "644",
],
    [
    "docs/PACKAGING.md",
    "usr/share/doc/qssh/PACKAGING.md",
    "644",
],
]
conf-files = [
    "/etc/qssh/qsshd.config",
    "/etc/qssh/qsshd.env",
]

[package.metadata.deb.systemd-units]
unit-scripts = "packaging"
unit-name = "qsshd"
enable = true
start = false

[features]
default = ["sftp"]
gssapi = []
hybrid-kex = ["x25519-dalek"]
libp2p-transport = ["libp2p"]
multiplex = []
qkd = ["winterfell"]
quantum-native = []
sftp = []

[lib]
name = "qssh"
path = "src/lib.rs"

[[bin]]
name = "qscp"
path = "src/bin/qscp.rs"

[[bin]]
name = "qssh"
path = "src/bin/qssh.rs"

[[bin]]
name = "qssh-add"
path = "src/bin/qssh-add.rs"

[[bin]]
name = "qssh-agent"
path = "src/bin/qssh-agent.rs"

[[bin]]
name = "qssh-keygen"
path = "src/bin/qssh-keygen.rs"

[[bin]]
name = "qssh-node"
path = "src/bin/qssh-node.rs"

[[bin]]
name = "qssh-passwd"
path = "src/bin/qssh-passwd.rs"

[[bin]]
name = "qssh-sign"
path = "src/bin/qssh-sign.rs"

[[bin]]
name = "qsshd"
path = "src/bin/qsshd.rs"

[[bin]]
name = "qsshpass"
path = "src/bin/qsshpass.rs"

[[bin]]
name = "test_pqcrypto"
path = "src/bin/test_pqcrypto.rs"

[[example]]
name = "quantum_harmony_validator"
path = "examples/quantum_harmony_validator.rs"

[[test]]
name = "end_to_end_integration"
path = "tests/end_to_end_integration.rs"

[[test]]
name = "falcon_signatures"
path = "tests/falcon_signatures.rs"

[[test]]
name = "keygen_cli"
path = "tests/keygen_cli.rs"

[[test]]
name = "minimal_test"
path = "tests/minimal_test.rs"

[[test]]
name = "quantum_integration"
path = "tests/quantum_integration.rs"

[[test]]
name = "quantum_resistant_comprehensive"
path = "tests/quantum_resistant_comprehensive.rs"

[[test]]
name = "quantum_transport"
path = "tests/quantum_transport.rs"

[[test]]
name = "safe_integration"
path = "tests/safe_integration.rs"

[[test]]
name = "security_suite"
path = "tests/security_suite.rs"

[[test]]
name = "simple_falcon"
path = "tests/simple_falcon.rs"

[[test]]
name = "tcp_keepalive"
path = "tests/tcp_keepalive.rs"

[[test]]
name = "test_without_crypto"
path = "tests/test_without_crypto.rs"

[dependencies.aes-gcm]
version = "0.10"

[dependencies.anyhow]
version = "1.0"

[dependencies.argon2]
version = "0.5"

[dependencies.async-trait]
version = "0.1"

[dependencies.atty]
version = "0.2"

[dependencies.base64]
version = "0.22"

[dependencies.bincode]
version = "1.3"

[dependencies.byteorder]
version = "1.5"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.env_logger]
version = "0.11"

[dependencies.flate2]
version = "1.0"

[dependencies.fn-dsa]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.hkdf]
version = "0.12"

[dependencies.hmac]
version = "0.12"

[dependencies.hostname]
version = "0.4"

[dependencies.if-addrs]
version = "0.12"

[dependencies.kem]
version = "0.3.0-pre.0"

[dependencies.libc]
version = "0.2"

[dependencies.libp2p]
version = "0.54"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.lz4]
version = "1.24"

[dependencies.ml-kem]
version = "0.2"

[dependencies.rand]
version = "0.8"

[dependencies.rand_chacha]
version = "0.3"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "native-tls",
]

[dependencies.rpassword]
version = "7.3"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.sha1]
version = "0.10"

[dependencies.sha2]
version = "0.10"

[dependencies.sha3]
version = "0.10"

[dependencies.signature]
version = "2"

[dependencies.slh-dsa]
version = "0.0.3"

[dependencies.socket2]
version = "0.5"
features = ["all"]

[dependencies.termios]
version = "0.3"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.40"
features = ["full"]

[dependencies.whoami]
version = "1.5"

[dependencies.winterfell]
version = "0.12.0"
optional = true

[dependencies.x25519-dalek]
version = "2.0"
features = ["static_secrets"]
optional = true

[dependencies.zeroize]
version = "1.6"
features = ["zeroize_derive"]

[dependencies.zstd]
version = "0.13"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.proptest]
version = "1.4"

[dev-dependencies.tempfile]
version = "3.8"

[dev-dependencies.tokio-test]
version = "0.4"