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
{{ message }}
This repository has been archived by the owner on Apr 9, 2019. It is now read-only.
This line just checked for gpg database files exists not for valid keys inside:
if [ -n "${BUILD_KEY}" ] || [ -e ${WORK_PATH}/gpg/pubring.gpg ] && [ -e ${WORK_PATH}/gpg/secring.gpg ] && [ -e ${WORK_PATH}/gpg/trustdb.gpg ]; then
But next command try to export keys related to hostname:
gpg --homedir ${WORK_PATH}/gpg --export -a "hostname --fqdn" > ${WORK_PATH}/deb/pubkey.asc
So no key exported if hostname was changed after initial keys generation
The text was updated successfully, but these errors were encountered:
@tomcashman Thanks for the solution!
Of course I fixed this issue too, I just simle deleted autogenerated keys from ${WORK_PATH} and re-run a script
But the main idea of this issue is unclear behavior and log message in described situation
This line just checked for gpg database files exists not for valid keys inside:
if [ -n "${BUILD_KEY}" ] || [ -e ${WORK_PATH}/gpg/pubring.gpg ] && [ -e ${WORK_PATH}/gpg/secring.gpg ] && [ -e ${WORK_PATH}/gpg/trustdb.gpg ]; then
But next command try to export keys related to hostname:
gpg --homedir ${WORK_PATH}/gpg --export -a "
hostname --fqdn
" > ${WORK_PATH}/deb/pubkey.ascSo no key exported if hostname was changed after initial keys generation
The text was updated successfully, but these errors were encountered: