Devolutions / Devolutions/sspi-rs

SPNEGO/Kerberos: fails on accept-completed without AP-REP (no mutual auth)

Open
#498 1 comment 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
83
Forks
50
Avg merge
3d 12h
Merged PRs (30d)
9

Description

When using SPNEGO/Kerberos (Negotiate) without requesting mutual authentication, the client receives negTokenTarg with negResult=accept-completed and no AP-REP, which is correct per server behavior. However, sspi-rs still tries to extract an AP-REP and fails in extract_ap_rep_from_neg_token_targ, aborting the handshake.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at extract_ap_rep_from_neg_token_targ and trace the SPNEGO/Kerberos handshake path for negResult=accept-completed. Verify the no-mutual-authentication case where the response has no AP-REP, and consider the issue complete when that handshake succeeds without aborting while AP-REP handling still works when present.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
authentication, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.