Friday, June 24, 2011

irssi autolog options

My favorite IRC client is irssi. I keep a log of my conversations using autolog; however, I dislike logs from chanserv, nickserv, and other random bots which I'll never reference. I discovered that autolog has a setting to ignore them:
/set autolog_ignore_targets chanserv nickserv 
While searching I also found log_create_mode; irssi's default file mode is 0644. I prefer to keep my conversations private unless I specifically broaden permissions:
/set log_create_mode 0600
 Now new messages and channels are private until I chmod them.

Tuesday, June 21, 2011

Primary instances on a node

Sometimes I need a space delimited list of instances on a Ganeti node. There isn't a direct command to get this but an easy bash one-liner:
gnt-node list --no-headers -opinst_list $node | tr ',' ' '
pinst_list fetches the primary instances on the node. You can replace this with sinst_list for the secondaries.

Wednesday, June 8, 2011

Chrome OS and Passwords

I have been using the CR-48 / Chrome OS for the past few weeks. I really enjoy using the OS but I don't think it could replace my Macbook Air (yet). I agree that the CR-48 is incredibly underpowered and has a terrible trackpad but this is "beta" hardware. I am excited to see how the hardware from Samsung and Acer compare.

My biggest annoyance? ChromeOS breaks my security routine. I currently use Keepass (with Dropbox) to create and store passwords. I trust Google... but I am not comfortable storing my passwords using Chrome sync. Yes, I am storing my password file on another cloud service (which is known to be unencrypted) but I feel safer knowing that my password file is encrypted under my parameters.

I also care about the accessibility of my passwords. The Dropbox + Keepass solution provides access everywhere (Mac, Windows, Linux, Android, iOS). What happens when I cannot use Chrome? I often use other browsers for mobile, cross-browser testing, and accessing different Google accounts. What do you do when you cannot use Chrome that is logged in with your personal account? A web interface would improve accessibility but be an obvious target for attacks, just like LastPass.