Skip to content

Commit 76ff421

Browse files
committed
add change log
1 parent caab33d commit 76ff421

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

Changelog.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
## v2.8.0
2+
(2021-07-27)
3+
Added:
4+
* Add Hardware Secure Module(HSM), use hardware protect your private key, speed up crypto procedure.
5+
* Support use PCI crypto card or crypto machine to make SM2 SM3 calculation.
6+
* Support use HSM internal key to make TLS connection with FISCO BCOS nodes.
7+
* Support use HSM internal key to sign transaction.
8+
9+
Update:
10+
* Update crypto dependency version of sdk-crypto module.
11+
12+
----
13+
添加:
14+
* 新增硬件加密模块,使用硬件保护您的私钥,提升密码运算速度。
15+
* 支持使用PCI加密卡/加密机进行SM2,SM3运算。
16+
* 支持使用密码卡/密码机内部密钥与FISCO BCOS节点建立连接。
17+
* 支持使用密码卡/密码机内部密钥进行交易签名。
18+
19+
更新:
20+
* 更新sdk-crypto模块所使用的密码算法库版本。
21+
122
## v2.7.2
223
(2021-03-24)
324
Please read documentation of Java SDK.

sdk-crypto/src/main/java/org/fisco/bcos/sdk/crypto/CryptoSuite.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,9 @@ protected void initCryptoSuite(int cryptoTypeConfig) {
127127
+ " crypto type");
128128
}
129129
// create keyPair randomly
130-
createKeyPair();
130+
if (cryptoTypeConfig != CryptoType.SM_HSM_TYPE) {
131+
createKeyPair();
132+
}
131133
}
132134

133135
/** Load sdf internal account */

0 commit comments

Comments
 (0)