g10: Fix keytocard.