bjk's blog


libpwmd makes it easy to add pwmd support to existing applications. Below are some patches to applications that I use. If you’ve made your own or improved mine then let me know so I can post a link to it here.


XChat2 (download)

Adds a module to authenticate a nick against NickServ. Supports server groups and multiple nicks.


Fetchmail (download)

Adds pwmd support for server information: POP3, IMAP, ssl and sslfingerprint. Along with the username, password and hostname elements.


Isync (download)

Like the fetchmail patch but for this IMAP mailbox synchronizer. Since fetchmail and isync (and exim, too) may use the same elements (server, port, username, password, etc.) the “target” attribute may be useful.


Elinks (download)

This is an older and unmaintained patch. Maybe someone would like to continue it? It integrates with the form history to retreive values for the form fields from pwmd. I don’t use elinks anymore so I kinda lost interest in this one.


Mutt (download)

Kinda like the fetchmail and isync patches. Supports POP3, IMAP and SMTP.


Exim (download)

This adds a new lookup type to obtain the value of the specified element path. It may be used anywhere a $lookup{} command can be used in your Exim configuration. I’ve only tested it when Exim is used as a smarthost and am not sure how well it performs on a high load mail server. It should be fine for most users though. I use this to create a new PASSWDLINE in the auth/ section:

PASSWDLINE==${lookup pwmd{$host\tusername}}:${lookup pwmd{$host\tpassword}}

You may have problems with mail servers that resolve to a different hostname when Exim is used as a smarthost. One solution is to use a “target” attribute. See the pwmd documentation for more information about this attribute.


KeePassX (download)

This was my first attempt at patching a GUI to use pwmd. It’s been replaced by pwmdEdit.


QTM (download)

A very handy blogging app. Adds pwmd support to the accounts dialog.


Psi (download)

Enable pwmd support in the Application section of the Options dialog of this Jabber/XMPP client. Supports account creation, password changing and uses the PwmdDialog class for editing of elements.


Pidgin (download (old), libpurple plugin)

Enable pwmd support in the Pidgin instant messenger. Since Pidgin uses the GTK toolkit, there isn’t a PwmdDialog GUI for selecting and modifiying elements. Maybe you could write one?


Uget (download)

Only proxy configuration is supported. Maybe later I’ll add URL authentication. Update: Merged upstream since version



  1. I read this piece of writing completely on the topic of the difference of newest and previous technologies, it’s awesome article.

    Comment by download — June 19, 2019 @ 7:05 pm

  2. Thanks on your marvelous posting! I truly enjoyed reading it, you are a great author.I will ensure that
    I bookmark your blog and will often come back from now on. I want to encourage yourself to continue your
    great work, have a nice weekend!

    Comment by download — January 12, 2019 @ 10:49 am

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at

%d bloggers like this: