diff --git a/lib/Config.rb b/lib/Config.rb index c1cc17e..92abad8 100644 --- a/lib/Config.rb +++ b/lib/Config.rb @@ -170,7 +170,7 @@ module MPW # @rtrn: true if the key exist, else false def check_gpg_key? ctx = GPGME::Ctx.new - ctx.each_key(key, true) do + ctx.each_key(@key, true) do return true end