Project status: stable

Manage passwords with Vim.

You will need Vim 7.4.399 or later (Vim 7.3 will also work, but has a flaw in the blowfish implementation and is not secure; we will warn for this).

This program was tested on FreeBSD & Arch Linux; it will probably also work on other POSIX systems (OpenBSD, MacOSX, Other Linuxes, etc.). It will not work on Windows.

Use ./pwbunny to start the program or use ./gpwbunny to use gVim. You can optionally specify a file to open, i.e.: ./pwbunny my-passwords. The default is passwords.pwbunny in the directory pwbunny was called from.
See pwbunny -h for more command-line options.

Clipboard support

Some functions need some way to access the clipboard. If Vim has +clipboard we’ll use that. If it doesn’t, we try to use one of these command-line utilities:

Clipboard support is useful but entirely optional.

You can also use the clipboard features over an ssh session with X11 forwarding, please see the notes in the ‘Security’ section before enabling this.

You also need to enable both ForwardX11 and ForwardX11Trusted; on the command-line this can be done with the -X and -Y flags, i.e.: ssh -XY $server

Or you can set these options for a host in your ~/.ssh/config:

Host myhost
	ForwardX11 yes
	ForwardX11Trusted yes

Password strength checking

Pwbunny can also check the strength of passwords. This requires either Python or Ruby support, and the he “zxcvbn” module for the language. Which you can find here:

The result is a number from 0 to 4, which represents an estimation of the crack time:



PS. By default, Vim maps <Leader> to \.


A score of 4 is recommended (this is the default), 3 is acceptable, 2 or lower is strongly discouraged

File format

The file format is simple:


Version 1.3, 2016-02-25

Version 1.2, 2015-08-05

Version 1.1, 2015-02-27

There are many new options, features, and improvements. With thanks to yggdr for some patches; the most important changes are:

Version 1.0, 2014-05-10




Copyright © 2010-2017 Martin Tournoij <martin@arp242.net>
This document is licensed under a cc-by 4.0 license.