SRP6 in C# w/o OpenSSL menu

Shout-Out

User Tag List

Results 1 to 3 of 3
  1. #1
    Kaev's Avatar Active Member
    Reputation
    40
    Join Date
    Jan 2013
    Posts
    24
    Thanks G/R
    4/17
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    SRP6 in C# w/o OpenSSL

    Hiho,
    atm i'm developing a logon server for learning purposes.
    Sadly i stuck at the SRP-6 part, which i want to do without using OpenSSL, and i can't find my mistake.
    I think i'm calculating something wrong, because my calculated MS is never the same as the client calculated M1.
    Here's my SRP class: [C#] SRP.cs - Pastebin.com
    Here are the important parts of my OpCodeHandler class: [C#] Parts of OpCodeHandler.cs - Pastebin.com

    I can also upload my whole solution if someone wants to debug it.
    You're my last hope.
    Last edited by Kaev; 01-16-2016 at 05:12 AM.

    SRP6 in C# w/o OpenSSL
  2. #2
    Kaev's Avatar Active Member
    Reputation
    40
    Join Date
    Jan 2013
    Posts
    24
    Thanks G/R
    4/17
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Shameless bump
    I found this: https://code.google.com/p/m-client/s.../Crypt/Srp6.cs
    Calculations are looking like mine.. :/

    EDIT: Oups, i think i do the client calculation at the end instead of the server calculation. Changed that in my local code, still not correct. :/
    EDIT2: Updated the code in the pastebin. Fixed some things, sadly still something wrong.
    Last edited by Kaev; 01-17-2016 at 08:15 AM.

  3. #3
    Glusk's Avatar Contributor
    Reputation
    105
    Join Date
    Apr 2015
    Posts
    33
    Thanks G/R
    7/32
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You were well on your way, however you made some common misstakes. I have pointed them out right in your source and re-pasted it here.
    By the way - M1 and M2 will never match; they're two very different things.

  4. Thanks stoneharry, Kaev (2 members gave Thanks to Glusk for this useful post)

Similar Threads

  1. [Trinity] OpenSSL CMake problem (Ubuntu server)
    By toni in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 03-02-2015, 04:31 PM
  2. SRP6 authentication, S client side
    By Basszukneki in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 10-09-2012, 02:26 PM
  3. [Misc] HELP !! OpenSSL !!
    By redrum144 in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 05-30-2011, 04:04 AM
  4. [Mangos] Linux openSSL or other problem? [stuck at connected]
    By mEtzG3r in forum WoW EMU Questions & Requests
    Replies: 5
    Last Post: 07-21-2010, 09:42 AM
  5. [Perl][3.1.1] Introducing Perl / Reading SRP6 session key
    By Jotunskjoldr in forum WoW Memory Editing
    Replies: 12
    Last Post: 05-10-2009, 01:24 PM
All times are GMT -5. The time now is 05:56 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search