chore: auto-commit uncommitted changes
This commit is contained in:
parent
2ae57f82b6
commit
4f3ae6c548
1
Makefile
1
Makefile
|
|
@ -32,6 +32,7 @@ all: app website
|
|||
|
||||
app:
|
||||
cp crypto/*.js $(APP_DIR)/cmd/vault1984/web/
|
||||
sed -i 's/__BUILD_TIME__/$(shell date -u +%Y%m%d-%H%M%S)/' $(APP_DIR)/cmd/vault1984/web/index.html
|
||||
cd $(APP_DIR) && go build $(GOFLAGS) -ldflags '$(LDFLAGS)' -o vault1984 $(APP_ENTRY)
|
||||
@echo "built $(APP_BIN) (FIPS)"
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -294,11 +294,6 @@ int main(int argc, char **argv) {
|
|||
snprintf(cfg.agent_name, sizeof(cfg.agent_name), "%s", agent_name);
|
||||
memcpy(cfg.l2_key, l2_key, 16);
|
||||
|
||||
/* Debug: show L2 key for verification — REMOVE BEFORE RELEASE */
|
||||
fprintf(stderr, "L2 key: [");
|
||||
for (int i = 0; i < 16; i++) fprintf(stderr, "%s%d", i?",":"", cfg.l2_key[i]);
|
||||
fprintf(stderr, "]\n");
|
||||
|
||||
/* L1 = first 8 bytes of L2 key, used as Bearer auth */
|
||||
char bearer[32];
|
||||
get_bearer(&cfg, bearer, sizeof(bearer));
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Reference in New Issue