ssh-key 0.7.0-pre.1

Pure Rust implementation of SSH key file format decoders/encoders as described in RFC4251/RFC4253 and OpenSSH key formats, as well as "sshsig" signatures and certificates (including certificate validation and certificate authority support), with further support for the `authorized_keys` and `known_hosts` file formats.
Documentation
[dependencies.bcrypt-pbkdf]
default-features = false
features = ["alloc"]
optional = true
version = "=0.11.0-pre.1"

[dependencies.bigint]
default-features = false
optional = true
package = "num-bigint-dig"
version = "0.8"

[dependencies.cipher]
package = "ssh-cipher"
version = "=0.3.0-pre.1"

[dependencies.dsa]
default-features = false
optional = true
version = "=0.7.0-pre.0"

[dependencies.encoding]
features = ["base64", "digest", "pem"]
package = "ssh-encoding"
version = "=0.3.0-pre.1"

[dependencies.home]
optional = true
version = "0.5"

[dependencies.p256]
default-features = false
features = ["ecdsa"]
optional = true
version = "=0.14.0-pre.1"

[dependencies.p384]
default-features = false
features = ["ecdsa"]
optional = true
version = "=0.14.0-pre.1"

[dependencies.p521]
default-features = false
features = ["ecdsa"]
optional = true
version = "=0.14.0-pre.1"

[dependencies.rand_core]
default-features = false
optional = true
version = "0.6.4"

[dependencies.rsa]
default-features = false
features = ["sha2"]
optional = true
version = "=0.10.0-pre.2"

[dependencies.sec1]
default-features = false
features = ["point"]
optional = true
version = "0.8.0-rc.0"

[dependencies.serde]
optional = true
version = "1"

[dependencies.sha1]
default-features = false
optional = true
version = "=0.11.0-pre.4"

[dependencies.sha2]
default-features = false
version = "=0.11.0-pre.4"

[dependencies.signature]
default-features = false
version = "=2.3.0-pre.4"

[dependencies.subtle]
default-features = false
version = "2"

[dependencies.zeroize]
default-features = false
version = "1"

[dev-dependencies.hex-literal]
version = "0.4.1"

[dev-dependencies.rand_chacha]
version = "0.3"

[features]
alloc = ["encoding/alloc", "signature/alloc", "zeroize/alloc"]
crypto = ["p256", "p384", "p521", "rsa"]
default = ["ecdsa", "rand_core", "std"]
dsa = ["dep:bigint", "dep:dsa", "dep:sha1", "alloc", "signature/rand_core"]
ecdsa = ["dep:sec1"]
encryption = ["dep:bcrypt-pbkdf", "alloc", "cipher/aes-cbc", "cipher/aes-ctr", "cipher/aes-gcm", "cipher/chacha20poly1305", "rand_core"]
getrandom = ["rand_core/getrandom"]
p256 = ["dep:p256", "ecdsa"]
p384 = ["dep:p384", "ecdsa"]
p521 = ["dep:p521", "ecdsa"]
rsa = ["dep:bigint", "dep:rsa", "alloc", "rand_core"]
std = ["alloc", "encoding/std", "p256?/std", "p384?/std", "p521?/std", "rsa?/std", "sec1?/std", "signature/std", "dep:home"]
tdes = ["cipher/tdes", "encryption"]

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

[package]
authors = ["RustCrypto Developers"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["authentication", "cryptography", "encoding", "no-std", "parser-implementations"]
description = '''
Pure Rust implementation of SSH key file format decoders/encoders as described
in RFC4251/RFC4253 and OpenSSH key formats, as well as "sshsig" signatures and
certificates (including certificate validation and certificate authority support),
with further support for the `authorized_keys` and `known_hosts` file formats.
'''
edition = "2021"
homepage = "https://github.com/RustCrypto/SSH/tree/master/ssh-key"
keywords = ["crypto", "certificate", "openssh", "ssh", "sshsig"]
license = "Apache-2.0 OR MIT"
name = "ssh-key"
readme = "README.md"
repository = "https://github.com/RustCrypto/SSH"
rust-version = "1.73"
version = "0.7.0-pre.1"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

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

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

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

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

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

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

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

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

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

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