On 02.02.2012 17:58, Philip Martin wrote:
> However I am worried about the TOCTOU race.  There is a small window
> between isOpen and the subsequent readPassword during which the wallet
> may get closed.  This might cause --non-interactive to attempt to prompt
> the user for a password.

So ... neither KWallet nor Gnome Keyring have the option to return an
error when trying to read a locked keyring? Brilliant API design. :)

-- Brane

Reply via email to