From 6d8c35ca5c8b06ca0f68795b25d3523a2d27c218 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Mon, 29 Jul 2013 11:23:40 +0200 Subject: [PATCH] Use ./.keyring when learning key fingerprints too --- pws | 1 + 1 file changed, 1 insertion(+) diff --git a/pws b/pws index 7be90b4..98e475e 100755 --- a/pws +++ b/pws @@ -165,6 +165,7 @@ class GnuPG # and does not show elmo's fingerprint in a call like # gpg --with-colons --fast-list-mode --with-fingerprint --list-key D7C3F131AB2A91F5 args = %w{--with-colons --with-fingerprint --list-keys} + args.push "--keyring=./.keyring" if FileTest.exists?(".keyring") args.concat need_to_learn (outtxt, stderrtxt, statustxt) = GnuPG.gpgcall('', args, true) -- 2.39.5