How to pass bash variables (passwords) to IRSSI config file?

Francesco de Virgilio <[email protected]> Sat, 14 Jan 2012 17:34:25 +0100
Newsgroups gmane.network.irc.irssi.user
Message-ID <CAPvBu29OOPKcr9BZOohVkAvLYW-Jn4+ufM6LjDwoSmZXFnxWHg@mail.gmail.com>
Hi folks,
IRSSI (coupled with Mutt) is really great, but I've a pro-question
that I have not managed to resolve googling and duckducking [0].

I store Mutt and IRSSI config files outside my encrypted home folder,
and with Mutt I've a plain text file with passwords (let's assume
~/.muttpass) which is queried for password anytime I open Mutt using
the rc file; the muttrc slice seems like:

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

I wonder how can I pass my IRC channel's passwords to the IRSSI config
file (~/.irssi/config) without writing them directly in the config file,
for security reasons, like I do with Mutt.

Thanks and keep IRSSI rockin'

[0] https://duckduckgo.com/

--=20
Francesco de Virgilio
*Ubuntu-it team member*
=C2=A0 mailto:[email protected]
=C2=A0 http://wiki.ubuntu-it.org/FrancescoDeVirgilio
*Wikimedia projects contributor*
=C2=A0 http://en.wikipedia.org/wiki/User:Fradeve11
*OpenStreetMap Mapper*
=C2=A0 http://www.openstreetmap.org/user/Fradeve11
*Blog*
=C2=A0 http://www.fradeve.org
"Love - Peace - Freedom - Free Software"