Skip to content

.NET Provider is using Arc4 Wire Crypt Plugin instead of ChaCha64 in Srp256 Authentication Method #1243

Open

Description

@luronumen

Actual Result

  • .NET Provider is using Arc4 Wire Crypt Plugin instead of ChaCha64 in Srp256 Authentication Method.

Expected Result

  • .NET Provider should use ChaCha64 Wire Crypt Plugin in Srp256 Authentication Method.

Important Notes

  • Arc4 has several known flaws in its key generation algorithm (KSA and PRGA), it is easily attackable if the key or IV is reused or poorly implemented and it is deprecated in virtually all protocols (TLS, WPA, etc.).
  • The latest fbclient.dll already uses the ChaCha64 Wire Crypt Plugin in Srp256 Authentication Method.

Activity

  1. AlexPeshkoff commented on Oct 24, 2025

    @AlexPeshkoff
    Member

    Choice of wire crypt & authentication is independent, i.e. it's not correct to say that ChaCha64 is used in Srp256.

    Also be sure that key generated by srp and passed to rc4 is never reused and hardly can be called poorly implemented - it is SRP session key which has a very high quality, at least I've never used to know about problems with it. I.e. in our(!) case rc4 is not that bad, but certainly (specially from further development POV) chacha is better.

  2. self-assigned this
    on Oct 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions