Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1451

MySQL Connector/NET - how to hash password / use "salt" in "server greeting" (no replies)

$
0
0
Hello,

I am hereby writing you as a .NET application I am currently authoring is unable to connect to MySQL server with various unicode passwords, namely the "§" character.

Yet, I am able to connect with the same user account through the MySQL Workbench Community Edition, and using Wireshark I have picked up an interesting packet (from the server) that seems to be some sort of "server greeting" in which the client receives the "salt" for hashing/xoring the password.

As far as I can see the .NET Connector sends plain text password (exactly how the connection string is created, no matter whether it is formed by concatenating strings or whether the MySqlConnectionStringBuilder is used).

I have not seen any salt/greeting related functions and therefore I cannot hash the password manually (if the connector doesn`t do it itself).

Can someone help me with this?

Thank you very much !

Viewing all articles
Browse latest Browse all 1451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>