mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-27 17:10:22 -04:00
The Terminal class currently has two variants of readSecret, one that is similar to Console.readPassword, and another that takes a maximum length to read. This second variant was originally added as a protection when reading the keystore password. However, there are no other uses of it, and the passphrase has already been fully read in bin/elasticsearch by the time it is read from Terminal, so it shouldn't be possible to actually hit this edge case. This commit removes the maxLength variant. relates #85758 |
||
---|---|---|
.. | ||
licenses | ||
src/main/java/org/elasticsearch/cli | ||
build.gradle |