in reply to Best way to store passwords

Mechanize has no idea where the values it sends come-from.   You’re right that storing passwords in plain-text form represents a potential weakness ... but if you encrypt them, well, you have to store the encryption key somewhere, too.   So, an API to KeePass would probably be the best bet here, and this will have nothing directly to do with Mechanize.

Replies are listed 'Best First'.
Re^2: Best way to store passwords
by Special_K (Pilgrim) on Nov 06, 2013 at 21:32 UTC
    But then you have to store the KeePass DB password in plain text somewhere, right?