Files
knock/crates/knock-core/Cargo.toml
T
JoshiCodes a469697af7 Auth types and OAuth 2.0 / OpenID Connect (M3, M4)
- Digest (MD5/SHA-256, -sess, auth/auth-int) with challenge round trip,
  self-signed JWT, AWS SigV4 (header and presigned), OAuth 1.0a,
  PKCS#12 client certificates; every type explains its computation
- OAuth: discovery, authorization code with PKCE over a loopback
  listener (knock:// and paste-by-hand as alternatives), client
  credentials, device code, password; tokens per issuer/client/scopes/
  environment in the keyring with auto refresh and one retry after 401
- Flow log with step timeline, raw exchanges, cURL export, plain-language
  diagnosis of provider errors, ID token validation incl. JWKS signature
- OAuth panel with redirect URI on top, token inspector, refresh,
  userinfo, introspection, revocation, logout and connection test
2026-11-27 16:53:32 +01:00

39 lines
1.1 KiB
TOML

[package]
name = "knock-core"
description = "Request engine, auth, variables and collection format for knock"
version.workspace = true
edition.workspace = true
license.workspace = true
[dependencies]
anyhow.workspace = true
thiserror.workspace = true
serde.workspace = true
serde_json.workspace = true
serde_yaml_ng.workspace = true
indexmap.workspace = true
tokio.workspace = true
reqwest.workspace = true
url.workspace = true
base64.workspace = true
uuid.workspace = true
chrono.workspace = true
rand.workspace = true
sha2.workspace = true
tracing.workspace = true
regex = "1"
serde_json_path = "0.7"
percent-encoding = "2"
cookie_store = { version = "0.22", features = ["serde_json"] }
bytes = "1"
futures-util = "0.3"
http = "1"
keyring = { version = "3.6", features = ["sync-secret-service", "crypto-rust", "apple-native", "windows-native"] }
hmac = "0.12"
sha1 = "0.10"
md-5 = "0.10"
hex = "0.4"
jsonwebtoken = { version = "12", default-features = false, features = ["aws_lc_rs", "use_pem"] }
rsa = { version = "0.9", features = ["sha1", "sha2"] }
p12-keystore = "0.4"