1814 Commits

Author SHA1 Message Date
Sun Yimin
33c609242c
internal/cpuid: use var block v0.29.8 2025-02-26 08:25:58 +08:00
Sun Yimin
d2dd4de947
doc: add smart questions link 2025-02-18 08:49:36 +08:00
Sun Yimin
1aed89febd
subtle: combine xor_<goarch>.go files #304 2025-02-17 08:32:20 +08:00
Sun Yimin
a248fea7f9
Merge pull request #302 from emmansun/dependabot/go_modules/golang.org/x/crypto-0.33.0
build(deps): bump golang.org/x/crypto from 0.32.0 to 0.33.0
2025-02-11 07:34:43 +08:00
dependabot[bot]
53465ae10a
build(deps): bump golang.org/x/crypto from 0.32.0 to 0.33.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.32.0 to 0.33.0.
- [Commits](https://github.com/golang/crypto/compare/v0.32.0...v0.33.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-10 23:30:00 +00:00
Sun Yimin
ea592fe3d0
cfca: fix typo 2025-01-23 16:35:32 +08:00
Sun Yimin
9e57bb91b2
cfca: add examples 2025-01-23 11:28:54 +08:00
Sun Yimin
ee55d370f8
improve test coverage and remove deprecated methods 2025-01-22 10:28:01 +08:00
Sun Yimin
4c88efbaee
sm2: provide a specific hash.Hash implementation #297 2025-01-20 17:36:46 +08:00
Sun Yimin
80a264c995
sm2: update document 2025-01-17 13:54:16 +08:00
Sun Yimin
50a5e49d38
smx509: properly check for IPv6 hosts in URIs #296 2025-01-17 08:30:27 +08:00
Sun Yimin
cb51b3657a
pkcs7: sync with upstream v0.29.7 2025-01-16 16:04:45 +08:00
Sun Yimin
cf6e203d06
pkcs7: update comments and document 2025-01-16 10:59:30 +08:00
Sun Yimin
057ddb5bcb
pkcs7: fix error message 2025-01-15 17:18:37 +08:00
Sun Yimin
94e533ca15
pkcs7: fix typo #294 2025-01-15 08:50:09 +08:00
Sun Yimin
818e14ee32
pkcs7: fix verify signing time check issue #294 2025-01-14 17:10:00 +08:00
Sun Yimin
8331b37e37
pkcs7: deleted a line by mistake #294 2025-01-14 16:52:15 +08:00
Sun Yimin
bef7f5421e
pkcs7: sign precomputed digest #294 2025-01-14 16:41:03 +08:00
Sun Yimin
5a0ff81dc3
Merge pull request #293 from emmansun/dependabot/go_modules/golang.org/x/crypto-0.32.0
build(deps): bump golang.org/x/crypto from 0.31.0 to 0.32.0
2025-01-07 07:53:00 +08:00
dependabot[bot]
b865b59a95
build(deps): bump golang.org/x/crypto from 0.31.0 to 0.32.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.31.0 to 0.32.0.
- [Commits](https://github.com/golang/crypto/compare/v0.31.0...v0.32.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-06 23:48:52 +00:00
Sun Yimin
0a961f152c
Merge pull request #292 from emmansun/dependabot/go_modules/golang.org/x/sys-0.29.0
build(deps): bump golang.org/x/sys from 0.28.0 to 0.29.0
2025-01-07 07:47:51 +08:00
dependabot[bot]
3544c09801
build(deps): bump golang.org/x/sys from 0.28.0 to 0.29.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.28.0 to 0.29.0.
- [Commits](https://github.com/golang/sys/compare/v0.28.0...v0.29.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-06 23:43:07 +00:00
Sun Yimin
e5652b6638
smx509: add wasip1 support #290 2024-12-27 08:07:33 +08:00
Sun Yimin
309e920050
doc: update sm2.md 2024-12-20 17:57:35 +08:00
Sun Yimin
805fa40c97
pkcs7: code review and refactor 2024-12-20 08:34:32 +08:00
Sun Yimin
d199697b20
pkcs7: remove deprecated method SignWithSM2 2024-12-19 15:42:19 +08:00
Sun Yimin
6b18205bba
sm2: fix test cases 2024-12-19 08:28:00 +08:00
Sun Yimin
89317b8f0b
sm2: code review and refactor 2024-12-19 08:17:21 +08:00
Sun Yimin
a71e806a2d
sm9: code review 2024-12-17 18:06:15 +08:00
Sun Yimin
a53c8b97f8
Merge pull request #289 from emmansun/dependabot/go_modules/golang.org/x/crypto-0.31.0
build(deps): bump golang.org/x/crypto from 0.30.0 to 0.31.0
2024-12-17 07:28:08 +08:00
dependabot[bot]
4fd9003243
build(deps): bump golang.org/x/crypto from 0.30.0 to 0.31.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.30.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.30.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-16 23:17:20 +00:00
Sun Yimin
0d3a2d2d18
cfca: pkcs12 sm2, supplement test data 2024-12-16 12:54:36 +08:00
Sun Yimin
008b209765
cfca: pkcs7 test, avoid random failure 2024-12-13 18:16:08 +08:00
Sun Yimin
ab670f8ced
cfca: pkcs7 test, avoid random failure 2024-12-13 18:14:06 +08:00
Sun Yimin
8e02380f47
update README 2024-12-13 18:07:41 +08:00
Sun Yimin
ac38d8f6aa
cfca: test trustAsia generated csr v0.29.6 2024-12-13 15:37:27 +08:00
Sun Yimin
d2e96cff57
cfca: update test error message 2024-12-13 08:20:48 +08:00
Sun Yimin
1bbcc232db
cfca: test sadk generated csr #286 2024-12-12 17:55:57 +08:00
Sun Yimin
cdf1805d4f
smx509: cfca csr add comments and align tmp publickey encoding 2024-12-12 17:34:12 +08:00
Sun Yimin
6a98350f2e
cfca: extract encrypt/decrypt functions with SM4CBC and SM3 KDF 2024-12-11 17:51:31 +08:00
Sun Yimin
65532624e8
cfca pkcs10 rename and improve test coverage #286 2024-12-11 10:06:27 +08:00
Sun Yimin
3371b7c65c
cfca csr with tmp publickey and parse returned encryption key #286 2024-12-11 08:36:55 +08:00
Sun Yimin
c6881ae849
update cfca document 2024-12-10 10:29:22 +08:00
Sun Yimin
df3db923c6
support cfca certificate request #286 2024-12-10 10:13:51 +08:00
Sun Yimin
1d894ef955
fix test case 2024-12-10 09:24:05 +08:00
Sun Yimin
a3161b7581
support cfca certificate request #286 2024-12-10 09:01:21 +08:00
Sun Yimin
01b0570c3a
support cfca certificate request #286 2024-12-10 08:57:35 +08:00
Sun Yimin
717a0feea6
Merge pull request #288 from emmansun/dependabot/go_modules/golang.org/x/crypto-0.30.0
build(deps): bump golang.org/x/crypto from 0.29.0 to 0.30.0
2024-12-10 07:20:21 +08:00
dependabot[bot]
39bb9469b1
build(deps): bump golang.org/x/crypto from 0.29.0 to 0.30.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.29.0 to 0.30.0.
- [Commits](https://github.com/golang/crypto/compare/v0.29.0...v0.30.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-09 23:13:22 +00:00
Sun Yimin
5ada783793
Merge pull request #287 from emmansun/dependabot/go_modules/golang.org/x/sys-0.28.0
build(deps): bump golang.org/x/sys from 0.27.0 to 0.28.0
2024-12-10 07:12:16 +08:00