Java 1.5 is not encoding integers properly

Sam Hartman hartmans at MIT.EDU
Thu Jun 22 19:56:50 EDT 2006


>>>>> "Salil" == Salil Dangi <first_dot_last_ at unisys.com> writes:

    Salil> As per the ASN encoding specifications, all integers must
    Salil> be encoded in minimum number of octets.  This means that
    Salil> the top 9 bits of the encoded string should not be same.

MIT Kerberos and I think most of the other Kerberos implementations
out there will accept non-minimal-length BER integers.  I agree that
this is not compatible ith DER and that implementations that generate
such integers are not conforming to RFC 4120.



More information about the Kerberos mailing list