Skip to content

Commit

Permalink
Narrowing In!
Browse files Browse the repository at this point in the history
  • Loading branch information
Emma Turetsky committed Feb 24, 2025
1 parent 98a495d commit 39aedad
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -1545,21 +1545,21 @@ func InitServer(ctx context.Context, currentServers server_structs.ServerType) e

// Reset IssuerKeys to ensure test cases can use their own temp IssuerKeysDirectory
ResetIssuerPrivateKeys()
/*
// As necessary, generate private keys, JWKS and corresponding certs
// As necessary, generate private keys, JWKS and corresponding certs

// Note: This function will generate a private key in the location stored by the viper var "IssuerKeysDirectory"
// iff there isn't any valid private key present in that location
_, err = GetIssuerPublicJWKS()
if err != nil {
return err
}
// Note: This function will generate a private key in the location stored by the viper var "IssuerKeysDirectory"
// iff there isn't any valid private key present in that location
_, err = GetIssuerPublicJWKS()
if err != nil {
return err
}
// Check if we have required files in place to set up TLS, or we will generate them
err = GenerateCert()
if err != nil {
return err
} /*
// Check if we have required files in place to set up TLS, or we will generate them
err = GenerateCert()
if err != nil {
return err
}/*
// Generate the session secret and save it as the default value
if err := GenerateSessionSecret(); err != nil {
Expand Down

0 comments on commit 39aedad

Please sign in to comment.