On Sat, Mar 02, 2019 at 04:23:55PM +0000, Daniel Wyatt wrote: > It looks to me like these OIDs were mixed up.
Indeed, thank you. I will commit this shortly. https://tools.ietf.org/id/draft-oscca-cfrg-sm3-01.html#rfc.section.8.3 If anyone wishes to double check. > From 662195ccde3bad7dc239dabbffc1624fd45117f2 Mon Sep 17 00:00:00 2001 > From: Daniel Wyatt <daniel.wy...@ribose.com> > Date: Sat, 2 Mar 2019 11:13:20 -0500 > Subject: [PATCH] Fix OID for sm3WithRSAEncryption. > > It looks like this was using the OID for SM2 signing w/SM3, > rather than RSA signing w/SM3. > --- > src/lib/libcrypto/objects/objects.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/lib/libcrypto/objects/objects.txt > b/src/lib/libcrypto/objects/objects.txt > index 4763d7f07..cf5fe6937 100644 > --- a/src/lib/libcrypto/objects/objects.txt > +++ b/src/lib/libcrypto/objects/objects.txt > @@ -1240 +1240 @@ cryptocom 1 8 1 : id-GostR3410-2001-ParamSet-cc > : GOST R 3410-2001 Parameter Se > -1 2 156 10197 1 501 : RSA-SM3 : sm3WithRSAEncryption > +1 2 156 10197 1 504 : RSA-SM3 : sm3WithRSAEncryption > -- > 2.21.0 >