浏览代码
Merge pull request #39 from Fredo699/master
special chars in password
tags/v3.1
Luke Smith
6 年前
committed by
GitHub
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23
共有
1 个文件被更改,包括
1 次插入 和
0 次删除
-
credentials/getmuttpass
|
|
@@ -1,4 +1,5 @@ |
|
|
|
#!/bin/bash |
|
|
|
pass=$(gpg2 --decrypt --quiet ~/.config/mutt/credentials/$1.gpg) |
|
|
|
pass=$(printf "%q" $pass) |
|
|
|
echo set smtp_pass=\"$pass\" |
|
|
|
echo set imap_pass=\"$pass\" |