SRU verification for Lucid:
I have reproduced the problem with ncrypt 0.6.4-0ubuntu3 in lucid and have
verified that the version of ncrypt 0.6.4-0ubuntu3.1 in -proposed fixes the
issue. I've verified that the package is available and run the following
examples with success:
---
from ncrypt.digest import DigestType, Digest
sha256Type = DigestType( 'SHA256' )
def calc_sha256( data ) :
d = Digest( sha256Type )
return d.digest( data )
md5Type = DigestType( 'MD5' )
def calc_md5( file_obj ) :
d = Digest( md5Type )
while 1 :
data = file_obj.read( 65536 )
if not data : break
d.update( data )
return d.digest()
>>>calc_sha256('abcd')
'\x88\xd4&o\xd4\xe63\x8d\x13\xb8E\xfc\xf2\x89W\x9d
\x9c\x89x#\xb9!}\xa3\xe1a\x93o\x03\x15\x89'
>>> f=open('/tmp/593990/result02.pdf','rb')
>>> calc_md5(f)
'q\xafm\x1b\xdb\x8e5Z\x16\xa4^\xe6}\xa9\x84\x80'
Marking as verification-done
** Tags added: verification-done
** Tags removed: verification-needed
--
python-ncrypt does no longer compile in lucid
https://bugs.launchpad.net/bugs/587345
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs