-
Notifications
You must be signed in to change notification settings - Fork 9
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
Support for programming languages #6
Comments
We have native yescrypt code for Go https://pkg.go.dev/github.com/openwall/yescrypt-go https://github.com/openwall/yescrypt-go but in other languages you'd currently access yescrypt by calling the system-provided PHP used to call the system Edit: I just tried on the same Fedora system where the Perl example below works - unfortunately, in PHP it fails. Indeed, the distro-provided <?php
echo crypt('openwall', '$y$j9T$AAt9R641xPvCI9nXw1HHW/'), "\n";
echo password_verify('openwall', '$y$j9T$AAt9R641xPvCI9nXw1HHW/$cuQRBMN3N/f8IcmVN.4YrZ1bHMOiLOoz9/XQMKV/v0A'), "\n";
echo password_verify('rasmuslerdorf', '$2y$10$.vGA1O9wmRjrwAVXD98HNOgsNpDczlqm3Jq7KnEd1rVAGv3Fykk1a'), "\n";
(The last line is a successful test with bcrypt, to make show what a successful check would have looked like.) Here's a working example I have with Perl on Fedora: #!/usr/bin/perl
print crypt('openwall', '$y$j9T$AAt9R641xPvCI9nXw1HHW/'), "\n";
If your company or organization is in a position to fund the effort, we'd like to try and get native yescrypt support into upstream PHP proper, including into its modern |
Understood, mister @solardiz. I will write a simple bash script with pipes and ensure that this process is secure enough. |
I am having difficulties confirming whether some programming languages (most notably--PHP) support yescrypt. Can the maintainers of this awesome project give us insights?
The text was updated successfully, but these errors were encountered: