monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] bug: monotone serve w/ long passphrase


From: Matt Johnston
Subject: Re: [Monotone-devel] bug: monotone serve w/ long passphrase
Date: Sat, 24 Sep 2005 23:56:23 +0800
User-agent: Mutt/1.5.10i

On Sat, Sep 24, 2005 at 12:30:33AM -0700, Stefan Karpinski wrote:
> Monotone reports the following bug. Here's the short version:
> 
> $ monotone --db=~/monotone/sex.db serve basin.cs.ucsb.edu  
> "org.leezard.*"
> enter passphrase for key ID address@hidden:
> monotone: fatal: std::exception: Botan: ARC4 cannot accept a key of  
> length 33
...
> monotone 0.22 (base revision: 69129c6df327273da0483a0277a72be1801a9a27)

It looks like Botan is limited to 32 byte keys for arcfour -
AFAICT it should be safe to increase the "32" maximum key
length in arc4.cpp to 256, though I'll take a closer look
first (and compare with crypto++'s behaviour).

monotone 0.21 was using crypto++, so that should be able to
use keys up to 256 bytes as a workaround.

Matt





reply via email to

[Prev in Thread] Current Thread [Next in Thread]