[package]
edition = "2021"
rust-version = "1.85"
name = "dsse"
version = "0.1.1"
build = false
exclude = [
"*.ledger.json",
".humanizer/",
"/.github",
"/scripts",
"/vectors/generate",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "DSSE (Dead Simple Signing Envelope) with PAE pre-authentication encoding: envelope construction, signing, and threshold verification."
documentation = "https://docs.rs/dsse"
readme = "README.md"
keywords = [
"dsse",
"in-toto",
"sigstore",
"signing",
"attestation",
]
categories = [
"cryptography",
"encoding",
]
license = "Apache-2.0"
repository = "https://github.com/probityai/dsse"
[features]
default = ["ed25519"]
ed25519 = ["dep:ed25519-dalek"]
[lib]
name = "dsse"
path = "src/lib.rs"
[[test]]
name = "adversarial_pass"
path = "tests/adversarial_pass.rs"
[[test]]
name = "crosslang_vectors"
path = "tests/crosslang_vectors.rs"
[[test]]
name = "envelope_refusals"
path = "tests/envelope_refusals.rs"
[[test]]
name = "keyid_hint"
path = "tests/keyid_hint.rs"
[[test]]
name = "no_private_names"
path = "tests/no_private_names.rs"
[[test]]
name = "pae_attacks"
path = "tests/pae_attacks.rs"
[[test]]
name = "spec_vector"
path = "tests/spec_vector.rs"
[[test]]
name = "threshold"
path = "tests/threshold.rs"
[dependencies.base64]
version = "0.23"
[dependencies.ed25519-dalek]
version = "3.0"
features = [
"alloc",
"fast",
"zeroize",
]
optional = true
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dev-dependencies.base64]
version = "0.23"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.sha2]
version = "0.11"
[lints.clippy]
expect_used = "deny"
indexing_slicing = "deny"
panic = "deny"
undocumented_unsafe_blocks = "deny"
unwrap_used = "deny"
[lints.rust]
missing_docs = "deny"
unsafe_code = "forbid"