[package]
name = "frida-order"
version = "0.1.0"
edition = "2021"
description = "frida order-based Relying Party API: POST /order/{auth,sign}, GET /order/{ref}, cancel + assert. In-memory store, eid-core crypto. The server side heimdal-frida talks to."
license = "0BSD"
repository = "https://codeberg.org/nordisk/frida"
[dependencies]
# Shared seam: Challenge/Assertion/SigAlg + verify_assertion. NEVER a wire format — the HTTP
# DTOs below wrap these plain-data types so client (heimdal-frida) and server agree on the crypto.
eid-core = "0.1"
axum = "0.8"
tokio = { version = "1", features = ["macros", "rt-multi-thread", "net"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
base64 = "0.22"
uuid = { version = "1", features = ["v4"] }
tracing = "0.1"
tracing-subscriber = "0.3"
[dev-dependencies]
# Exercise the router in-process (no port bind) — both already in the axum tree.
tower = { version = "0.5", features = ["util"] }
http-body-util = "0.1"
ed25519-dalek = { version = "2", features = ["rand_core"] }
p256 = { version = "0.13", features = ["ecdsa"] }
rand_core = { version = "0.6", features = ["getrandom"] }