cmd/hsu: return hsurc id

The uid format is stable, this value is what caller has to obtain through hsu.

Closes #14.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-09-24 21:10:13 +09:00
parent 773253fdf5
commit afa7a0800d
3 changed files with 56 additions and 72 deletions

View File

@@ -255,7 +255,7 @@ func (seal *outcome) main() {
// passed through to shim by hsu
shimEnv + "=" + strconv.Itoa(fd),
// interpreted by hsu
"HAKUREI_APP_ID=" + seal.user.identity.String(),
"HAKUREI_IDENTITY=" + seal.user.identity.String(),
}
}