瀏覽代碼

Merge pull request #39 from Fredo699/master

special chars in password
tags/v3.1
Luke Smith 6 年之前
committed by GitHub
父節點
當前提交
7dcf2cca46
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      credentials/getmuttpass

+ 1
- 0
credentials/getmuttpass 查看文件

@@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
pass=$(gpg2 --decrypt --quiet ~/.config/mutt/credentials/$1.gpg) pass=$(gpg2 --decrypt --quiet ~/.config/mutt/credentials/$1.gpg)
pass=$(printf "%q" $pass)
echo set smtp_pass=\"$pass\" echo set smtp_pass=\"$pass\"
echo set imap_pass=\"$pass\" echo set imap_pass=\"$pass\"

Loading…
取消
儲存