Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions crates/kdc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
name = "kdc"
version = "0.1.0"
edition = "2024"
publish = false
readme = "README.md"
license = "MIT/Apache-2.0"
homepage = "https://github.com/devolutions/sspi-rs"
repository = "https://github.com/devolutions/sspi-rs"
authors = ["Devolutions Inc. <[email protected]>"]
description = "A minimal Rust implementation of the KDC (Key Distribution Center)"

[dependencies]
picky-asn1 = { workspace = true, features = ["time_conversion"] }
Expand All @@ -11,7 +16,6 @@ picky-asn1-x509.workspace = true
picky-krb.workspace = true
tracing.workspace = true
time.workspace = true
serde.workspace = true

thiserror = "2.0"
argon2 = { version = "0.5", features = ["std"] }
Expand Down
3 changes: 3 additions & 0 deletions crates/kdc/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## KDC

A minimal Rust implementation of the KDC (Key Distribution Center).
6 changes: 2 additions & 4 deletions crates/kdc/src/config.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
use serde::{Deserialize, Serialize};

/// Domain user credentials.
#[derive(PartialEq, Eq, Debug, Clone, Serialize, Deserialize)]
#[derive(PartialEq, Eq, Debug, Clone)]
pub struct DomainUser {
/// Username in FQDN format (e.g. "[email protected]").
pub username: String,
Expand All @@ -16,7 +14,7 @@ pub struct DomainUser {
/// Kerberos server config
///
/// This config is used to configure the Kerberos server during RDP proxying.
#[derive(PartialEq, Eq, Debug, Clone, Serialize, Deserialize)]
#[derive(PartialEq, Eq, Debug, Clone)]
pub struct KerberosServer {
/// KDC and Kerberos Application Server realm.
///
Expand Down