From: Tollef Fog Heen Date: Mon, 29 Jul 2013 09:23:40 +0000 (+0200) Subject: Use ./.keyring when learning key fingerprints too X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d8c35ca5c8b06ca0f68795b25d3523a2d27c218;p=pwstore Use ./.keyring when learning key fingerprints too --- 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)