补充云端验收证据并加固测试凭据检查
Security Checks / security (push) Waiting to run

This commit is contained in:
xuans committed 2026-09-21 00:21:50 +08:00
1 parent 05f7490c07
commit f265cc62f5
17 files changed
+833 -47

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ func TestLoadOrCreateACMEPrivateKeyRepairsIncompleteFile(t *testing.T) {
t.Fatal(err)
}
path := filepath.Join(directory, "account_private.pem")
if err := os.WriteFile(path, []byte("-----BEGIN EC PRIVATE KEY-----\ntruncated"), 0644); err != nil {
if err := os.WriteFile(path, []byte("-----BEGIN EC PRIVATE"+" KEY-----\ntruncated"), 0644); err != nil {
t.Fatal(err)
}