Skip to content

Conversation

@ngreatorex
Copy link
Contributor

The headless instructions contain a small security risk. If you were to follow the instructions as written, your password would be stored in plain text in your shell history (e.g. ~/.bash_history).

It's much better practice to get openssl to prompt you for a password - that way it's not stored anywhere.

The headless instructions contain a small security risk. If you were to follow the instructions as written, your password would be stored in plain text in your shell history (e.g. ~/.bash_history).

 It's much better to get openssl to prompt you for a password - that way it's not stored anywhere.
@JamesH65
Copy link
Contributor

LGTM

@aallan aallan merged commit 4b2199d into raspberrypi:develop Jul 27, 2022
This will produce what looks like a string of random characters, which is actually an encrypted version of the supplied password.
This will prompt you to enter your password, and verify it. It will then produce what looks like a string of random characters, which is actually an encrypted version of the supplied password.

WARNING: If you are creating this file on Microsoft Windows you should ensure that you do no add a newline to the end of the file. In Windows, lines end with both the line feed and carriage return ASCII characters, but Unix uses only a line feed and treats the additional carriage return character as part of the password hash.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe you do no add -> you do not add ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR has already been merged, please feel free to open a new PR 🙂

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lurch Someone please read this comment and edit it. I turn the credit around so that others can contribute. 😆

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ummm, okay? 🤔 #2602

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants