commit 29b7b59ffd1b0dfad10c74b5daa6ff67954261b9 parent c0758e17517afd9c4f1860c2b720089af79595fa Author: Luke Smith <luke@lukesmith.xyz> Date: Sat, 22 Jan 2022 01:46:15 +0000 Merge pull request #804 from epsilon-0/master add GPG WKS publishing functionality Diffstat:
M | bin/mw | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/bin/mw b/bin/mw @@ -108,6 +108,8 @@ set trash = "+Trash" set record = "+Sent" $extra $synccmd +macro index \eg \"<enter-command>unset wait_key<enter><shell-escape>gpg --list-secret-keys; printf 'Enter email ID of user to publish: '; read eID; printf 'Enter fingerprint of GPG key to publish: '; read eFGPT; $prefix/libexec/gpg-wks-client --create \\\$eFGPT \\\$eID | msmtp --read-envelope-from --read-recipients -a $fulladdr<enter>\" \"publish GPG key to WKS provider\" +macro index \eh \"<pipe-message>$prefix/libexec/gpg-wks-client --receive | msmtp --read-envelope-from --read-recipients -a $fulladdr<enter>\" \"confirm GPG publication\" " > "$accdir/$fulladdr.muttrc" [ ! -f "$muttrc" ] && echo "# vim: filetype=neomuttrc" > "$muttrc"