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?

link|improve this question
@Sirex: 1) [citation needed] 2) then don't type it there, let your IRC client authenticate automatically (SASL or "server password"; you yourself suggested the latter via -w). // Professionally managed IRC networks (such as Freenode or OFTC) are just as secure as any other Internet service. Being a messaging protocol does not make it any worse than others. – grawity Jan 27 at 13:56
feedback

1 Answer

up vote 0 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
link|improve this answer
Robust solution and not only for Irssi. Thank you! – Adrian SadÅ‚ocha Jan 27 at 19:57
feedback

Your Answer

 
or
required, but never shown

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