Add support for RSA with keylength 2048

This solves sign issues with swedish eID cards which have
RSA keys with length 2048. This also solves the issue #726.
This commit is contained in:
Henrik Andersson 2016-05-13 09:16:21 +02:00 committed by Viktor Tarasov
parent bdc840a520
commit 74493ca73f

View File

@ -215,6 +215,7 @@ static int setcos_init(sc_card_t *card)
_sc_card_add_rsa_alg(card, 512, flags, 0);
_sc_card_add_rsa_alg(card, 768, flags, 0);
_sc_card_add_rsa_alg(card, 1024, flags, 0);
_sc_card_add_rsa_alg(card, 2048, flags, 0);
}
break;
}