4 lines
115 B
Bash
Executable file
4 lines
115 B
Bash
Executable file
#!/bin/sh
|
|
key=`hexdump -n 16 -e '"%x"' /dev/random`
|
|
echo ${key} > KEY
|
|
go build -ldflags="-X main.key=${key} -s -w"
|