Debian Bug report logs - #660103
editmoin: password authentication doesn't work

version graph

Package: editmoin; Maintainer for editmoin is Martin Pitt <mpitt@debian.org>; Source for editmoin is src:editmoin.

Reported by: Andrei POPESCU <andreimpopescu@gmail.com>

Date: Thu, 16 Feb 2012 12:33:01 UTC

Severity: normal

Tags: patch

Found in version editmoin/1.17-1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, andreimpopescu@gmail.com, Martin Pitt <mpitt@debian.org>:
Bug#660103; Package editmoin. (Thu, 16 Feb 2012 12:33:04 GMT) Full text and rfc822 format available.

Message #3 received at submit@bugs.debian.org (full text, mbox):

From: Andrei POPESCU <andreimpopescu@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: editmoin: password authentication doesn't work
Date: Thu, 16 Feb 2012 14:31:40 +0200
Package: editmoin
Version: 1.17-1
Severity: normal

Hello,

I'm trying to use editmoin with a ~/.moin_users that looks like this:

http://AndreiPopescu:<my_password>@wiki.debian.org

but I get:

$ editmoin debian/DebianWebsiteSubmissions
error: body information not found

If I append the user name I can edit pages, but I'm asked for the 
password:

~/.moin_users:
http://AndreiPopescu:<my_password>@wiki.debian.org AndreiPopescu

$ editmoin wiki.debian.org/DebianWebsiteSubmissions
Password for AndreiPopescu:

Kind regards,
Andrei


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=ro_RO.UTF-8, LC_CTYPE=ro_RO.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages editmoin depends on:
ii  python  2.7.2-10

editmoin recommends no packages.

Versions of packages editmoin suggests:
ii  vim-addon-manager  0.4.4

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Martin Pitt <mpitt@debian.org>:
Bug#660103; Package editmoin. (Mon, 11 Nov 2013 03:30:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Cyril Brulebois <kibi@debian.org>:
Extra info received and forwarded to list. Copy sent to Martin Pitt <mpitt@debian.org>. (Mon, 11 Nov 2013 03:30:05 GMT) Full text and rfc822 format available.

Message #8 received at 660103@bugs.debian.org (full text, mbox):

From: Cyril Brulebois <kibi@debian.org>
To: Andrei POPESCU <andreimpopescu@gmail.com>, 660103@bugs.debian.org
Subject: Re: Bug#660103: editmoin: password authentication doesn't work
Date: Mon, 11 Nov 2013 04:27:08 +0100
[Message part 1 (text/plain, inline)]
Control: tag -1 patch

Andrei POPESCU <andreimpopescu@gmail.com> (2012-02-16):
> I'm trying to use editmoin with a ~/.moin_users that looks like this:
> 
> http://AndreiPopescu:<my_password>@wiki.debian.org
> 
> but I get:
> 
> $ editmoin debian/DebianWebsiteSubmissions
> error: body information not found
> 
> If I append the user name I can edit pages, but I'm asked for the 
> password:
> 
> ~/.moin_users:
> http://AndreiPopescu:<my_password>@wiki.debian.org AndreiPopescu
> 
> $ editmoin wiki.debian.org/DebianWebsiteSubmissions
> Password for AndreiPopescu:

Hoping that people aren't using ':' in their usernames too much, I've
patched editmoin to support using this in ~/.moin_users (keep it 600!):

  http://wiki.debian.org MyLogin:MyPassword

The patch tweaks get_session_cookie to detect a password after a
semi-colon, adjusting user and skipping password prompt in that case.
Fetching a page and submitting an update worked fine.

The two print lines could probably disappear.

Mraw,
KiBi.
[editmoin+660103.diff (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]

Added tag(s) patch. Request was from Cyril Brulebois <kibi@debian.org> to 660103-submit@bugs.debian.org. (Mon, 11 Nov 2013 03:30:05 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 14:56:29 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.