diff --git a/Cargo.lock b/Cargo.lock
index 8966ec825..18fce8aba 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5406,8 +5406,7 @@ dependencies = [
 [[package]]
 name = "sshkeys"
 version = "0.3.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "45287473d24bf7ad9ebad1aff097ad0424c16cd9430549170c3a67c5b05705bd"
+source = "git+https://github.com/Firstyear/rust-sshkeys.git?rev=3a081cbf7480628223bcb96fc8aaa8c19109d007#3a081cbf7480628223bcb96fc8aaa8c19109d007"
 dependencies = [
  "base64 0.22.1",
  "byteorder",
diff --git a/Cargo.toml b/Cargo.toml
index 714e658ba..b885bd035 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -120,7 +120,12 @@ codegen-units = 256
 
 # kanidm-hsm-crypto = { path = "../hsm-crypto" }
 
+# For BSD nss support
 libnss = { git = "https://github.com/Firstyear/libnss-rs.git", branch = "20250207-freebsd" }
+# Allow ssh keys to have comments with spaces.
+sshkeys = { git = "https://github.com/Firstyear/rust-sshkeys.git", rev = "3a081cbf7480628223bcb96fc8aaa8c19109d007" }
+
+
 
 [workspace.dependencies]
 kanidmd_core = { path = "./server/core", version = "=1.6.0-dev" }