Skip to content

Improve --help and documentation for "encodepassword -a/--algorithm" in the Spring Boot CLI #38203

@manueljordan

Description

@manueljordan

About Spring Boot CLI 3.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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions