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:
parent
bdc840a520
commit
74493ca73f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user