[Bug 1022] New: ssh provider prompts incorrectly for supplied auth info
https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=1022 Summary: ssh provider prompts incorrectly for supplied auth info Product: Swift Version: 0.94 Platform: All OS/Version: Linux Status: ASSIGNED Severity: normal Priority: P2 Component: Providers AssignedTo: [email protected] ReportedBy: [email protected] CC: [email protected], [email protected], [email protected] With an auth.defaults entry correctly coded for pathphrase auth, swift 0.94 works fine. However if you remove (just) the passphrase line from a site in auth.defaults (so that Swift will prompt for the passphrase) then you get the following un-desired behavior: Swift first prompts for the username and key file location, providing what looks like the settings that it got from auth.defaults, as if its using this as defaults and just wants a <return> for those lines. Then it prompts for the password. However, if you just type <return> for the username and keyfile prompt, it doesnt seem to use the values it presented in [] brackets as the defaults. Instead, you have to actually re-type what you were just prompted with. For example: [wilde] wilde [/home/wilde/.ssh/id_rsa-swift] /home/wilde/.ssh/id_rsa-swift as in: mid$ swift -config cf -tc.file apps -sites.file ssh.xml echo.swift Swift 0.94 swift-r6414 (swift modified locally) cog-r3648 RunID: 20130613-0419-hk1in4k3 Progress: time: Thu, 13 Jun 2013 04:19:38 +0000 [wilde] wilde [/home/wilde/.ssh/id_rsa-swift] /home/wilde/.ssh/id_rsa-swift [null] U[dgkrux&,/1;@DHNPRY\`dhy,8:=X Progress: time: Thu, 13 Jun 2013 04:20:08 +0000 Selecting site:10 Initializing site shared directory:1 Progress: time: Thu, 13 Jun 2013 04:20:11 +0000 Selecting site:7 Initializing site shared directory:1 Stage in:3 Progress: time: Thu, 13 Jun 2013 04:20:12 +0000 Submitting:4 Submitted:1 Active:6 Progress: time: Thu, 13 Jun 2013 04:20:13 +0000 Active:3 Checking status:1 Stage out:7 Progress: time: Thu, 13 Jun 2013 04:20:17 +0000 Stage out:10 Finished successfully:1 Progress: time: Thu, 13 Jun 2013 04:20:18 +0000 Stage out:3 Finished successfully:8 Final status: Thu, 13 Jun 2013 04:20:19 +0000 Finished successfully:11 mid$ There's two things that seem wrong here: 1) It seems wrong to be prompted at all for username and passphrase when these were supplied in auth.defaults 2) it seems that if Swift is trying to give you a chance to override the settings from auth.defaults, then it should at least handle the values it has as real deafults, and accept a <return> to let the uer use those values. -- Configure bugmail: https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=1022 --- Comment #1 from Mihael Hategan <[email protected]> 2013-06-12 23:47:29 --- The intent was to allow you to override the defaults if not all are specified, but you are correct that a plain enter when a default is specified should suffice. It was meant that way, so this is a bug. -- Configure bugmail: https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
bugzilla-daemon@mcs.anl.gov