I'm using IRSSI and I wonder how can I pass my IRC channel's passwords to the IRSSI config file (~/.irssi/config) without writing them directly in the file.

In Mutt I've an awk command that queries a local file in my encrypted home folder, something like this:

set my_pass1=`awk '/fradeve_gmail:/ {print $2}' ~/.mutt/muttpass`
set my_pass2=`awk '/fradeve_inventati:/ {print $2}' ~/.mutt/muttpass`

Is there a similar solution for IRSSI?

PS: obviously I don't want to keep the IRSSI config file in my encrypted home :)

link|improve this question
You could keep your irssi config in the same encrypted location. – grawity Jan 9 at 18:05
Why do you "obviously" not want to store the irssi config in the encrypted space? You could symlink it to the irssi config directory. – Daniel Andersson Apr 17 at 7:55
feedback

migrated from serverfault.com Jan 9 at 18:00

This question came from our site for system administrators and desktop support professionals.

1 Answer

Depending how you store your passwords? If you just have them in the autosendcmd, you could do the same trick you do with awk.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown