Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpi-otp-private-key: fix typo #171

Merged
merged 1 commit into from Nov 29, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions tools/rpi-otp-private-key
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ usage() {
cat <<EOF
$(basename "$0") [-cfwy] <key>

No args - reads the current private key from OTP. These values are NOT visible via 'vcgencmd otp_dump'
No args - reads the current private key from OTP. These values are NOT visible via 'vcgencmd otp_dump'.

-b Output the key in binary format.
-c Reads key and exits with 1 if it is all zeros i.e. not set.
Expand All @@ -32,7 +32,7 @@ usage() {
to any user in the 'video' group via vcmailbox. Therefore this functionality is only suitable for key
storage if the OS has already been restricted using the signed boot functionality.

WARNING: Changes to OTP memory are permenant and cannot be undone.
WARNING: Changes to OTP memory are permanent and cannot be undone.
EOF
exit 1
}
Expand Down Expand Up @@ -69,9 +69,9 @@ write_key() {
if [ "${YES}" = 0 ] && [ -t 0 ]; then
echo "Write ${key} to OTP?"
echo
echo "WARNING: Updates to OTP registers are permenant and cannot be undone."
echo "WARNING: Updates to OTP registers are permanent and cannot be undone."

echo "Type YES (in upper-case) to continue or press return to exit."
echo "Type YES (in upper case) to continue or press return to exit."
read -r confirm
if [ "${confirm}" != "YES" ]; then
echo "Cancelled"
Expand Down