TencentKonaSMSuite Versions Save

Tencent Kona SM Suite contains a set of Java security providers, which support algorithms SM2, SM3 and SM4, and protocols TLCP/GMSSL, TLS 1.3 (with RFC 8998) and TLS 1.2.

v1.0.12

1 month ago

Vulnerabilities

Improve RSA key implementations

Bugs

SharedSecretsUtil is not flexible Constants should not depend on CryptoUtils KonaSSLProvider should not define TlcpKeyMaterial SM2E key exchange should not call SM2PublicKey directly TLCP should not be restricted by the named group and signature scheme constraints Better certificate key usage checking on TLCP

v1.0.11

4 months ago

Vulnerabilities

JDK-8308204: Enhanced certificate processing

Bugs

EC infinite point is not (0, 0) Re-implement SM3HMac with HmacCore SM2 public key should start with 0x04 Enhance SM2PrivateKey and SM2PublicKey SM2KeyAgreement instance should allow to be reused after re-init SM2KeyAgreement should check peer public key SM2 private key would not be order - 1 Remove SM4KeySpec Rewrite SM2KeyPairGenerator with ECKeyPairGenerator SM2KeyAgreementParamSpec should check ID length SM2KeyAgreement should check private key KonaCrypto should not support RSA and RSASSA-PSS Use default ID value directly Enhance store entry cache in PKCS12KeyStore PKCS12KeyStore should clear storeEntryCache

v1.0.10

7 months ago

Vulnerabilities

CVE-2023-22081/JDK-8309966: Enhanced TLS connections JDK-8286503: Enhance security classes

Bugs

The key in PBEKey should be cleaned SM2Ciphertext should check uncompressed flag No need to counter chosen-plaintext issue on TLCP Use HmacSM3 as the standard name for SM3 HMAC algorithm SM3MessageDigest must check the input bounds SM3 HMAC supports clone Deprecate SM4KeySpec SM2 cipher should accept empty input Declare SM3withSM2 as an alias of SM2 signature AlgorithmParameterSpecs would not depend on internal Keys SM2KeyAgreementParamSpec should not expose fields directly SM2 KeySpecs should not copy a part of a byte array as keys

v1.0.9

10 months ago

Features

PKCS#12 keystore supports PBEWithHmacSM3AndSM4 and HmacPBESM3 KeyTool for creating generating key pairs, certificates and keystores with ShangMi algorithms KeyStoreTool for adding the existing private keys and certificates to keystores Enhance SM3 performance Enhance SM4-CTR performance

Bugs

Enable useSharedSecrets by default on JDK 8

v1.0.8

1 year ago

Features

Enhance SM4-GCM performance with precomputed tables

Vulnerabilities

CVE-2023-21930/JDK-8294474: Better AES support CVE-2023-21967/JDK-8298310: Enhance TLS session negotiation

v1.0.7.1

1 year ago

Bugs

SM2 decryption would raise BadPaddingException on invalid public key

v1.0.7

1 year ago

Features

Support older JDK 8 releases, say 8u141 even earlier.

v1.0.6

1 year ago

Features

Parse X.509-encoded public key Support RFC 5915-compliant encoded private key

v1.0.5

1 year ago

Features

Re-implements SM2 Signature Re-implements SM2 Cipher PBES2 scheme supports ShangMi algorithms

v1.0.4

1 year ago

Features

Re-implements SM4