So, after playing a bit around with D-Bus, I wrote a little program to monitor insertions and removals of my USB keydrive (the one with Puppy on it). When it’s removed, it shells out to a bash script that forgets all the SSH passphrases in the agent and kicks the screensaver on, and reprompts me for my passphrase when it’s inserted again.
Code is coming here.
Subscribe to RSS


