Skip to content

Document Password generation for password containing $ #14133

@sbordet

Description

@sbordet

Jetty version(s)
12.1.x

Description
The documentation for the Password tool should be improved to avoid mistakes related to generating password that contain special characters such as $ on the command line.

For example:

$ java -jar jetty-util.jar org.eclipse.jetty.util.security.Password user A1$B2

The shell would interpret $B2 as a variable, which likely does not exist, therefore the password is only A1.

The correct syntax would be:

$ java -jar jetty-util.jar org.eclipse.jetty.util.security.Password 'user' 'A1$B2'

Metadata

Metadata

Assignees

Labels

BugFor general bugs on Jetty side

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions