home · contact · privacy
Import GPG keys, run notmuch new.
authorChristian Heller <c.heller@plomlompom.de>
Sun, 19 May 2019 20:56:05 +0000 (22:56 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Sun, 19 May 2019 20:56:05 +0000 (22:56 +0200)
buster/setup_scripts/setup_home_eeepc.sh

index a814886dfe0c0e7a74e52d562bd3672a3f3ddac1..1b54a5682a9dd1fe39d113732db5911ddb8c5daa 100755 (executable)
@@ -40,6 +40,7 @@ cp id_rsa ~/.ssh
 stty -echo
 ssh-keygen -y -f ~/.ssh/id_rsa > ~/.ssh/id_rsa.pub
 stty echo
+gpg --import secret_keys.asc
 tar xf borg_keyfiles.tar
 mkdir -p "${borgkeys_dir}"
 mv borg_keyfiles/* "${borgkeys_dir}"
@@ -77,6 +78,7 @@ done
 mkdir -p "${maildir}"  # expected by mbsync/isync
 if [ -f "${HOME}/${authinfo_file}" ]; then
     mbsync -a
+    notmuch new
 fi
 
 # Final note on how to integrate tridactyl.