Package common :: Module kwalletbinding
[hide private]
[frames] | no frames]

Module kwalletbinding

source code

Functions [hide private]
 
kwallet_available()
Return True if kwalletcli can be run, False otherwise
source code
 
kwallet_get(folder, entry)
Retrieve a passphrase from the KDE Wallet via kwalletcli
source code
 
kwallet_put(folder, entry, passphrase)
Store a passphrase into the KDE Wallet via kwalletcli
source code

Imports: subprocess


Function Details [hide private]

kwallet_available()

source code 
Return True if kwalletcli can be run, False otherwise

kwallet_get(folder, entry)

source code 

Retrieve a passphrase from the KDE Wallet via kwalletcli

Arguments: • folder: The top-level category to use (normally the programme name) • entry: The key of the entry to retrieve

Returns the passphrase as unicode, False if it cannot be found, or None if an error occured.

kwallet_put(folder, entry, passphrase)

source code 

Store a passphrase into the KDE Wallet via kwalletcli

Arguments: • folder: The top-level category to use (normally the programme name) • entry: The key of the entry to store • passphrase: The value to store

Returns True on success, False otherwise.