Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

up vote 3 down vote accepted

Set up eCryptFS, encfs, or a similar encrypting filesystem. Mount it on ~/Private or similar. Move your ~/.irssi/config file to the private directory and symlink it back to the old place. eCryptFS is recommended; it's in-kernel and gives fairly good performance.

ecryptfs-setup-private
ecryptfs-mount-private
mkdir ~/Private/config
mv ~/.irssi/config ~/Private/config/irssi.conf
ln -s "../Private/config/irssi.conf" ~/.irssi/config
share|improve this answer
    
Robust solution and not only for Irssi. Thank you! –  Adrian Sadłocha Jan 27 '12 at 19:57
add comment

Your Answer

 
discard

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.