libgatekeeper: Make onetime key work