diff options
| author | Jonas Abromaitis <jonas@nebula44.com> | 2012-02-16 13:42:07 +0200 |
|---|---|---|
| committer | Jonas Abromaitis <jonas@nebula44.com> | 2012-02-16 13:42:07 +0200 |
| commit | f1f9340498a6e8030b0b1feb084a20df98271037 (patch) | |
| tree | 7aee0a0316168f264548084a6990ac84f4ac35d3 /lib | |
| parent | a3ac2399816fd1909f15a77ad853908c48ad99a9 (diff) | |
| download | net-ssh-f1f9340498a6e8030b0b1feb084a20df98271037.tar.gz | |
Whoops, forgot to remove debug output.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/net/ssh/authentication/agent/java_pageant.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/net/ssh/authentication/agent/java_pageant.rb b/lib/net/ssh/authentication/agent/java_pageant.rb index 5c16248..d9adc52 100644 --- a/lib/net/ssh/authentication/agent/java_pageant.rb +++ b/lib/net/ssh/authentication/agent/java_pageant.rb @@ -65,7 +65,7 @@ module Net; module SSH; module Authentication # to the comment returned by the agent for that key. def identities debug { "getting identities from Pageant" } - identities = @agent_proxy.get_identities.map do |identity| + @agent_proxy.get_identities.map do |identity| blob = identity.get_blob key = Buffer.new(String.from_java_bytes(blob)).read_key key.extend(Key) @@ -73,8 +73,6 @@ module Net; module SSH; module Authentication key.comment = String.from_java_bytes(identity.get_comment) key end - puts identities.inspect - identities rescue AgentProxyException => e raise AgentError, "Cannot get identities: #{e.message}", e.backtrace end |
