Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update configuration for argon2i encoder#9300

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
javiereguiluz merged 1 commit intosymfony:masterfromCoalaJoe:feature/argon2i-documentation
Mar 1, 2018
Merged

Update configuration for argon2i encoder#9300

javiereguiluz merged 1 commit intosymfony:masterfromCoalaJoe:feature/argon2i-documentation
Mar 1, 2018

Conversation

@CoalaJoe
Copy link
Contributor

@javiereguiluzjaviereguiluz added the Waiting Code MergeDocs for features pending to be merged labelFeb 20, 2018
symfony-splitter pushed a commit to symfony/security-core that referenced this pull requestFeb 20, 2018
…oalaJoe)This PR was merged into the 4.1-dev branch.Discussion----------[Security] Add configuration for Argon2i encryption| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | #26174| License       | MIT| Doc PR        | [#9300](symfony/symfony-docs#9300)Feedback?Current situation: Configuration only applies if argon2i is natively supported.Commits-------1300fece5f [Security] Add configuration for Argon2i encryption
symfony-splitter pushed a commit to symfony/security that referenced this pull requestFeb 20, 2018
…oalaJoe)This PR was merged into the 4.1-dev branch.Discussion----------[Security] Add configuration for Argon2i encryption| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | #26174| License       | MIT| Doc PR        | [#9300](symfony/symfony-docs#9300)Feedback?Current situation: Configuration only applies if argon2i is natively supported.Commits-------1300fece5f [Security] Add configuration for Argon2i encryption
symfony-splitter pushed a commit to symfony/security-bundle that referenced this pull requestFeb 20, 2018
…oalaJoe)This PR was merged into the 4.1-dev branch.Discussion----------[Security] Add configuration for Argon2i encryption| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | #26174| License       | MIT| Doc PR        | [#9300](symfony/symfony-docs#9300)Feedback?Current situation: Configuration only applies if argon2i is natively supported.Commits-------1300fece5f [Security] Add configuration for Argon2i encryption
fabpot added a commit to symfony/symfony that referenced this pull requestFeb 20, 2018
…oalaJoe)This PR was merged into the 4.1-dev branch.Discussion----------[Security] Add configuration for Argon2i encryption| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#26174| License       | MIT| Doc PR        | [#9300](symfony/symfony-docs#9300)Feedback?Current situation: Configuration only applies if argon2i is natively supported.Commits-------1300fec [Security] Add configuration for Argon2i encryption
@javiereguiluz
Copy link
Member

@CoalaJoe thanks for updating the docs (and thanks for implementing the feature too!). I have a question about thetime_cost parameter:

  1. In the RFC it says:"The time cost represents the number of times the hash algorithm will be run" (https://wiki.php.net/rfc/argon2_password_hash)

  2. In the PHP manual it says:"Maximum amount of time it may take to compute the Argon2 hash" (http://php.net/manual/en/function.password-hash.php)

So, is it the number of seconds or the number of iterations?

@CoalaJoe
Copy link
ContributorAuthor

@javiereguiluz Thank you, it was fun to give symfony something back after using it so long. :)

Excellent question!

I had to dig into the source code to find clarification.
As statet a couple time, like here:https://github.com/P-H-C/phc-winner-argon2/blob/54ff100b0717505493439ec9d4ca85cb9cbdef00/src/run.c#L85

So I feel confident telling you that it is the amount of iterations.

@javiereguiluzjaviereguiluz removed the Waiting Code MergeDocs for features pending to be merged labelFeb 27, 2018
@javiereguiluz
Copy link
Member

Nice digging in the source code! Now it's clear the intention of that parameter (the name could be less confusing to be honest ... but that's what PHP uses, so we can't change it).

@javiereguiluz
Copy link
Member

And it's merged! Thanks and congrats on your first Symfony Docs contribution.

CoalaJoe reacted with thumbs up emoji

@javiereguiluzjaviereguiluz merged commita3e9bf2 intosymfony:masterMar 1, 2018
javiereguiluz added a commit that referenced this pull requestMar 1, 2018
This PR was merged into the master branch.Discussion----------Update configuration for argon2i encoderFrom:symfony/symfony#26175Commits-------a3e9bf2 Update configuration for argon2i encoder
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@CoalaJoe@javiereguiluz@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp