From ccbce75fcedaefc5c00d5a1d7418b72fb92dba13 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Thu, 24 Aug 2017 16:25:26 -0400 Subject: [PATCH] sha1sum pubring.gpg / secring.gpg for debugging Collect sha1sum to help validate secrets. Change-Id: I9bf251856340bd6d381686146a26ff3f8103cd59 Signed-off-by: Paul Belanger --- roles/sign-artifacts/tasks/main.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/sign-artifacts/tasks/main.yaml b/roles/sign-artifacts/tasks/main.yaml index a84376183..67f4ac7ab 100644 --- a/roles/sign-artifacts/tasks/main.yaml +++ b/roles/sign-artifacts/tasks/main.yaml @@ -15,6 +15,12 @@ dest: "{{ gnupg_tmpdir.path }}/secring.gpg" mode: 0400 +- name: Display sha1sum for GPG pubring / secring + command: "sha1sum {{ item }}" + with_items: + - "{{ gnupg_tmpdir.path }}/pubring.gpg" + - "{{ gnupg_tmpdir.path }}/secring.gpg" + - name: Find files to sign find: paths: "{{ gpg_sign_path }}"