[pkg-horde] Bug#410460: imp4: refuses pgp passphrases of lengths over 15 characters

Lionel Elie Mamane lionel at mamane.lu
Sat Feb 10 23:26:25 CET 2007


tags 410460 +unreproducible
thanks

On Sat, Feb 10, 2007 at 09:04:32PM +0000, Phil Reynolds wrote:
> On Sat, Feb 10, 2007 at 09:36:53PM +0100, Lionel Elie Mamane wrote:
>> On Sat, Feb 10, 2007 at 08:03:13PM +0000, Phil Reynolds wrote:

>>> If you try to use PGP in imp4, you are prompted for your passphrase
>>> on first use. I have a 17-character passphrase, but this is rejected
>>> as invalid. It would appear that the length is more than imp4 can
>>> cope with at present, or alternatively, it is rejecting certain
>>> characters present in my passphrase.

>> Maybe the locale in which you set the passphrase is not the same as
>> the one used by IMP (e.g. one is UTF-8 and the other is ISO 8859) and
>> your passphrase contains non-ASCII characters (such as é, è, û, ...)?

> All the characters are ASCII. The locales are ISO-8859 - ISO8859-1
> and ISO8859-15 are what I have used, and all the characters are in
> both.

The maximum length is 60 characters, and I have tested a passphrase
that long. So your problem is not a length problem. I have tried a
passphrase that starts and ends with a space (I was afraid the
passphrase might be trimmed by the browser / PHP / ...), it
works. Although if you use a different browser, it might trim end /
begin spaces, I'm not sure.

Your passphrase contains only ASCII _printable_ characters, right
(values between 32 and 126 decimal, see
http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters)?

-- 
Lionel




More information about the pkg-horde-hackers mailing list