Re: mutual authentication fails when FIPS enabled

Petr Pisar <[email protected]> Mon, 1 Feb 2021 19:35:51 +0100
Newsgroups gmane.comp.encryption.opensc.devel
Message-ID <[email protected]>
V Mon, Feb 01, 2021 at 12:39:30PM -0500, George napsal(a):
> Hi,
> 
>     I had a closer look at this problem and confirmed that I have 
> successfully enabled FIPS in OpenSSL and am using the FIPS compliant 
> cipher suite TLS_RSA_WITH_AES_128_CBC_SHA. 
> (https://wiki.openssl.org/index.php/FIPS_mode_and_TLS#TLS_1.2)
> 
That's a cipher suite for TLS (encrypted TCP).

> However, LIBP11 still fails unless I make a modification to the source 
> code in p11_rsa.c. Does this mean there is indeed a bug in LIBP11?
> 
I think that a mutual authentication in context of libp11 means a "secure"
authentication of a user to a cryptographic card instead of sending a PIN in
a "plain" text between the user and the card. I saw a few hints that there is
used a MD5-based HMAC. And that probably triggers your issue.

-- Petr

_______________________________________________
Opensc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensc-devel
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEE4/QvzhVoMKgDWObpT9GuwzZa978FAmAYSgAACgkQT9GuwzZa
979IJRAA1Jeq8D/DCL52gvqG53rT982Z90mHIKNFLRvRaWNkUZIqlIJxj23Ua5sA
PAZQbkz49RU32/HJnMB4Qi0Qvc9DKSJ8WZnY5y2qzlgLRRT+yOFphcIHfvprvwAx
yzEJ6brOr9NPFUp+Q9ED2Z9wSMvH0mD3VHcoImpxWOTsarGRfJxZWEiurTMeMt1a
oyrW8bXFMl9uZsThbHx3oY5aNI42n31k1ETRgP/c3Q9cZZoROQtmRWKveStui0W5
6ApdI85G6rTAmW7d581D4w48mbWnEpUIrnB1Y8RwZGJMKTB43ld3C5DPWrAB3og1
uM3T2Bv0rWwm+Z78AR2oagB6YwV+XAwVFX9NhlzSPYJQ0jmWVcPz0OnasVJJVBUS
iMtA4NZlIV7w98i20OpBay96mT9tVEDDJMc+vJ5zRpSU8nGjPCoav5yFaZfSLg6X
hsvPF5IIIEj/JqoYRkc1k5XP6VucT6H2hc+0th5eOSVpg6VzoNBHEVoui2Z0ClDE
RwRF5vQOwjVQ4vTuD4jJElIRyPjZ6kWcVDrXs3kKaDEdndCJzB1AgollojG8FC7S
5rGDE8Z56u7vfcQsZV4GCmIUsLbbE6j2RMSyOJuYI7erisxEr/C7H9iDHxGTLz+j
JlMuesV1K1A1tyAwWOdLSd01dkdu1bkoxRGFewuNKMO8a5rxNiA=
=lwEP
-----END PGP SIGNATURE-----