NAME

Passwd::Keyring::KDEWallet - Password storage implementation based on KDE Wallet.

VERSION

Version 0.20

SYNOPSIS

KDE Wallet based implementation of Passwd::Keyring.

use Passwd::Keyring::KDEWallet;

my $keyring = Passwd::Keyring::KDEWallet->new(app=>"My beautiful app", group=>"My app web passwords");

$keyring->set_password("John", "verysecret", "my-pseudodomain");
# And later, on next run maybe
my $password = $keyring->get_password("John", "my-pseudodomain");
# plus
$keyring->clear_password("John", "my-pseudodomain");

SUBROUTINES/METHODS

new

Initializes the processing. Croaks if kwallet does not seem to be available.

set_password(username, password, domain)

Sets (stores) password identified by given domain for given user

get_password($user_name, $domain)

Reads previously stored password for given user in given app. If such password can not be found, returns undef.

clear_password($user_name, $domain)

Removes given password (if present)

is_persistent

Returns info, whether this keyring actually saves passwords persistently.

(true in this case)

AUTHOR

Marcin Kasperski, <Marcin.Kasperski at mekk.waw.pl>

Code heavily inspired by http://www.perlmonks.org/?node_id=869620 and partially by python keyring.

BUGS

Please report any bugs or feature requests to issue tracker at https://bitbucket.org/Mekk/perl-keyring-kdewallet.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Passwd::Keyring::KDEWallet

You can also look for information at:

L<https://bitbucket.org/Mekk/perl-keyring-kdewallet>

LICENSE AND COPYRIGHT

Copyright 2010-2012 Marcin Kasperski.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.