diff options
Diffstat (limited to 'mbsync/usr/bin/set-mail-password')
-rwxr-xr-x | mbsync/usr/bin/set-mail-password | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/mbsync/usr/bin/set-mail-password b/mbsync/usr/bin/set-mail-password deleted file mode 100755 index c36e39b..0000000 --- a/mbsync/usr/bin/set-mail-password +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/python3 - -import sys -from getpass import getpass -import secretstorage - -connection = secretstorage.dbus_init() -collection = secretstorage.get_collection_by_alias(connection, "login") -attributes = {"application": "mbsync", "account": sys.argv[1]} - -collection.create_item( - "Password for '{}' on '{}'".format( - attributes["account"], attributes["application"] - ), - attributes, - getpass().encode(), -) |