You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had trouble in importing the admin public key per the documentation, briefly pasting it into the terminal when requesting does not advance the script. So I took another approach:
Created the "adminkey.txt" and pasted the admin gpg public key into it.
Modified the /opt/bastion/bin/admin/setup-gpg.sh so that it accepts a second argument, the name of the file having the key.
Modified the lines
$gpgcmd --import "$1"
and
do_import "$2"; exit $?
so that the gpg --import is processed.
And only then the script worked.
The text was updated successfully, but these errors were encountered:
You need to type ^D (CTRL+D) when done pasting, to that gpg knows you've done entering the key. This is also how it works for the bare gpg --import, but you're right, if you don't know this, it might not be easy to guess. Adding a comment to clarify that in the script.
I had trouble in importing the admin public key per the documentation, briefly pasting it into the terminal when requesting does not advance the script. So I took another approach:
/opt/bastion/bin/admin/setup-gpg.sh
so that it accepts a second argument, the name of the file having the key.so that the gpg --import is processed.
And only then the script worked.
The text was updated successfully, but these errors were encountered: