Test case for OAEPparams? (RSA key transport)

Miklos Vajna <[email protected]> Sun, 12 Aug 2018 16:12:00 +0200
Newsgroups gmane.text.xml.xmlsec
Message-ID <[email protected]>
--===============1918423944==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="X3gaHHMYHkYqP6yf"
Content-Disposition: inline


--X3gaHHMYHkYqP6yf
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline

Hi,

I'm trying to eliminate the last xmlSecNotImplementedError in
src/mscng/kt_rsa.c, and I wonder, what would be a testcase that would
trigger it?

I see that the openssl and mscrypto backends implement it, but would it
be possible to have a test doc that would show it in action?

git grep OAEPparams tests/

points out 2 test documents, but
encrypt-data-tripledes-cbc-rsa-oaep-mgf1p-sha256 is not invoked by make
check and encsig-hmac-sha256-rsa-oaep-mgf1p is only used for a test
where transforms are checked, but then nothing else happens.

Thanks,

Miklos

--X3gaHHMYHkYqP6yf
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQSK0+WTigfbXWePMdJ7zW0CA5FQlgUCW3BALwAKCRB7zW0CA5FQ
lqPXAJ9+EkHSzYVOEOWTuwdP8ShAXR1HrACggrUUUL+BD5I0hlYUyIclUbZPOu4=
=Xc0u
-----END PGP SIGNATURE-----

--X3gaHHMYHkYqP6yf--

--===============1918423944==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KeG1sc2VjIG1h
aWxpbmcgbGlzdAp4bWxzZWNAYWxla3NleS5jb20KaHR0cDovL3d3dy5hbGVrc2V5LmNvbS9tYWls
bWFuL2xpc3RpbmZvL3htbHNlYwo=

--===============1918423944==--