blob: ecfbb09e7611fabb60fb0644c5e56fce3025078b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/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())
|