5

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?

1
  • 1
    Alternatively, WeeChat allows storing private data (like passwords) in an encrypted file. Aug 9, 2015 at 15:08

1 Answer 1

6

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.

ecryptfs-setup-private
ecryptfs-mount-private
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.

1
  • Robust solution and not only for Irssi. Thank you! Jan 27, 2012 at 19:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .