1. Marcin Kasperski
  2. perl/keyring/gnome
Issue #1 resolved

Argument order wrong?

jchain
created an issue

In your example,

# securely save password for future use
$keyring->set_password($username, "blahblah.com");

I think it should be

$keyring->set_password($username, $password, "blahblah.com");

Even though there is still an issue: "blahblah.com" was treated as the password.

Comments (4)

  1. Marcin Kasperski repo owner

    Of course this is mistake in docs, the signature is set_password(username, password, realm). I will fix it, thanks for reporting.

    I am not sure what do you mean by last sentence („Even though…”). Could you quote code and effect?

  2. Log in to comment