Bug #1917

fossjobs rejects --user --password

Added by Bob Gobeille about 1 year ago. Updated about 1 year ago.

Status:Closed Start date:05/08/2012
Priority:High Due date:
Assignee:larry shi % Done:

0%

Category:CLI
Target version:2.0.0
Rank: Tester:

Description

The following should work because I have a ~/.fossology.rc with my user/pass

$ fossjobs -a
User name or password is invalid.

The following should work because I'm specifying the user/pass on the command line.

$ fossjobs -a --user fossy --password fossy
User name or password is invalid.

History

Updated by larry shi about 1 year ago

  • Status changed from New to Resolved

a fix in svn 5844

Updated by Bob Gobeille about 1 year ago

  • Status changed from Resolved to In Progress

I see no change in behavior with the same tests as my original issue. Tested on 5844.

Updated by larry shi about 1 year ago

  • Status changed from In Progress to Resolved

fixed in svn 5851.

Updated by Bob Gobeille about 1 year ago

  • Status changed from Resolved to In Progress

tested in 5851
Correct user/pass are not recognized on the command line.

$ fossjobs -Q --user realfouser --password realfopassword
User name or password is invalid.

Also ~/.fossology.rc is not being used:
$ fossjobs -a
The user is: bobg, please enter the password:

Updated by larry shi about 1 year ago

  • Status changed from In Progress to Feedback

Bob Gobeille wrote:

tested in 5851
Correct user/pass are not recognized on the command line.

$ fossjobs -Q --user realfouser --password realfopassword
User name or password is invalid.

Also ~/.fossology.rc is not being used:
$ fossjobs -a
The user is: bobg, please enter the password:

I do not very capture you test case.
for cp2foss and fossjobs, if there are no ~/.fossology.rc and you do not add the --user USER argument, will add the current user as the default, then let you enter the password.
so I think for your test case, there is no ~/.fossology.rc, the current user is bobg,right?

Updated by larry shi about 1 year ago

  • Status changed from Feedback to Resolved

fixed in svn 5862.

Updated by Bob Gobeille about 1 year ago

  • Status changed from Resolved to Closed

Tested and verified on 5863. However, all the auth code is duplicated here and in fossjobs. That duplication is a bad practice. I'm going to file a new defect on that for 2.0.1.

Also available in: Atom PDF