mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-14 21:17:38 +00:00
fix: improve key rotation (#1328)
* fix: improve key rotation * update oidc pkg version
This commit is contained in:
@@ -22,6 +22,7 @@ type SigningKey struct {
|
||||
ID string
|
||||
Algorithm string
|
||||
Key interface{}
|
||||
Sequence uint64
|
||||
}
|
||||
|
||||
type PublicKey struct {
|
||||
@@ -84,6 +85,7 @@ func SigningKeyFromKeyView(key *KeyView, alg crypto.EncryptionAlgorithm) (*Signi
|
||||
ID: key.ID,
|
||||
Algorithm: key.Algorithm,
|
||||
Key: privateKey,
|
||||
Sequence: key.Sequence,
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user