Repository navigation
Conversation
There was a problem hiding this comment.
🛡️ Security check
Hi @thesyncim — Jeffery took a quick look because this PR touches CI/release/credential files. Nothing is blocked; this is a heads-up.
Committed private key (private-key) · sdks/rust/src/backend.rs line 695
A private key in the code lets whoever reads it sign or decrypt as its owner.
What to check: Remove it and rotate it: it stays in git history even once the PR drops it.
Jeffery comments once per PR and again only if something new turns up. Already handled? Reply /jeffery security ok and it'll stay quiet on these. Questions: #security-updates.
| let doc = Ed25519KeyPair::generate_pkcs8(&SystemRandom::new()).unwrap(); | ||
| let pair = Ed25519KeyPair::from_pkcs8(doc.as_ref()).unwrap(); | ||
| let pem = format!( | ||
| "-----BEGIN PRIVATE KEY-----\n{}\n-----END PRIVATE KEY-----", |
There was a problem hiding this comment.
Committed private key
A private key in the code lets whoever reads it sign or decrypt as its owner.
What to check: Remove it and rotate it: it stays in git history even once the PR drops it.
stacked on #2791. adds minimal Ed25519 (EdDSA) jwt auth support across the SDKs matching the updated auth spec (
kind,user_id,customer_id,app_id,usage_categories,team,Authorization: Bearer <token>+?api_key=..., WSSec-WebSocket-Protocol: bearer, <token>).what changed:
sdks/go):PrivateKey+AppIDonstream.Backend, EdDSA signing,Authorization: Bearer,?api_key=...on HTTP & WSsdks/js):privateKey+appIdonBackendusing Web Crypto Ed25519 (zero new deps, redacted intoJSON)plugins/stream):private_key+app_idonBackendusingcryptographyEd25519sdks/ruby):private_key+app_idonBackendusing stdlib OpenSSL Ed25519sdks/php):privateKey+appIdonBackendusing built-in libsodium Ed25519sdks/rust):private_key+app_idonClientOptionsusingring(already inCargo.lock)sdks/dart):SessionSocketpassesprotocols: ['bearer', token]on WS connectAuthorization: Bearer <token>+?api_key=...on both HTTP and WS.claude/skills/sdk/notes/2026-12-01-ed25519-jwt-auth.mdsince .NET 10 BCL has no built-in Ed25519 and needs an audited package choiceexisting HS256 / proxy / noauth paths are untouched.