Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: change seperator to #FSG# #9

Merged
merged 1 commit into from
Nov 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func ValidatePath(recipePath string) error {
if strings.TrimSpace(file) == "" {
continue
}
properties := strings.Split(file, ",")
properties := strings.Split(file, " #FSG #")

wg.Add(1)
go func(prop []string) {
Expand Down
8 changes: 4 additions & 4 deletions signatures
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
----begin attach----untrusted comment: signature from minisign secret key
RUT/zjj314CS9wT4jPKJ1meN63lbZQBEcTX8UG3bkZAOi4w2p1xcRlKPrAmV+ucbwMxO4zL3+X4HnlGRpnG8gu+I3m8K2baFmgw=
trusted comment: timestamp:1699035853 file:test_filelist hashed
VQQ/o2RoaLOF6DmrlaY23hiDhjY0n0YSrGIYnoQy2dDUvkm+JmHXhlER+H3NY5ZlFSxuEtnQ2oij06hX35dcCg==
----begin second attach----RWT/zjj314CS9yAR7EeTXdh78ASVkGTU+ax2dWrvrlIOUb26PipAlUqO
RUTpbAiGx/YxctK3HrTfy1VRfD/qSNxFWemE3LdouaAxL+EPR69qdfrsHxk9oZdlq+f5sg9Z4HcDbN93NHvFqGzq+D4eCJW09AE=
trusted comment: timestamp:1699212652 file:test_filelist hashed
f486WxemqmCVuIRuF6U1ASuNjP2RZMi8fopriCQmeA9ql7lxJRR5SJQlF9db41pYtE3/i/gTD8gwNgBOaHtaAw==
----begin second attach----RWTpbAiGx/YxchQa2SSfM6rThyyUg5uLjS9QwIoSOTejP6Uw8R+rULn4
8 changes: 4 additions & 4 deletions test_filelist
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/usr/sbin/bash,35eab9f2ffe2de924043fe288896c512ed353712,false
/usr/sbin/tar,1d44d9a12776e7228a8153fae5fd2d2a84419ce1,false
/usr/bin/sudo,7f1a9b5842d2962fa8fab3973d9ea929ce4106a5,true
/usr/sbin/ar,badcheck,false
/usr/sbin/bash #FSG# 35eab9f2ffe2de924043fe288896c512ed353712 #FSG# false
/usr/sbin/tar #FSG# 1d44d9a12776e7228a8153fae5fd2d2a84419ce1 #FSG# false
/usr/bin/sudo #FSG# 7f1a9b5842d2962fa8fab3973d9ea929ce4106a5 #FSG# true
/usr/sbin/ar #FSG# badcheck #FSG# false