amkCrypto Install
Sandipan Gangopadhyay
sandipan at vsnl.com
Sat Apr 7 10:49:19 EDT 2001
Thanks, I figured that one out.
The latest problems are:
DSA:
Generating 256 bit key
p,q
4096 multiples failed <-- This is one problem.
h,g
x,y
...
CAST:
Testing ECB mode with key 'password12345678'
Sanity check
Benchmark for 256K: 7809.62781885 K/sec
Testing CFB mode with key 'password12345678' IV "Test IV@"
Benchmark for 64K: 3200.47996089 K/sec
Testing CBC mode with key 'password12345678' IV "Test IV@"
Benchmark for 256K: 9088.95455277 K/sec
Testing IV handling
Verifying against test suite...
Traceback (innermost last):
File "test.py", line 41, in ?
else: test.TestBlockModules(verbose= not quiet)
File "/usr/lib/python1.5/site-packages/Crypto/Util/test.py", line 524, in
TestBlockModules
obj=ciph.new(key, ciph.ECB)
File "/usr/lib/python1.5/site-packages/Crypto/Ciphers.py", line 84, in
__init__
self.instance = self.C_new(key,mode,IV)
ValueError: key string too short: need at least 11 bytes
Did I do something wrong ? Again ?
BTW, do we need SWIG for pisces or amkCrypto ?
Do I need to supply path to openssl during setup ?
Regards,
Sandipan
----- Original Message -----
From: "Oleg Broytmann" <phd at phd.fep.ru>
To: "Sandipan Gangopadhyay" <sandipan at vsnl.com>
Cc: <python-list at python.org>
Sent: Saturday, April 07, 2001 8:05 PM
Subject: Re: amkCrypto Install
> On Sat, 7 Apr 2001, Sandipan Gangopadhyay wrote:
> > ./test.py fails with:
> > import: Unable to connect to X server () [No such file or directory].
> > ./test.py: sys.path: command not found
>
> This looks like a shell (not Python) is interpreting. Run
> python test.py.
>
> > ./setup.py fails with:
> > usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
> > or: setup.py --help [cmd1 cmd2 ...]
> > or: setup.py --help-commands
> > or: setup.py cmd --help
> > error: no commands supplied
> >
> > I dont know what command to feed it.
>
> python setup.py install
>
> Oleg.
> ----
> Oleg Broytmann http://phd.pp.ru/ phd at phd.pp.ru
> Programmers don't die, they just GOSUB without RETURN.
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
More information about the Python-list
mailing list