[package]
edition = "2021"
rust-version = "1.85.0"
name = "obsigil"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A shared-secret JWT alternative: a mandate-token format splitting a public, advisory manifest from a secret-sealed, authenticated mandate (AES-SIV / AES-GCM-SIV), with fields in canonical CBOR"
homepage = "https://obsigil.org"
documentation = "https://docs.rs/obsigil"
readme = "README.md"
keywords = [
"token",
"jwt",
"mandate",
"aead",
"authorization",
]
categories = [
"cryptography",
"authentication",
]
license = "MIT OR Apache-2.0"
repository = "https://gitlab.com/obsigil/obsigil-rs"
[package.metadata.docs.rs]
all-features = true
[features]
conformance = []
default = []
gcm-siv = [
"dep:aes-gcm-siv",
"dep:hkdf",
"dep:sha2",
]
[lib]
name = "obsigil"
path = "src/lib.rs"
[[test]]
name = "conformance"
path = "tests/conformance.rs"
[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"
[dependencies.aes-gcm-siv]
version = "0.11"
optional = true
[dependencies.aes-siv]
version = "0.7.0"
[dependencies.ciborium]
version = "0.2"
[dependencies.data-encoding]
version = "2"
[dependencies.getrandom]
version = "0.2"
[dependencies.hkdf]
version = "0.12"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.sha2]
version = "0.10"
optional = true
[dependencies.subtle]
version = "2"
[dependencies.uuid]
version = "1"
features = ["v7"]
[dependencies.zeroize]
version = "1"
features = ["derive"]
[dev-dependencies.ciborium]
version = "0.2"
[dev-dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1"