[pkg-opensc-commit] [opensc] 42/50: Add support for RSA with keylength 2048

Eric Dorland eric at moszumanska.debian.org
Sat May 28 03:35:50 UTC 2016


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository opensc.

commit 74493ca73f8e3c21c098fecb42a7a08ead85e197
Author: Henrik Andersson <henrik.4e at gmail.com>
Date:   Fri May 13 09:16:21 2016 +0200

    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.
---
 src/libopensc/card-setcos.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/libopensc/card-setcos.c b/src/libopensc/card-setcos.c
index 2b0182a..a852180 100644
--- a/src/libopensc/card-setcos.c
+++ b/src/libopensc/card-setcos.c
@@ -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;
 	}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/opensc.git



More information about the pkg-opensc-commit mailing list