Modify

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#2462 closed defect (fixed)

Digest HTTP authentication

Reported by: gael mercier Owned by: Alec Thomas
Priority: normal Component: XmlRpcPlugin
Severity: minor Keywords: digest, authentification, tracd
Cc: Trac Release: 0.10

Description (last modified by Steffen Pingel)

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 16 years ago by Alec Thomas

Resolution: fixed
Status: newclosed

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

comment:2 Changed 16 years ago by gael mercier

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 16 years ago by Steffen Pingel

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Alec Thomas.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.