w3c / webcrypto

The W3C Web Cryptography API
https://w3c.github.io/webcrypto/
Other
265 stars 54 forks source link

Please add support for SM series algorithms. #231

Open smx-gotoweb opened 4 years ago

smx-gotoweb commented 4 years ago

Hi, The Web Crypto API is an interface allowing a script to use cryptographic primitives in order to build systems using cryptography, it is now supports regular internal algorithms like RSA, SHA, AES, etc. Now the SM series algorithms are accepted by ISO/IEC, we may use those algorithms on the web applications. So, I propose to add SM series algorithms in the Web Crypto API. [ISO-SM3] International Organization for Standardization, "IT Security techniques -- Hash-functions -- Part 3: Dedicated hash-functions", ISO ISO/IEC 10118-3:2018, October 2018, https://www.iso.org/standard/67116.html [ISO-SM2/SM9] International Organization for Standardization, "IT Security techniques -- Digital signatures with appendix -- Part 3: Discrete logarithm based mechanisms", ISO ISO/IEC 14888-3:2018, November 2018, https://www.iso.org/standard/76382.html. The above three algorithms (SM2/3/9) are officially accepted on the ISO/IEC SC27 meeting at Berlin in 2018. Besides them, we also want to openly discuss whether the SM4 algorithm can be added which the status is under review. [ISO-SM4] International Organization for Standardization, "IT Security techniques -- Encryption algorithms -- Part 3: Block ciphers", ISO ISO/IEC 18038-3:2010, December 2010, https://www.iso.org/standard/54531.html. Brief introduction about 360 browser : I’m Shane from browser team of 360 (360 Security Technology Inc, SHA: 601360) . 360 browser is the most popular browser in China, According recent 3rd statistics from iresearch, 360 browser DAU (Daily Active User) is 7 million, MAU (Monthly Active User) is 400 million, market penetration is 84%, keep 1st place for years compared with other browser vendors. We have implemented the SM series algorithms in 360 browser since 2017, which is based on boringssl and the latest version is based on Chromium78. Also, we are planning to open source the implementation.

sideshowbarker commented 3 years ago

This proposal so far has neither any signs of interest from web developers, no any signals of interests from web developers. It’s therefore liking to be closed within some period of time unless we get some show of interest from others weighing in here.

cevin commented 1 year ago

+1

xfq commented 1 year ago

Related: https://github.com/w3c/webcrypto/issues/316