Fix umask used when creating the pubkey.