NETWAYS / ansible-collection-elasticstack

A collection to install and manage the Elastic Stack
GNU General Public License v3.0
9 stars 8 forks source link

Support 2b or 2y as indentation by Bcrypt #253

Open afeefghannam89 opened 10 months ago

afeefghannam89 commented 10 months ago

We should support 2b or 2y indentation for logstaash user password hashing, when we not support Elasticsearch 7 anymore in this collection. At the moment we support 2a which gut for elasticsearch company is. 2y and 2b are more secure than 2a. We should only make the indentation parameter in the logstash writer user as a variable and put the new value in defaults.yml

Here are the relevant links: https://passlib.readthedocs.io/en/stable/lib/passlib.hash.bcrypt.html https://github.com/elastic/elasticsearch/pull/76083