summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Hesling <hesling@chromium.org>2019-12-04 18:43:01 -0800
committerCommit Bot <commit-bot@chromium.org>2019-12-05 19:42:01 +0000
commitbf0057e2bff9a68dc9a9f00d660193143d8233c0 (patch)
tree82e7eb00bdf57f8997c47f2f23b90c8345553056
parentfc4f8e5123364342c67d2c842a1091b7382bf50e (diff)
downloadchrome-ec-bf0057e2bff9a68dc9a9f00d660193143d8233c0.tar.gz
docs/fingerprint: Add note about generating keys
BRANCH=none BUG=none TEST=view in gitile Change-Id: I7aee42a1eb6f526836c6ef387bf05e1342d2b65f Signed-off-by: Craig Hesling <hesling@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1952287 Reviewed-by: Tom Hughes <tomhughes@chromium.org>
-rw-r--r--docs/fingerprint/fingerprint.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/fingerprint/fingerprint.md b/docs/fingerprint/fingerprint.md
index 366640a924..ed5bd6a09f 100644
--- a/docs/fingerprint/fingerprint.md
+++ b/docs/fingerprint/fingerprint.md
@@ -187,6 +187,13 @@ devices.
Switching keys is only possible when the `RO` firmware is not write protected,
since the public portion of the keypair is stored in the `RO` firmware.
+### Generate Key
+
+For testing, you can generate a new key by using the following openssl command:
+```bash
+openssl genrsa -3 -out board/$BOARD/dev_key.pem 3072
+```
+
### Resources
* https://sites.google.com/a/google.com/chromeos/resources/engineering/releng/signer-documentation