diff options
Diffstat (limited to 'mbsync/usr/bin/get-mail-password')
-rwxr-xr-x | mbsync/usr/bin/get-mail-password | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/mbsync/usr/bin/get-mail-password b/mbsync/usr/bin/get-mail-password deleted file mode 100755 index ecfbb09..0000000 --- a/mbsync/usr/bin/get-mail-password +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/python3 - -import sys -import secretstorage - -connection = secretstorage.dbus_init() -collection = secretstorage.get_collection_by_alias(connection, "login") - -for foo in collection.search_items( - {"application": "mbsync", "account": sys.argv[1]} -): - print(foo.get_secret().decode()) |