feat(user-agent-auth): add RSA and ECDSA auth key types #29

Merged
Skipper merged 7 commits from feat-min-RSA-&-ECDSA-auth-pipeline into main 2026-03-14 14:41:47 +00:00
Member

Extend user-agent authentication to support Ed25519, ECDSA (secp256k1), and RSA (PSS+SHA-256) with minimal protocol and storage changes. Add key_type to auth requests and useragent_client, update key parsing/signature verification paths, and keep backward compatibility by treating UNSPECIFIED as Ed25519.

Extend user-agent authentication to support Ed25519, ECDSA (secp256k1), and RSA (PSS+SHA-256) with minimal protocol and storage changes. Add key_type to auth requests and useragent_client, update key parsing/signature verification paths, and keep backward compatibility by treating UNSPECIFIED as Ed25519.
CleverWild added 1 commit 2026-03-14 11:18:28 +00:00
feat(user-agent-auth): add RSA and ECDSA auth key types
Some checks failed
ci/woodpecker/pr/server-lint Pipeline failed
ci/woodpecker/pr/server-audit Pipeline failed
ci/woodpecker/pr/server-test Pipeline failed
ci/woodpecker/pr/server-vet Pipeline failed
6030f30901
Extend user-agent authentication to support Ed25519, ECDSA (secp256k1), and RSA (PSS+SHA-256) with minimal protocol and storage changes. Add key_type to auth requests and useragent_client, update key parsing/signature verification paths, and keep backward compatibility by treating UNSPECIFIED as Ed25519.
CleverWild requested review from Skipper 2026-03-14 11:18:35 +00:00
CleverWild added 1 commit 2026-03-14 11:40:41 +00:00
refactor(config): specify target for Windows in profile.dev settings
Some checks failed
ci/woodpecker/pr/server-audit Pipeline failed
ci/woodpecker/pr/server-vet Pipeline failed
ci/woodpecker/pr/server-lint Pipeline failed
ci/woodpecker/pr/server-test Pipeline was successful
f8d27a1454
CleverWild added 2 commits 2026-03-14 12:23:19 +00:00
revert(auth): remove RSA support from authentication and related components
Some checks failed
ci/woodpecker/pr/server-audit Pipeline was successful
ci/woodpecker/pr/server-vet Pipeline failed
ci/woodpecker/pr/server-lint Pipeline failed
ci/woodpecker/pr/server-test Pipeline was successful
42760bbd79
CleverWild added 1 commit 2026-03-14 12:57:17 +00:00
feat(auth): limited RSA support for signing
Some checks failed
ci/woodpecker/pr/server-lint Pipeline failed
ci/woodpecker/pr/server-audit Pipeline was successful
ci/woodpecker/pr/server-test Pipeline failed
ci/woodpecker/pr/server-vet Pipeline failed
47144bdf81
see server/clippy.toml
CleverWild added 1 commit 2026-03-14 13:13:20 +00:00
fix(rustc): config toolchaing mismatch
Some checks failed
ci/woodpecker/pr/server-audit Pipeline was successful
ci/woodpecker/pr/server-vet Pipeline failed
ci/woodpecker/pr/server-lint Pipeline failed
ci/woodpecker/pr/server-test Pipeline was successful
c1c5d14133
Skipper requested changes 2026-03-14 13:29:59 +00:00
Dismissed
@@ -0,0 +1,8 @@
disallowed-methods = [
Owner

very good call, +rep

very good call, +rep
Skipper marked this conversation as resolved
@@ -24,6 +24,7 @@ async-trait.workspace = true
[build-dependencies]
tonic-prost-build = "0.14.3"
protoc-bin-vendored = "3"
Owner

this one is not needed as mise takes care of protoc

this one is not needed as `mise` takes care of `protoc`
@@ -3,6 +3,11 @@ use tonic_prost_build::configure;
static PROTOBUF_DIR: &str = "../../../protobufs";
fn main() -> Result<(), Box<dyn std::error::Error>> {
if std::env::var("PROTOC").is_err() {
Owner

this one is not needed as mise takes care of protoc

this one is not needed as `mise` takes care of `protoc`
@@ -199,2 +256,2 @@
) -> Result<VerifyingKey, Self::Error> {
Ok(state_data.key)
) -> Result<AuthPublicKey, Self::Error> {
// ChallengeContext.key cannot be taken by value because smlang passes it by ref;
Owner

juste use clone

juste use clone
CleverWild added 1 commit 2026-03-14 13:30:59 +00:00
clippy: fix
Some checks failed
ci/woodpecker/pr/server-audit Pipeline was successful
ci/woodpecker/pr/server-vet Pipeline failed
ci/woodpecker/pr/server-lint Pipeline was successful
ci/woodpecker/pr/server-test Pipeline was successful
17ac195c5d
Skipper approved these changes 2026-03-14 14:41:39 +00:00
Skipper merged commit 8fde3cec41 into main 2026-03-14 14:41:47 +00:00
Skipper deleted branch feat-min-RSA-&-ECDSA-auth-pipeline 2026-03-14 14:41:51 +00:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MarketTakers/arbiter#29