Security: generate keys on the consumer.