You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
About Spring Boot CLI3.1.4 when is executed the ./spring --help encodepassword command appears:
./spring --help encodepassword
spring encodepassword - Encode a password for use with Spring Security
usage: spring encodepassword [options] <password to encode>
Option Description
------ -----------
-a, --algorithm <String> The algorithm to use (default: default)
examples:
To encode a password with the default encoder:
$ spring encodepassword mypassword
To encode a password with pbkdf2:
$ spring encodepassword -a pbkdf2 mypassword
Two things to consider:
About default: default is really BCrypt (I think it should be updated)
Should be listed all the possible valid values for -a/--algorithm
The improvements of both should be applied for the command's output and Reference documentation.
Thanks for your understanding
The text was updated successfully, but these errors were encountered:
mhalbritter
changed the title
Spring Boot CLI: Improve --help and documentation for "encodepassword -a/--algorithm"
Improve --help and documentation for "encodepassword -a/--algorithm" in the Spring Boot CLI
Nov 7, 2023
spring encodepassword - Encode a password for use with Spring Security
usage: spring encodepassword [options] <password to encode>
Option Description
------ -----------
-a, --algorithm <String> The algorithm to use. Supported algorithms: default,
bcrypt, pbkdf2. The default algorithm uses bcrypt
(default: default)
examples:
To encode a password with the default (bcrypt) encoder:
$ spring encodepassword mypassword
To encode a password with pbkdf2:
$ spring encodepassword -a pbkdf2 mypassword
About
Spring Boot CLI
3.1.4 when is executed the./spring --help encodepassword
command appears:Two things to consider:
BCrypt
(I think it should be updated)-a/--algorithm
The improvements of both should be applied for the command's output and Reference documentation.
Thanks for your understanding
The text was updated successfully, but these errors were encountered: