Skip to content

Fix PLAIN auth not working with passwords > 51 char#243

Merged
slonopotamus merged 1 commit into
git-as-svn:masterfrom
slonopotamus:base-64-long-passwords
May 6, 2019
Merged

Fix PLAIN auth not working with passwords > 51 char#243
slonopotamus merged 1 commit into
git-as-svn:masterfrom
slonopotamus:base-64-long-passwords

Conversation

@slonopotamus

Copy link
Copy Markdown
Collaborator

Turns out, not all Base64 was born equal. RFC-4648 that we used,
only allows strict Base64 alphabet in input string while RFC-2045 also
allows whitespace, newlines and other funny stuff. And native Subversion
sends \n for long logins/passwords

Fixes #242

Turns out, not all Base64 was born equal. RFC-4648 that we used,
only allows strict Base64 alphabet in input string while RFC-2045 also
allows whitespace, newlines and other funny stuff. And native Subversion
sends \n for long logins/passwords

Fixes git-as-svn#242
@slonopotamus slonopotamus merged commit 342a43e into git-as-svn:master May 6, 2019
@slonopotamus slonopotamus deleted the base-64-long-passwords branch May 6, 2019 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LDAP password authentication fails when SVN password is 52 chars or longer

1 participant