Skip to content

Add CHAP, EAP-GTC, MS-CHAPv2, EAP-MSCHAPv2 - #44

Merged
nicholasamorim merged 1 commit into
pyradius:masterfrom
nicholasamorim:feat/chap-eap
Jun 4, 2026
Merged

nicholasamorim merged 1 commit into
pyradius:masterfrom
nicholasamorim:feat/chap-eap

Conversation

@nicholasamorim

Copy link
Copy Markdown
Member

Bundles a small MD4 for the NT password hash and pulls DES from cryptography via a new [mschap] extra. Each method gets a runnable scenario under scenarios/ and an entry in docs/auth.md.

Fixes a latent EAP-MD5 bug where the encoder appended a second Message-Authenticator on top of the one prepare_outgoing already stamped, every conformant server rejected it. Tests missed it because they mocked the transport; the new scenario hits the real wire path.

Comment thread pyrad2/chap.py Dismissed
Comment thread pyrad2/mschap.py Dismissed
Comment thread scenarios/auth_eap_md5.py Dismissed
Comment thread tests/test_chap.py Dismissed
Bundles a small MD4 for the NT password hash and pulls DES from cryptography
via a new [mschap] extra. Each method gets a runnable scenario under scenarios/
and an entry in docs/auth.md.

Fixes a latent EAP-MD5 bug where the encoder appended a second Message-Authenticator
on top of the one prepare_outgoing already stamped, every conformant server rejected it.
Tests missed it because they mocked the transport; the new scenario hits the real wire path.
@nicholasamorim
nicholasamorim merged commit 4a38ea2 into pyradius:master Jun 4, 2026
7 of 8 checks passed
@nicholasamorim
nicholasamorim deleted the feat/chap-eap branch June 4, 2026 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants