Set pub_key default to '' instead of undef