diff --git a/src/freedombone-utils-keys b/src/freedombone-utils-keys index 0fff17e6..41ff97e1 100755 --- a/src/freedombone-utils-keys +++ b/src/freedombone-utils-keys @@ -236,6 +236,9 @@ function interactive_key_recovery { 255) return;; esac ${PROJECT_NAME}-recoverkey -u $MY_USERNAME + if [ -d /home/$MY_USERNAME/.gnupg ]; then + cp -rf /home/$MY_USERNAME/.gnupg /root + fi } # NOTE: deliberately there is no "exit 0"