recovery_keys.c: cleanup