6 lines
177 B
Python
6 lines
177 B
Python
|
import subprocess
|
||
|
|
||
|
def mailpasswd(account):
|
||
|
path = "/home/sanchayan/.%s.gpg" % account
|
||
|
return subprocess.check_output(["gpg", "--quiet", "--batch", "-d", path]).strip()
|