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

HMS-2692 feat: App secrets with HKDF #12

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

tiran
Copy link
Collaborator

@tiran tiran commented Oct 4, 2023

Change internal secrets handling to derive domain secrets from a common app secrets with HKDF.

app.domain_reg_key has been removed. Instead the domain registration token key is derived from app.secret using RFC 5869 HKDF extract and expand. In the future, other secrets like JWK encryption key will be derived the same way.

Change internal secrets handling to derive domain secrets from a common
app secrets with HKDF.

`app.domain_reg_key` has been removed. Instead the domain registration
token key is derived from `app.secret` using RFC 5869 HKDF extract and
expand. In the future, other secrets like JWK encryption key will be
derived the same way.

Signed-off-by: Christian Heimes <[email protected]>
@frasertweedale
Copy link
Contributor

LGTM. Merging. Thanks!

@frasertweedale frasertweedale merged commit 3bfd562 into podengo-project:main Oct 5, 2023
1 check passed
@tiran tiran deleted the hms-2692-hkdf-secret branch October 5, 2023 06:16
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.

2 participants