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

invenio: better secret key and salts management #148

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

egabancho
Copy link
Member

  • Adds missing salts to harden security.

  • Deprecates plain keys and forces to use secrets for them.

  • Automatically generates secret key and salts if no secret is provided.

*/}}
{{- define "invenio.secretName" -}}
{{- if .Values.invenio.existingSecret -}}
{{- print (tpl .Values.invenio.sentry.existingSecret .) -}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it the Sentry secret we should use here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a rebase error 😉

{{- if .Values.invenio.existingSecret -}}
{{- print (tpl .Values.invenio.sentry.existingSecret .) -}}
{{- else -}}
{{- "invenio-secretes" -}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo

* Adds missing salts to harden security.

* Deprecates plain keys and forces to use secrets for them.

* Automatically generates secret key and salts if no secret is provided.
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