Sun Yimin
|
8b25009e6f
|
respect GODEBUG changes for allowing SHA1 certificates #93
|
2022-11-02 16:42:50 +08:00 |
|
emmansun
|
82326621ee
|
add proxy methods for rsa pkcs1 pub/priv keys
|
2022-10-30 11:38:17 +08:00 |
|
Sun Yimin
|
4ba1372fa0
|
update comments
|
2022-10-24 16:31:26 +08:00 |
|
Sun Yimin
|
d35482a358
|
pkcs8 sm9 master sign/encrypt private key support
|
2022-10-24 11:00:13 +08:00 |
|
emmansun
|
404cd10210
|
support sm9 key format with gmssl
|
2022-10-22 15:49:01 +08:00 |
|
Sun Yimin
|
6a556b26d3
|
smx509: don't panic marshaling invalid ECDSA keys #81
|
2022-08-30 10:35:57 +08:00 |
|
Sun Yimin
|
a507f61c7c
|
fix bug
|
2022-08-17 15:30:21 +08:00 |
|
Sun Yimin
|
93dca77af8
|
sync code from sm2fiat and branch 1.16
|
2022-08-17 15:23:59 +08:00 |
|
Sun Yimin
|
2071214f1f
|
x509: fix error message
|
2022-08-02 15:09:34 +08:00 |
|
Emman
|
eb94980db3
|
run "gofmt -s -w"
|
2022-07-15 16:42:39 +08:00 |
|
Sun Yimin
|
7e81d05ce9
|
[sync] crypto/x509: restrict CRL number to <=20 octets #69
|
2022-07-15 10:25:53 +08:00 |
|
Sun Yimin
|
58513465fa
|
x509: supplement test cases
|
2022-07-14 15:03:15 +08:00 |
|
Sun Yimin
|
823cf4a470
|
test: reduce fmt.Printf
|
2022-06-17 08:49:50 +08:00 |
|
Sun Yimin
|
6b8782ddf1
|
fix error
|
2022-06-09 09:28:46 +08:00 |
|
Sun Yimin
|
936c19772e
|
temp solution for darwin
|
2022-06-09 09:11:43 +08:00 |
|
Sun Yimin
|
163fb51082
|
as a temp solution for darwin
|
2022-06-09 09:03:49 +08:00 |
|
Sun Yimin
|
60f734b82c
|
disable signing with MD5WithRSA #56
|
2022-05-13 08:22:35 +08:00 |
|
Sun Yimin
|
dafbb30c6e
|
use SAN when comparing certs during path building, #55
|
2022-05-09 14:47:23 +08:00 |
|
Sun Yimin
|
322aa881ed
|
EKU nesting enforcement, #54
|
2022-05-09 14:35:51 +08:00 |
|
Emman
|
41d0934ef4
|
crypto/x509: revert serial length restriction
|
2022-04-22 08:37:49 +08:00 |
|
Emman
|
64f522ea1b
|
Revert "#43, crypto/x509: don't allow too long serials"
This reverts commit b3f10b9a4cfeb8c384282f3e61aaf7356efab636.
# Conflicts:
# smx509/x509.go
# smx509/x509_test.go
|
2022-04-22 08:28:12 +08:00 |
|
Emman
|
ca98bd6f5c
|
crypto/x509: reject duplicate extensions #48
|
2022-04-19 16:29:41 +08:00 |
|
emmansun
|
77f61fce9c
|
crypto/x509: don't create certs with negative serials #47
|
2022-04-17 09:37:03 +08:00 |
|
Emman
|
35732a2822
|
#45, #46
|
2022-04-15 11:14:30 +08:00 |
|
Emman
|
155ef2943d
|
#44, crypto/x509: omit empty extensions SEQUENCE
|
2022-04-15 11:05:14 +08:00 |
|
Emman
|
b3f10b9a4c
|
#43, crypto/x509: don't allow too long serials
|
2022-04-15 11:01:11 +08:00 |
|
Emman
|
db4ee8585a
|
expose type cast method
|
2022-04-13 09:41:38 +08:00 |
|
emmansun
|
c7066d2256
|
fix ut error
|
2022-04-11 19:50:44 +08:00 |
|
Emman
|
efc3350236
|
Fix ut error
|
2022-04-11 17:40:41 +08:00 |
|
Emman
|
97217e8a68
|
crypto/x509: only disable SHA-1 verification for certificates
|
2022-04-11 17:33:40 +08:00 |
|
Emman
|
41f9220e3c
|
crypto/x509: rework path building
|
2022-04-11 15:55:23 +08:00 |
|
Emman
|
eb54032c1b
|
crypto/x509: properly handle issuerUniqueID and subjectUniqueID
|
2022-04-11 13:36:14 +08:00 |
|
Emman
|
d35a314b7a
|
crypto/x509: properly handle issuerUniqueID and subjectUniqueID
|
2022-04-11 13:35:04 +08:00 |
|
Emman
|
bd9ba93ffe
|
crypto/x509: add CertPool.Equal
|
2022-04-11 13:34:35 +08:00 |
|
Emman
|
a61731e0e2
|
duplicated
|
2022-04-10 11:16:11 +08:00 |
|
Emman
|
0f7a9070ee
|
pkcs1
|
2022-04-10 09:56:28 +08:00 |
|
Emman
|
0357a17c0a
|
crypto/x509: return err ans1.Marshal gives an error
|
2022-03-21 10:13:40 +08:00 |
|
Emman
|
2fa225552f
|
sync upstream #25
|
2022-02-09 13:03:32 +08:00 |
|
徐胖
|
40159e6542
|
[X509] simplify ParsePKIXPublicKey
|
2022-02-09 09:33:48 +08:00 |
|
徐胖
|
e5076b0dfc
|
[X509] polish
|
2022-02-08 19:14:07 +08:00 |
|
徐胖
|
03f6b2c30e
|
[X509] polish
|
2022-02-08 18:51:39 +08:00 |
|
徐胖
|
25e6d9c5fe
|
[X509] sync upstream
|
2022-02-08 16:41:59 +08:00 |
|
Emman
|
6baee1e5e8
|
code checking
|
2022-01-28 13:13:26 +08:00 |
|
Emman
|
de8cfcc588
|
[X509] missing return error
|
2022-01-28 13:04:34 +08:00 |
|
Emman
|
f97273bb5a
|
[SM2] add key equal test
|
2022-01-28 11:51:08 +08:00 |
|
Emman
|
7dec383b16
|
align format
|
2022-01-21 11:24:10 +08:00 |
|
Emman
|
4156eb1c07
|
align / change format
|
2022-01-21 08:33:01 +08:00 |
|
徐胖
|
fc1f13fd84
|
Alias x509 types
|
2022-01-20 18:42:15 +08:00 |
|
徐胖
|
a6a596c3f9
|
Alias x509 types
|
2022-01-20 18:35:16 +08:00 |
|
徐胖
|
20dbdcd08f
|
Alias x509 types
|
2022-01-20 18:18:53 +08:00 |
|