Matt Dainty 0ca2b343a9 Address review comments há 7 anos atrás
..
ContextFlags.go 81c03155ec support big.Int for iterations within key derivation há 8 anos atrás
MICToken.go 0ca2b343a9 Address review comments há 7 anos atrás
MechType.go 81c03155ec support big.Int for iterations within key derivation há 8 anos atrás
NegotiationToken.go 91e2843b95 major version increment to v6 há 7 anos atrás
NegotiationToken_test.go 018098a529 parallelize tests (#143) há 8 anos atrás
README.md 39a59b8776 readme table fix há 7 anos atrás
WrapToken.go 12682928eb Fix some codespell issues há 7 anos atrás
WrapToken_test.go 12682928eb Fix some codespell issues há 7 anos atrás
gssapi.go 91e2843b95 major version increment to v6 há 7 anos atrás
gssapi_test.go 018098a529 parallelize tests (#143) há 8 anos atrás
krb5Token.go 91e2843b95 major version increment to v6 há 7 anos atrás
krb5Token_test.go 91e2843b95 major version increment to v6 há 7 anos atrás

README.md

Notes on GSS-API Negotiation Mechanism

https://tools.ietf.org/html/rfc4178

Client sends an initial negotiation message to the server which specifies the list of mechanisms the client can support in order of decreasing preference. This message is generated with the NewNegTokenInitKrb5 method. The message generated by this function specifies only a kerberos v5 mechanism is supported.

The RFC states that this message can optionally contain the initial mechanism token for the preferred mechanism (KRB5 in this case) of the client. The NewNegTokenInitKrb5 includes this in the message.

The server side responds to this message with a one of four messages:

Message Type/State Description
accept-completed indicates that the initiator-selected mechanism was acceptable to the target, and that the security mechanism token embedded in the first negotiation message was sufficient to complete the authentication
accept-incomplete At least one more message is needed from the client to establish security context.
reject Negotiation is being terminated.
request-mic (this state can only be present in the first reply message from the target) indicates that the MIC token exchange is REQUIRED if per-message integrity services are available