g10: smartcard keygen change.