Hi,
I was trying to use the dedicated openPGP keyring to import the release team's keys but ran into a problem. I'm mostly following the XDG config spec (not important), so I already have the GNUPGHOME variable set to ~/.config/gnupg.
During the installation (as followed on the README) we set it to a different location depending on whether you are using brew or not. Till now it's fine but once it's done and the next time I try to install node it still gives me the error about not importing the release team's keys. That is expected though because the next time I launch my terminal GNUPGHOME is set back to ~/.config/gnupg which doesn't have the keys.
At the moment I can solve this by running this just before installing nodejs
export GNUPGHOME="/usr/local/opt/asdf/keyrings/nodejs"
Is there a better way of doing this?
P.S. I'm not sure but I think the README instructions might not be correct regarding the path of this variable as they specify
export GNUPGHOME="bash /usr/local/opt/asdf/keyrings/nodejs"
Not sure if that bash is supposed to be.
Hi,
I was trying to use the dedicated openPGP keyring to import the release team's keys but ran into a problem. I'm mostly following the XDG config spec (not important), so I already have the
GNUPGHOMEvariable set to~/.config/gnupg.During the installation (as followed on the README) we set it to a different location depending on whether you are using
brewor not. Till now it's fine but once it's done and the next time I try to install node it still gives me the error about not importing the release team's keys. That is expected though because the next time I launch my terminalGNUPGHOMEis set back to~/.config/gnupgwhich doesn't have the keys.At the moment I can solve this by running this just before installing nodejs
Is there a better way of doing this?
P.S. I'm not sure but I think the README instructions might not be correct regarding the path of this variable as they specify
Not sure if that
bashis supposed to be.