diff options
author | azul <azul@riseup.net> | 2016-07-21 19:25:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-21 19:25:38 +0200 |
commit | 6663a070f6b34d5af4c1812b1255c64534a7a59a (patch) | |
tree | b01cf32a0a95a11b3ea9bd279c2b251a1fb5b58e /lib/nickserver/hkp/client.rb | |
parent | d7599715c6d24534dcccbe29cfc058e534039053 (diff) | |
parent | 59263baee9fc04524c8a69af1f7293fa4315d3ff (diff) |
Merge pull request #6 from pixelated/by_fingerprint
By fingerprint
Diffstat (limited to 'lib/nickserver/hkp/client.rb')
-rw-r--r-- | lib/nickserver/hkp/client.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/nickserver/hkp/client.rb b/lib/nickserver/hkp/client.rb index 1fbe7a2..d53daad 100644 --- a/lib/nickserver/hkp/client.rb +++ b/lib/nickserver/hkp/client.rb @@ -27,8 +27,8 @@ module Nickserver; module Hkp # # fetches ascii armored OpenPGP public key from the keyserver # - def get_key_by_fingerprint(fingerprint, &block) - get op: 'get', search: "0x" + fingerprint, &block + def get_key_by_fingerprint(fingerprint) + get op: 'get', search: "0x" + fingerprint end protected |