瀏覽代碼

add GPG WKS publishing functionality

Signed-off-by: Aisha Tammy <floss@bsd.ac>
tags/v3.3
Aisha Tammy 2 年之前
父節點
當前提交
37c91057f7
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      bin/mw

+ 2
- 0
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; /usr/local/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>/usr/local/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"


Loading…
取消
儲存