mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-15 05:15:14 +00:00
feat: add CLI command for encryption key rotation (#1209)
This commit is contained in:
@@ -102,7 +102,7 @@ func keyRotate(ctx context.Context, flags keyRotateFlags, db *gorm.DB, envConfig
|
||||
}
|
||||
|
||||
// Save the key
|
||||
err = keyProvider.SaveKey(key)
|
||||
err = keyProvider.SaveKey(ctx, key)
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to store new key: %w", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user