from_pkyp (EzCrypto::Verifier)

    # File lib/ezsig.rb, line 161
        def self.from_pkyp(digest)
          digest=digest.strip.downcase
          if digest=~/[0123456789abcdef]{40}/
    #        Net::HTTP.start("localhost", 9000) do |query|
            Net::HTTP.start("pkyp.org", 80) do |query|
              response=query.get "/#{digest}.pem"
              if response.code=="200"
                decode(response.body)
              else
                raise "Error occured (#{response.code}): #{response.body}"
              end
            end
          else
            raise "Invalid digest"
          end
        end