From dc8f0cb25bba002038234c0a732ba5be17efe69f Mon Sep 17 00:00:00 2001 From: Meaglith Ma Date: Tue, 3 Mar 2015 22:14:46 +0800 Subject: [PATCH] Fix the gpg-batch file and output pubkeys.gpg file command --- Documentation/signing-and-verification-guide.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Documentation/signing-and-verification-guide.md b/Documentation/signing-and-verification-guide.md index 7bbf0da..4bde7d7 100644 --- a/Documentation/signing-and-verification-guide.md +++ b/Documentation/signing-and-verification-guide.md @@ -9,8 +9,8 @@ hello-0.0.1-linux-amd64.aci * [Signing ACIs](#signing-acis) * [Distributing Images via Meta Discovery](#distributing-images-via-meta-discovery) * [Verifying Images with Rocket](#verifying-images-with-rocket) - * [Establishing Trust](#establishing-trust) - * [Example Usage](#example-usage) +* [Establishing Trust](#establishing-trust) +* [Example Usage](#example-usage) ## Signing ACIs @@ -22,8 +22,10 @@ Create a file named `gpg-batch` ``` %echo Generating a default key -Key-Type: default -Subkey-Type: default +Key-Type: RSA +Key-Length: 2048 +Subkey-Type: RSA +Subkey-Length: 2048 Name-Real: Kelsey Hightower Name-Comment: ACI signing key Name-Email: kelsey.hightower@coreos.com @@ -103,8 +105,7 @@ gpg> quit ``` $ gpg --no-default-keyring --armor \ --secret-keyring ./rocket.sec --keyring ./rocket.pub \ ---output pubkeys.gpg \ ---export "" +--export kelsey.hightower@coreos.com > pubkeys.gpg ``` ### Signing the ACI