Skip to content
Snippets Groups Projects
Verified Commit 717558fc authored by Gabriel Zachmann's avatar Gabriel Zachmann
Browse files

replace deprecated function call

parent a0f2409c
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@ import (
"crypto/x509"
"encoding/pem"
"fmt"
"io/ioutil"
"os"
"github.com/coreos/go-oidc/v3/oidc"
"github.com/golang-jwt/jwt"
......@@ -107,7 +107,7 @@ func GetJWKS() jwk.Set {
// LoadKey loads the private and public key
func LoadKey() {
keyFileContent, err := ioutil.ReadFile(config.Get().Signing.KeyFile)
keyFileContent, err := os.ReadFile(config.Get().Signing.KeyFile)
if err != nil {
panic(err)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment