]> gitweb.pimeys.fr Git - scripts-20-100.git/blobdiff - import_caff_sigs.sh
typo
[scripts-20-100.git] / import_caff_sigs.sh
index 61ea83f8a85155e0a344867904b7c47571622985..83891a46e05ec70291841c710c36c43aa6c4299c 100755 (executable)
@@ -27,7 +27,7 @@ echo $MAILS | sed 's/,/\\\\,/g;s/ /,/g' | xargs -I % scp zamok:{%} ${where}
 cadre "Decrypting and importing signatures"
 for mail in ${where}/*;
 do
-    gpg2 --decrypt ${mail} | gpg2 --import;
+    gpg2 --no-auto-check-trustdb --decrypt ${mail} | gpg2 --no-auto-check-trustdb --import;
 done
 
 # On marque (peut-être) les mails distants comme lus
@@ -47,4 +47,4 @@ read -r ans
 cadre "Sending freshly-signed key to servers"
 echo -n "Sure ? [Y/n]"
 read -r ans
-[[ "${ans}" = "n" ]] || [[ "${ans}" = "N" ]] || gpg --send-keys A94025B0
+[[ "${ans}" = "n" ]] || [[ "${ans}" = "N" ]] || gpg --send-keys D5759143B14B45B6