From 5486def3a9f87fe1de0943aa8cfefde9785c6fd4 Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Mon, 24 Oct 2011 18:20:45 +0200 Subject: [PATCH] bug #847: Removed unneeded access to public key in SshAuth class --- src/authm_mad/remotes/ssh/ssh_auth.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/authm_mad/remotes/ssh/ssh_auth.rb b/src/authm_mad/remotes/ssh/ssh_auth.rb index 477effff38..2885f39da0 100644 --- a/src/authm_mad/remotes/ssh/ssh_auth.rb +++ b/src/authm_mad/remotes/ssh/ssh_auth.rb @@ -26,8 +26,6 @@ require 'fileutils' class SshAuth LOGIN_PATH = ENV['HOME']+'/.one/one_ssh' - attr_reader :public_key - # Initialize SshAuth object # # @param [Hash] default options for path @@ -92,7 +90,7 @@ class SshAuth end # Returns a valid password string to create a user using this auth driver. - # In this case the dn of the user certificate. + # In this case the ssh public key. def password @public_key end