Skip to content

Investigate legacy authentication with non-ASCII characters in passwords #858

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mrotteveel opened this issue Apr 2, 2025 · 0 comments

Comments

@mrotteveel
Copy link
Member

mrotteveel commented Apr 2, 2025

While looking at FirebirdSQL/NETProvider#1217 (which was originally reported against this repository), I did reproduce problems with using special (non-ASCII) characters in passwords with legacy authentication.

That is odd as the OP reported that it did work with DBeaver (which uses Jaybird). In any case, this needs to be looked into further. One of the suspects is LegacyHash (6+) /UnixCrypt (5) as it works with char values, while I suspect it should be using bytes; but then the question is: in which character set?

Marking it against 7-initial for now; needs also to be verified against 5.0.x and 6.0.x.

@mrotteveel mrotteveel added this to the v6.0.1 milestone Apr 2, 2025
@mrotteveel mrotteveel self-assigned this Apr 2, 2025
@mrotteveel mrotteveel changed the title Investigate legacy authentication with special passwords Investigate legacy authentication with non-ASCII characters in passwords Apr 4, 2025
@mrotteveel mrotteveel modified the milestones: v6.0.1, v7-initial Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant