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

[stable-3.9] Fix password generation for shares, improve generator #5908

Merged
merged 6 commits into from
Jul 21, 2023

Commits on Jul 21, 2023

  1. Generate better passwords for shares

    Signed-off-by: Claudio Cambra <[email protected]>
    claucambra committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    61c0cec View commit details
    Browse the repository at this point in the history
  2. Simplify password generation in sharemodel

    Signed-off-by: Claudio Cambra <[email protected]>
    claucambra committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    282fcad View commit details
    Browse the repository at this point in the history
  3. Guarantee that the generated password for share will have all the typ…

    …es of characters needed to pass server check
    
    Signed-off-by: Claudio Cambra <[email protected]>
    claucambra committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    3e8ef43 View commit details
    Browse the repository at this point in the history
  4. Replace use of std::rand with improved C++11 random

    Signed-off-by: Claudio Cambra <[email protected]>
    claucambra committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    fc03a0f View commit details
    Browse the repository at this point in the history
  5. Use std::array to store hash bytes

    Signed-off-by: Claudio Cambra <[email protected]>
    claucambra committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    a306ace View commit details
    Browse the repository at this point in the history
  6. Simplify loop to write bytes to password

    Signed-off-by: Claudio Cambra <[email protected]>
    claucambra committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    67ef758 View commit details
    Browse the repository at this point in the history