-
Notifications
You must be signed in to change notification settings - Fork 94
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
[QUESTION] How to configure GPG key? #37
Comments
@bastientanesie Your GPG value should look something like this
|
Thanks @MarshallOfSound, I got it to work! 👍 Here's what I did:
In your /**
* GPG key to use when signing APT and YUM releases
*
* Requires to be unlocked (no password) and have both the private and
* public key.
*/
gpgSigningKey: `
-----BEGIN PGP PUBLIC KEY BLOCK-----
YOUR PUBLIC KEY CONTENTS
-----END PGP PUBLIC KEY BLOCK-----
-----BEGIN PGP PRIVATE KEY BLOCK-----
YOUR PRIVATE KEY CONTENTS
-----END PGP PRIVATE KEY BLOCK-----
`
}; Make sure you keep those blank lines before and after the key contents. BTW, this GPG cheatsheet might be usefull 😉. |
@bastientanesie Would you be down to write up your journey as a step-by-step guide and PR it into the |
@MarshallOfSound sure thing, I just need to find some spare time now! 😅 |
Thank you for the gpg manual!
--> Can this go into the Readme? |
i run into the same problem and trying to enter the gpg keys in the config.js . i get this
|
@MarshallOfSound can this issue be reopened ? |
@dimthe try |
@dimthe it depends on the version of the |
I followed your step. what my gpgSigningKey like: data data I'm not sure what wrong with it. |
It's worked! this is important!
|
I fell into a quite frustrating trap... So be sure to set your |
I had LANG set to en_US.UTF-8 and was failing, setting to 'en' helped. I also had to generate the gpg key as RSA following the above examples, not sure if that is necessary |
I'm trying to configure GPG key while using the
nucleus
command for a production environment.I've stumbled upon #30, but cannot find a working solution.
I followed this GitHub guide to generate a GPG key pair and export them into seperate files.
I tried to copy the content of each files individually in the
config.gpgSigningKey
, then tried to copy both file contents inside the config key but all I got is this error message (while starting the serve with$ nucleus path/to/my/config.js
):@MarshallOfSound can you tell me what value should we pass to
config.gpgSigningKey
?The text was updated successfully, but these errors were encountered: