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

Inject signing-key as String #1041

Open
TimKnight-DWP opened this issue Feb 22, 2024 · 0 comments
Open

Inject signing-key as String #1041

TimKnight-DWP opened this issue Feb 22, 2024 · 0 comments

Comments

@TimKnight-DWP
Copy link

We are trying to use melange build within Gitlab-CI, currently we will be pulling a secure key from a secret manager and storing it in a .rsa file during the job run, but are having to put a lot of steps in to ensure a user could not cat out the contents of the rsa file into the logs and see the key.

If we could pass the signing-key as a string, we could use something like a Masked value within Gitlab which would prevent the value being printed out in the logs.

For example that would look like

melange build --signing-key ${PRIVATE_KEY_STRING} melange.yaml
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

No branches or pull requests

1 participant