From: Jeff King Date: Thu, 29 Jan 2015 15:43:20 +0000 (-0500) Subject: t/lib-gpg: include separate public keys in keyring.gpg X-Git-Tag: v2.3.2~17^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/830ff021aaaf12c43f06314feaf465377672d3ea?ds=sidebyside;hp=830ff021aaaf12c43f06314feaf465377672d3ea t/lib-gpg: include separate public keys in keyring.gpg Since 1e3eefb (tests: replace binary GPG keyrings with ASCII-armored keys, 2014-12-12), we import our test GPG keys from a single file. Each keypair in the import stream contains both the secret and public keys. However, older versions of gpg reportedly fail to import the public half of the key. We can solve this by including duplicates of the public keys separately. The duplicates are ignored by modern gpg, and this makes older versions work. Reported by Tom G. Christensen on gpg 1.2.6 (from RHEL4). Signed-off-by: Jeff King Signed-off-by: Junio C Hamano ---