I used to use 1Password, but I've switched to pass[0]. I prefer it because it's written for the command line and works really well. Your passwords are encrypted with your GPG key. Check out the man page for usage and examples[1].
(It's available on Fedora via yum and on OS X via brew and there's also an iOS app).