impacket icon indicating copy to clipboard operation
impacket copied to clipboard

Enforce minimum of 32 bit flags length

Open dwelch-r7 opened this issue 2 years ago • 0 comments

Currrently during conversion from ccache to kirbi formats the flags field can come out as less than the 32 bits specified by the spec, this PR forces that it's a minimum of 32 bits https://datatracker.ietf.org/doc/html/rfc4120#section-5.2.8

KerberosFlags ::= BIT STRING (SIZE (32..MAX)) -- minimum number of bits shall be sent, -- but no fewer than 32

dwelch-r7 avatar Sep 11 '22 22:09 dwelch-r7