Displaying 3 results from an estimated 3 matches for "sc_pkcs15_decipher".
2003 May 27
3
[Bug 577] bug (wrong flag) in sc_private_decrypt (scard-opensc.c)
...atform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Smartcard
AssignedTo: openssh-bugs at mindrot.org
ReportedBy: larsch at trustcenter.de
There's a small bug in scard-opensc.c. The OpenSC function sc_pkcs15_decipher
is called with the wrong flag. Currently sc_private_decrypt set the flag to
0 and hence OpenSC uses RSA raw to decipher the cryptogram => the Smartcard
(or OpenSC) does not remove the PKCS#1 padding => v1 authentication fails
because the returned data has the wrong length. To fix this problem...
2003 May 14
0
small fix for scard-opensc.c
Hi,
I think there's a small bug in sc_private_decrypt
in scard-opensc.c (see attached patch). The 'flags'
parameter in the sc_pkcs15_decipher function call
should be set to SC_ALGORITHM_RSA_PAD_PKCS1 and
not to 0. If flags == 0 then sc_pkcs15_decipher uses
RSA raw as a default method which has (at least)
two drawbacks a) not all cards support RSA raw
and b) sc_pkcs15_decipher does not remove the
PKCS#1 padding (and therefore the v1 authe...
2002 Apr 17
3
[Bug 221] updates for OpenSC support
http://bugzilla.mindrot.org/show_bug.cgi?id=221
------- Additional Comments From markus at openbsd.org 2002-04-18 02:04 -------
Created an attachment (id=81)
readme patch
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.