[Bug 509562] Re: euca-bundle-image returns Odd-length string error

Scott Moser smoser at canonical.com
Mon Sep 20 14:03:34 BST 2010


OK, my patch changes what was expected to be 32 bits of randomness to 31
bits of randomness.

Its probably not that big of a deal, but upstream should probably do:
- key = hex(BN.rand(16 * 8,top=0))[2:34]
+ key = hex(BN.rand(17 * 8,top=0))[3:35]

that will get the same 32 bits of randomness, but will still have the 32
bits of random number that were intended.

-- 
euca-bundle-image returns Odd-length string error
https://bugs.launchpad.net/bugs/509562
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.



More information about the Ubuntu-server-bugs mailing list