Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop key group constructor param, you can always just pass particular keys #16

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

spaze
Copy link
Owner

@spaze spaze commented Jan 19, 2024

Instead of creating the service like

Spaze\Encryption\Symmetric\StaticKey('email', %encryption.keys%, %encryption.activeKeyIds%)

you can create it like

Spaze\Encryption\Symmetric\StaticKey(%encryption.keys.email%, %encryption.activeKeyIds.email%)

… keys

Instead of creating the service like
```
Spaze\Encryption\Symmetric\StaticKey('email', %encryption.keys%, %encryption.activeKeyIds%)
```
you can create it like
```
Spaze\Encryption\Symmetric\StaticKey(%encryption.keys.email%, %encryption.activeKeyIds.email%)
```
@spaze spaze self-assigned this Jan 19, 2024
@spaze spaze merged commit d712b13 into main Jan 19, 2024
4 checks passed
@spaze spaze deleted the spaze/drop-key-group branch January 19, 2024 03:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant