Skip to content

Use locally generated salts whenever possible #16

Description

@swissspidy

Just like in WordPress core and https://github.com/wp-cli/config-command, using the WordPress.org to get salts should be the last resort.

One should first try to generate them locally, for example with the help of random_int().

Here's the relevant WP-CLI code:

https://github.com/wp-cli/config-command/blob/9e3ccb8f013a7332c16a78ac68f9deee171b022f/src/Config_Command.php#L625-L682

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions