Currently there is no way to specify an expiration date or a key lifetime in the options for generating an openpgp keypair. This should be possible.