Sign gem with private key.