mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-26 17:03:43 +02:00
14 lines
429 B
Bash
Executable file
14 lines
429 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# This is for internal use by ZeroTier, but obviously users can repurpose it to make their own.
|
|
|
|
# Usage: make-root-set.sh <identity.secret> [<...>]
|
|
|
|
for i in $*; do
|
|
echo $i
|
|
../../target/debug/zerotier rootset sign root.zerotier.com.json $i >tmp.json
|
|
mv -f tmp.json root.zerotier.com.json
|
|
../../target/debug/zerotier rootset marshal root.zerotier.com.json >root.zerotier.com.bin
|
|
done
|
|
|
|
cat root.zerotier.com.json
|