-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
94 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
#arguments folder node-id ip nickname | ||
|
||
consul kv put ator-network/dev/dir-auth-$2/authority_certificate "$(cat $1/tor-data/keys/authority_certificate)" | ||
consul kv put ator-network/dev/dir-auth-$2/ed25519_master_id_public_key_base64 "$(base64 -w 0 $1/tor-data/keys/ed25519_master_id_public_key)" | ||
consul kv put ator-network/dev/dir-auth-$2/ed25519_signing_cert_base64 "$(base64 -w 0 $1/tor-data/keys/ed25519_signing_cert)" | ||
consul kv put ator-network/dev/dir-auth-$2/fingerprint "$(cat $1/tor-data/fingerprint)" | ||
consul kv put ator-network/dev/dir-auth-$2/fingerprint-ed25519 "$(cat $1/tor-data/fingerprint-ed25519)" | ||
consul kv put ator-network/dev/dir-auth-$2/nickname "$4" | ||
consul kv put ator-network/dev/dir-auth-$2/public_ipv4 "$3" | ||
consul kv put ator-network/stage/dir-auth-$2/authority_certificate "$(cat $1/anon-data/keys/authority_certificate)" | ||
consul kv put ator-network/stage/dir-auth-$2/ed25519_master_id_public_key_base64 "$(base64 -w 0 $1/anon-data/keys/ed25519_master_id_public_key)" | ||
consul kv put ator-network/stage/dir-auth-$2/ed25519_signing_cert_base64 "$(base64 -w 0 $1/anon-data/keys/ed25519_signing_cert)" | ||
consul kv put ator-network/stage/dir-auth-$2/fingerprint "$(cat $1/anon-data/fingerprint)" | ||
consul kv put ator-network/stage/dir-auth-$2/fingerprint-ed25519 "$(cat $1/anon-data/fingerprint-ed25519)" | ||
consul kv put ator-network/stage/dir-auth-$2/nickname "$4" | ||
consul kv put ator-network/stage/dir-auth-$2/public_ipv4 "$3" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
#arguments folder node-id | ||
|
||
vault kv put -output-curl-string -mount=kv ator-network/stage/dir-auth-$2 \ | ||
authority_identity_key="$(cat $1/tor-data/keys/authority_identity_key)" \ | ||
authority_signing_key="$(cat $1/tor-data/keys/authority_signing_key)" \ | ||
ed25519_master_id_secret_key_base64="$(base64 -w 0 $1/tor-data/keys/ed25519_master_id_secret_key)" \ | ||
ed25519_signing_secret_key_base64="$(base64 -w 0 $1/tor-data/keys/ed25519_signing_secret_key)" \ | ||
secret_id_key_base64="$(base64 -w 0 $1/tor-data/keys/secret_id_key)" \ | ||
secret_onion_key_base64="$(base64 -w 0 $1/tor-data/keys/secret_onion_key)" \ | ||
secret_onion_key_ntor_base64="$(base64 -w0 $1/tor-data/keys/secret_onion_key_ntor)" | ||
authority_identity_key="$(cat $1/anon-data/keys/authority_identity_key)" \ | ||
authority_signing_key="$(cat $1/anon-data/keys/authority_signing_key)" \ | ||
ed25519_master_id_secret_key_base64="$(base64 -w 0 $1/anon-data/keys/ed25519_master_id_secret_key)" \ | ||
ed25519_signing_secret_key_base64="$(base64 -w 0 $1/anon-data/keys/ed25519_signing_secret_key)" \ | ||
secret_id_key_base64="$(base64 -w 0 $1/anon-data/keys/secret_id_key)" \ | ||
secret_onion_key_base64="$(base64 -w 0 $1/anon-data/keys/secret_onion_key)" \ | ||
secret_onion_key_ntor_base64="$(base64 -w0 $1/anon-data/keys/secret_onion_key_ntor)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
"AnyoneDmzStage orport=9101 " | ||
"v3ident=3368A4DB07FB4E76ABF72CCDF642F5659F48C378 " | ||
"88.99.219.105:9130 81B9A6ACF2EE2717390F258C3E291BD7F3D80E34", | ||
"AnyoneFalStage orport=9101 " | ||
"v3ident=D5BFA1848F92CFD4A1F611984F11F282A04E54DE " | ||
"176.9.29.53:9130 6A26840B4C58BEE44CF96C25A83CC84888B7AEC6", | ||
"AnyoneHelStage orport=9101 " | ||
"v3ident=34B71192F29063F70A2C5A7B3D39741F2C954191 " | ||
"95.216.32.105:9130 0AC22EC8DC71A1EA4C78472A9A00F1F524C7C497", | ||
"AnyoneFal2Stage orport=9102 " | ||
"v3ident=D20E95E4FD8D43854669F2287A947F2986E11865 " | ||
"176.9.29.53:9131 9C272EBF3DB8EDC626C1AD8D70B2DE86E516BF0B", | ||
"AnyoneHel2Stage orport=9102 " | ||
"v3ident=87C0401B24D42D2E9B8A936A90FCA49B4CCC65B3 " | ||
"95.216.32.105:9131 0AF25C2C41D785D3955B09D9BF88EC000ECDF7A5", | ||
"AnyoneFal3Stage orport=9103 " | ||
"v3ident=610EAE6C20797144AE0F167893B8025519BAAFA4 " | ||
"176.9.29.53:9132 C026936168E1DEE39775921EAE4D38D62AD1C722", | ||
"AnyoneHel3Stage orport=9103 " | ||
"v3ident=A82C2500F24834B9A696E25247DF03B48F3A2D50 " | ||
"95.216.32.105:9132 1C1E478151FBD968D8ACB9E69CAD396E853FF007", | ||
"AnyoneHel1aStage orport=9101 " | ||
"v3ident=35BF8B795989B7CD4D43588C9A15171C1A5B4A98 " | ||
"135.181.231.123:9130 D684B877417A224B727C04714ECF04A95987FD36", | ||
"AnyoneHel2aStage orport=9101 " | ||
"v3ident=1D80F66A55345FFAB00F08C3A8E60338844890C1 " | ||
"148.251.23.105:9130 9578CA946B1AEAB730ECF474590C9A29A6D3A16C", | ||
"AnyoneHel3aStage orport=9101 " | ||
"v3ident=85372240705967FECF5D1FDFB8C0BF78601670A3 " | ||
"65.21.12.154:9130 55F541EAE4429C650CB3A7569AE08F4C8A200D53", | ||
"AnyoneHel2bStage orport=9102 " | ||
"v3ident=035B63F11DF6D2EDEA0CC66A29AB0B41221A97D4 " | ||
"148.251.23.105:9131 4FD213ABF97101D4AE3A63CB602F4C09BD71EAEC", | ||
"AnyoneHel3bStage orport=9102 " | ||
"v3ident=3413AAEBAFC6EC4D6DEB7482BED5A302771F06FD " | ||
"65.21.12.154:9131 94421420BAEC4F35E6C1B257B87D5397FC77C3C2", | ||
"AnyoneHel2cStage orport=9103 " | ||
"v3ident=C0B51A0BDB0FC484DB2F4DBDBFCB2548D7F51452 " | ||
"148.251.23.105:9132 468F3D7ACB8F57B6450154BB18DB4E4D4C4E8FE8", | ||
"AnyoneHel3cStage orport=9103 " | ||
"v3ident=F279D7110816AD4274BDF63834376340D604EC9F " | ||
"65.21.12.154:9132 E33E6491E3856683B1B0F6E31940C536B80E1485", |