Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#2462 closed defect (fixed)

Digest HTTP authentication

Reported by: gaelm Owned by: athomas
Priority: normal Component: XmlRpcPlugin
Severity: minor Keywords: digest, authentification, tracd
Cc: Trac Release: 0.10

Description (last modified by stp)

In the http://trac-hacks.org/wiki/XmlRpcPlugin documentation it is said that

The xmlrpclib.ServerProxy client - as demonstrated in the following examples - will not work with a Digest-based HTTP authentication: you need to set up a Basic HTTP authentication on server side to make the examples work.

But it appears that the digest authentification is working fine for me, using the tracd standalone server.

I am using a local tracd server launched with the following command line :

python <path to tracd>\tracd --port 8000 --auth=trac,<path to my digest file>\users_htdigest.txt,trac <path to the project>\trac

When I attempted to add a task repository in Eclipse with Mylyn (using XML RPC plugin) it worked, and so when I added a task.

The only plugins that I have in Trac are:

  • Trac 0.10.4
  • tracwebadmin 0.1.2dev-r6060
  • tracxmlrpc 0.1

Attachments (0)

Change History (3)

comment:1 Changed 7 years ago by athomas

  • Resolution set to fixed
  • Status changed from new to closed

So...is this a bug report? If not, you can just update the Wiki page yourself...

comment:2 Changed 7 years ago by gaelm

Ok ; I found out it was more tricky.

Adding tickets under Eclipse Mylyn with tracd digest authentification works, but for instance adding some attachements will fail (some I/O Exception socket error).

I tried adding files to a task with tracd basic authentification (htpasswd) and it worked, so the digest auth. is anyway not working properly. I'll leave the wiki as it is now.

comment:3 Changed 7 years ago by stp

  • Description modified (diff)

There is a related report for Mylyn:

214341: Large XML-RPC requests fail when using digest authentication and tracd https://bugs.eclipse.org/bugs/show_bug.cgi?id=214341

Add Comment

Modify Ticket

Action
as closed The owner will remain athomas.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.