Support spaces in ssh key comments ()

This commit is contained in:
Firstyear 2025-04-23 13:23:22 +10:00 committed by GitHub
parent e97f4bc54c
commit 5201ec11e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

3
Cargo.lock generated
View file

@ -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",

View file

@ -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" }