# 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 = "sshcerts" version = "0.13.2" authors = ["Mitchell Grenier "] description = "A library for parsing, verifying, and creating SSH Certificates" homepage = "https://github.com/obelisk/sshcerts" readme = "README.md" keywords = [ "ssh", "yubikey", "certs", "certificates", ] categories = ["authentication"] license-file = "LICENSE" repository = "https://github.com/obelisk/sshcerts" [[example]] name = "yk-fingerprint" required-features = ["yubikey-support"] [[example]] name = "yk-provision" required-features = ["yubikey-support"] [[example]] name = "sign-cert-with-yubikey" required-features = ["yubikey-support"] [[example]] name = "ssh-pkey-info" required-features = ["encrypted-keys"] [[example]] name = "into-ssh-pubkey" required-features = ["x509-support"] [[example]] name = "new-fido-sshkey" required-features = ["fido-support-mozilla"] [[test]] name = "privkey-encrypted" path = "tests/privkey_encrypted.rs" required-features = ["encrypted-keys"] [[test]] name = "cert-creation-parse-rsa" path = "tests/cert-creation-parse-rsa.rs" required-features = [ "encrypted-keys", "rsa-signing", ] [[test]] name = "fido-lite" path = "tests/fido-lite.rs" required-features = ["fido-support-mozilla"] [[test]] name = "yubikey-lite" path = "tests/yubikey-lite.rs" required-features = ["yubikey-lite"] [[test]] name = "signature-creation-rsa" path = "tests/signature-creation-rsa.rs" required-features = ["rsa-signing"] [[bench]] name = "certs_per_second" harness = false required-features = ["yubikey-support"] [dependencies.aes] version = "0.7" features = ["ctr"] optional = true [dependencies.authenticator] version = "0.4.0-alpha.24" features = ["crypto_openssl"] optional = true default-features = false [dependencies.base64] version = "0.13" [dependencies.bcrypt-pbkdf] version = "0.6" optional = true [dependencies.chrono] version = "0.4" [dependencies.ctap-hid-fido2] version = "3" optional = true [dependencies.ctr] version = "0.8" optional = true [dependencies.der-parser] version = "5" optional = true [dependencies.lexical-core] version = ">0.7.4" optional = true [dependencies.minicbor] version = "0.13" optional = true [dependencies.num-bigint] version = "0.4" optional = true [dependencies.rcgen] version = "0.11" optional = true [dependencies.ring] version = "0.17" [dependencies.simple_asn1] version = "0.5" optional = true [dependencies.x509] version = "0.2" optional = true [dependencies.x509-parser] version = "0.15" features = ["verify"] optional = true [dependencies.yubikey] version = "0.7" features = ["untested"] optional = true [dependencies.zeroize] version = "1" features = ["zeroize_derive"] [dev-dependencies.clap] version = "3.0.5" [dev-dependencies.criterion] version = "0.3" [dev-dependencies.env_logger] version = "0.8.2" [dev-dependencies.hex] version = "0.4.2" [features] all = [ "encrypted-keys", "rsa-signing", "x509-support", "yubikey-support", "fido-support-mozilla", ] all-but-fido = [ "encrypted-keys", "rsa-signing", "x509-support", "yubikey-support", ] default = ["all"] encrypted-keys = [ "aes", "bcrypt-pbkdf", "ctr", ] experimental = [ "encrypted-keys", "rsa-signing", "x509-support", "yubikey-support", "fido-support-mozilla", ] fido-lite = [ "minicbor", "x509-parser", ] fido-support = [ "ctap-hid-fido2", "fido-lite", ] fido-support-mozilla = [ "authenticator", "fido-lite", ] rsa-signing = [ "simple_asn1", "num-bigint", ] wasm_experimental = ["ring/wasm32_unknown_unknown_js"] x509-support = [ "der-parser", "x509", "x509-parser", ] yubikey-lite = ["x509-support"] yubikey-support = [ "rcgen", "yubikey", "yubikey-lite", ]