Closed snqk closed 2 years ago
When defining a krb.conf as code, using config.Config, the library doesn't initialise ETypeIDs for corresponding ETypes.
config.Config
https://github.com/jcmturner/gokrb5/blob/663478bf457f1fc3275973bea5b7b787cd332015/v8/config/krb5conf.go#L98-L117
Notably DefaultTGSEnctypeIDs, DefaultTktEnctypeIDs & PermittedEnctypeIDs.
DefaultTGSEnctypeIDs
DefaultTktEnctypeIDs
PermittedEnctypeIDs
This isn't a problem when parsing a config file however:
https://github.com/jcmturner/gokrb5/blob/663478bf457f1fc3275973bea5b7b787cd332015/v8/config/krb5conf.go#L307-L309
When defining a krb.conf as code, using
config.Config
, the library doesn't initialise ETypeIDs for corresponding ETypes.https://github.com/jcmturner/gokrb5/blob/663478bf457f1fc3275973bea5b7b787cd332015/v8/config/krb5conf.go#L98-L117
Notably
DefaultTGSEnctypeIDs
,DefaultTktEnctypeIDs
&PermittedEnctypeIDs
.This isn't a problem when parsing a config file however:
https://github.com/jcmturner/gokrb5/blob/663478bf457f1fc3275973bea5b7b787cd332015/v8/config/krb5conf.go#L307-L309