Password does not work a second time

[expired user #9801]'s profile image [expired user #9801] posted 8 years ago in Creating a connection Permalink

Saving the following password on session manager screen

!s DIT 1 €Land

Works for the first time. But after restarting it does not work anymore.

ansgar's profile image ansgar posted 8 years ago Permalink

I can only guess this is due to the € sign, a non-ascii character. Although I wonder why my code is not capable of storing non-ascii chars. Will check that. In the meantime, you can either check "prompt for password", or just set a different password.

[expired user #9801]'s profile image [expired user #9801] posted 8 years ago Permalink

Thanks, will check prompting for now

[expired user #9801]'s profile image [expired user #9801] posted 8 years ago Permalink

Any updates on this?

ansgar's profile image ansgar posted 8 years ago Permalink

Got it - it is the euro sign. I guess HeidiSQL's password decryption expects pure ASCII characters, and fails on that one. Probably I can fix that by converting the loaded password from utf8 to ansi. Will check that.

[expired user #9801]'s profile image [expired user #9801] posted 8 years ago Permalink

Any updates on this? It's quite annoying to type a 14 character long password every time.

ansgar's profile image ansgar posted 8 years ago Permalink

No update I'm afraid. Unicode characters in passwords are currently broken in HeidiSQL's stored passwords. If I change the way they get stored I am going to break existing session parameters, unless I introduce some kind of newer password encryption, which I can then distinct afterwards from old passwords when reading them.

Please login to leave a reply, or register at first.