Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(172)

Unified Diff: utility/dev_make_keypair

Issue 4215006: Make dumpRSAPublicKey also accept a public key in PEM format (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vboot_reference.git
Patch Set: remove spurious key add Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/gen_test_keys.sh ('k') | utility/dumpRSAPublicKey.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utility/dev_make_keypair
diff --git a/utility/dev_make_keypair b/utility/dev_make_keypair
index b055826072e2375ff64dd53acde26ebea4714f9a..d1d34ad4ae8e08debe0517ad65ee7b07f2b47c4c 100755
--- a/utility/dev_make_keypair
+++ b/utility/dev_make_keypair
@@ -53,7 +53,7 @@ function make_pair {
openssl req -batch -new -x509 -key "${base}_${len}.pem" \
-out "${base}_${len}.crt"
# generate pre-processed RSA public key
- dumpRSAPublicKey "${base}_${len}.crt" > "${base}_${len}.keyb"
+ dumpRSAPublicKey -cert "${base}_${len}.crt" > "${base}_${len}.keyb"
# wrap the public key
vbutil_key \
« no previous file with comments | « tests/gen_test_keys.sh ('k') | utility/dumpRSAPublicKey.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698