From the blog
Posted 2025-01-15
I've been using a Yubikey for years, now, and on each computer I use, I install their U2F (Universal 2 Factor) bindings for the linux Pluggable Authentication Modules (PAM) support, requiring usage of my Yubikey for login and sudo access.
Today, I updated my work machine, and didn't even notice that there were new pamu2fcfg and libpam-u2f packages, updating to version 1.3.1; I never really care, as everything just works. But when I came back to my machine after lunch, I was unable to login: I'd provide my password, but my Yubikey wouldn't activate.
From the blog
Posted 2015-12-14
For a variety of reasons, I've been working on a utility that is best
distributed via PHAR file. As has been noted by
others (archive.is link, due to lack of availability
of original site), PHAR distribution, while useful, is not without security
concerns, and I decided to investigate how to securely create, distribute, and
update PHAR utilities as part of this exercise.
This is an account of my journey, as well as concrete steps you can take to
secure your own PHAR downloads.
From the blog
Posted 2009-08-31
I've been using NetworkManager for
some time now, and appreciate how easy it makes both connecting to wifi as well
as VPNs. That said, I've had an issue with it that I only resolved today.
When working from home, I prefer to use a VPN split tunnel setup — I'm behind a
firewall all the time, and it's useful to be able to run virtual machines while
still connected to my VPN (e.g., when doing training or webinar sessions).
However, I noticed some months ago that this wasn't working. I assumed at first
it was a change in our network setup, but others reported that the split tunnel
was working fine. It's been particularly problematic when on IRC — if the VPN
drops, I lose my IRC connection, meaning I have to re-connect and re-claim my
nick.
So, I did some searching, and found an interesting setting. In NetworkManager,
"Configure..." then "Edit" your VPN connection, and navigate to the "IPv4
Settings" tab. Once there, click the button that says "Routes..." and select the
checkbox next to "Use this connection only for resources on its network". Press
Ok to close the dialog, then "Apply" to exit out of the VPN configuration.
Re-connect to the VPN, and you should be all set.
Note: this will only work if your VPN server is configured to allow split tunnels. Additionally, only do so if you are behind a firewall. Practice safe networking.