[OpenID] Random failures when validating signatures

Richard Davies richard at richarddavies.us
Thu Nov 13 17:41:01 UTC 2008


On Nov 13, 9:29 am, "Hans Granqvist" <h... at granqvist.com> wrote:
> Compare to how Java's BigInteger adds a leading zero byte to make sure 2s
> complement form is always positive. Perhaps
> CF is similar?
>
> At any rate, this is a can o' worms. Perhaps this can be of value, or
> further
> cause confusion (even though it is an ASN.1 class, there is bit of
> explaining
> text + code related to this problem):https://svn.apache.org/repos/asf/incubator/tsik/trunk/src/org/apache/...

I'm actually using Java BigIntegers to store and manipulate my
numbers. But I'm not exactly sure what you wanted me to look at...

I guess I just need to look for a leading zero byte on the
server_public and remove it if found, correct?



More information about the general mailing list