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

Ross Timson <[email protected]> Sat, 14 Jan 2012 16:56:01 +0000
Newsgroups gmane.network.irc.irssi.user
Message-ID <[email protected]>
--k1lZvvs/B4yU6o8G
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hey Francesco / everyone

I've been trying to work out the exact same thing but so far had no
luck.  I'm trying to throw in GPG too in order to protect my passwords
text file.

Ross Timson

PS if anyone has managed to user this technique for Github in tokens in a
=2Egitconfig I'd love to hear from you too (apols for off topic).

On Sat, Jan 14, 2012 at 05:34:25PM +0100, Francesco de Virgilio wrote:
> 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].
>=20
> 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:
>=20
> set my_pass1=3D`awk '/fradeve_gmail:/ {print $2}' ~/.mutt/muttpass`
> set my_pass2=3D`awk '/fradeve_inventati:/ {print $2}' ~/.mutt/muttpass`
>=20
> 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.
>=20
> Thanks and keep IRSSI rockin'
>=20
> [0] https://duckduckgo.com/
>=20
> --=20
> Francesco de Virgilio
> *Ubuntu-it team member*
> =A0 mailto:[email protected]
> =A0 http://wiki.ubuntu-it.org/FrancescoDeVirgilio
> *Wikimedia projects contributor*
> =A0 http://en.wikipedia.org/wiki/User:Fradeve11
> *OpenStreetMap Mapper*
> =A0 http://www.openstreetmap.org/user/Fradeve11
> *Blog*
> =A0 http://www.fradeve.org
> "Love - Peace - Freedom - Free Software"
>=20

--k1lZvvs/B4yU6o8G
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)

iQIcBAEBAgAGBQJPEbOhAAoJEHO3DFOXhl1BJUwP/jbrk+ZVKCTSm96zghZDXNtq
mnxOofJrPykmQ25x7p0qnRxu7quiYkPdhk0pS7U5T9jSI+PUG48jt+hMX/VU6nok
K6pGSRSQU8ye5q/hekakEkMmNTgbWlITMaskWFE0pTt436C3ZmqdOYl205ufPOYn
v2KNPDczB5QbJYvar0oPoJzVEjLoMPd/WVMNkNGY5kdVURiAuWDnn5/ZBCyE54xf
zkU4tmNPWf3a9oet9xMw/nLScJ0NzcpZDZaceoNhFqHrOITqsAwNYHv78dOo/ZdH
W0r2YD5DMBAQLBojC9zopV+P4lsTA79mxu+1VKIfjQzTUHxw5CsxYeaFLDybq1+3
XoHp2ZD9xMOGw+qktrFFAGEfsEWwVoqW5v12Lm+zdG0y4BXnOBSJsR0aFz/Pa35h
31cIoqYgU4/hxr1V3nAPOgfit7U0zO35tgNZRsATMfK9jen5209uNtLKeKDzeo9K
LHqHVg8WDwF+++ohvwuk9kDQgKNEbq4BQxvkyYK3kw9OHPVVkOTCPus5N6BVSDAP
Ui11wL0c9JcE/cRliwJWMezYLYGqnglZzXUJKV5dA2WcSAbTgQX/UEeFZPP5RhHZ
MI5UG0T+AKNPp6G15/RDazo+kjypU6fjTuQRGTILzl3RtZffk6Zj5d2Fr4AL31gN
Sqywke5fqxOuCq1/DMZ/
=D+lk
-----END PGP SIGNATURE-----

--k1lZvvs/B4yU6o8G--