Verify password not working
See original GitHub issueI have tried it before in previous versions, but it didn’t work out. I’m trying it again and it doesn’t work out. The error is seen below.
SaltParseException: Invalid salt version
BCrypt.Net.BCrypt.HashPassword(string inputKey, string salt, bool enhancedEntropy, HashType hashType) in BCrypt.cs, line 633
In the documentation, it says to use this but it doesn’t work out. BCrypt.Verify("my password", passwordHash);
As a workaround, I had to separately store the hash and then compare it instead. Hope to be able to fix the Bcrypt.Verify bug as it makes the code much cleaner.
var userSuppliedPasswordhash = BCryptPasswordHash.HashPassword(<user password>, <salt>);
if (storedPassword.Equals(userSuppliedPasswordhash)){
...
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:6
Top Results From Across the Web
Setup is getting stuck at this “verify password” step. All of ...
New router and internet setup and it stops at the same picture. It asks to join the roomba iRobot Wi-Fi and then says...
Read more >"Sorry, your password couldn't be verified" when using ...
I can't login to my chromebook as every time I enter my password it says, "Sorry, your password couldn't be verified.
Read more >“Password incorrect” error
Sometimes you'll see a "Password incorrect" error when you sign in to Google with a third-party app, like Apple's Mail app, Mozilla Thunderbird,...
Read more >Roomba Stuck at 'Verify password' - packetmischief.ca
An iRobot app that gets stuck at Verify password when setting up the Roomba. Bear in mind, the only people who know all...
Read more >unable to verify account name or password
Double-check your macOS Keychain to be sure that it does not contain an outdated set of login credentials for this mail account.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The only way that exception is raised is if the first char isn’t $ and the second isn’t 2 as that’s the mark of bcrypt
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.