Skip to content
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

Password salt column too small #59

Open
cromedome opened this issue Dec 9, 2015 · 0 comments
Open

Password salt column too small #59

cromedome opened this issue Dec 9, 2015 · 0 comments

Comments

@cromedome
Copy link
Contributor

While porting PearlBee to PostgreSQL, I noticed that your password salt column (user.salt) is too small. It is defined as char(24), but when I was testing on Postgres, it was producing 25 character salts.

If you are using MySQL in Strict SQL mode, this insert will rightfully fail (as it does in Postgres). If you want to run PearlBee and have a better-than-default config, your blog will break.

andrewalker pushed a commit to andrewalker/PearlBee that referenced this issue Nov 18, 2017
categories moved from listing page to individual post
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

No branches or pull requests

1 participant