Improved config card generation to support using a different key than the default k0 for the card's key