dotnet / Kerberos.NET

A Kerberos implementation built entirely in managed code.
MIT License
515 stars 90 forks source link

Adding optional param KrbEncryptionKey to GenerateWrappedServiceTicket and GenerateServiceTicket #373

Closed DiaaFathalla closed 1 month ago

DiaaFathalla commented 2 months ago

Adding optional param KrbEncryptionKey to GenerateWrappedServiceTicket and GenerateServiceTicket

What's the problem?

Need to create the sessionKey and pass it in GenerateWrappedServiceTicket when creating the kerb ticket instead of having it auto generated.

What's the solution?

Add the optional parameter KrbEncryptionKey so that encryptionKey can be passed in if one needs to provide their own.

What issue is this related to, if any?

N/A

SteveSyfuhs commented 1 month ago

Looks perfect.