整理前后端与测试构建目录并完善配置和安全引导
Security Checks / security (push) Waiting to run

统一 frontend、backend、test、test-log 和 out 目录,更新构建、部署及测试入口;纳入配置管理兼容与首次安全引导修复;排除本机配置、密钥和测试产物。
This commit is contained in:
xuans committed 2026-09-05 19:19:52 +08:00
1 parent 28cd9d3406
commit f60d3b0880
603 files changed
+2351 -660

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
module smail-test-password-check
go 1.26.0
require git.pcux.cn/xuans/Smail v0.0.0
require (
golang.org/x/crypto v0.55.0 // indirect
golang.org/x/sys v0.47.0 // indirect
)
replace git.pcux.cn/xuans/Smail => ../../../backend
+4
View File
@@ -0,0 +1,4 @@
golang.org/x/crypto v0.55.0 h1:+KWHjbgOaAQ66dh/YlkZKHlz9ZUlq61AFirAR9ntP8M=
golang.org/x/crypto v0.55.0/go.mod h1:uq0V9dE/fzQuJtbnL+2EhWOE63vo164FY8xqEnV9xis=
golang.org/x/sys v0.47.0 h1:o7XGOvZQCADBQQ4Y7VNq2dRWQR7JmOUW8Kxx4ZsNgWs=
golang.org/x/sys v0.47.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=
+12
View File
@@ -0,0 +1,12 @@
package main
import (
"fmt"
"os"
"git.pcux.cn/xuans/Smail/utils/password"
)
func main() {
fmt.Print(password.Verify(os.Getenv("SMAIL_HASH"), os.Getenv("SMAIL_TEST_PASSWORD")))
}