Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use several IRC networks and it's unsafe to store passwords in plain text. On the other hand, typing each password after connection is uncomfortable.

How can I store passwords in encrypted file and only type database-password on Irssi startup? Do you know any scripts which provide something like that?

share|improve this question
Alternatively, WeeChat allows storing private data (like passwords) in an encrypted file. – Adrian Sadłocha Aug 9 '15 at 15:08
up vote 5 down vote accepted

Set up eCryptFS, encfs, or a similar encrypting filesystem. Mount it on ~/Private or similar. Move your ~/.irssi to the private directory and symlink it back to the old place.

mkdir ~/Private/config
mv ~/.irssi ~/Private/config/irssi
ln -s "Private/config/irssi" ~/.irssi

eCryptFS is recommended; it's in-kernel and gives fairly good performance. But there are other options as well, such as EncFS.

share|improve this answer
Robust solution and not only for Irssi. Thank you! – Adrian Sadłocha Jan 27 '12 at 19:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.