Skip to content

Commit 0560d23

Browse files
andrew-edgarluan
authored andcommitted
Pass encryption key to BBS
[#103024166] Signed-off-by: Luan Santos <[email protected]>
1 parent e8d7143 commit 0560d23

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

world/components.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,14 +189,16 @@ func (maker ComponentMaker) BBS(argv ...string) ifrit.Runner {
189189
Command: exec.Command(
190190
maker.Artifacts.Executables["bbs"],
191191
append([]string{
192-
"-listenAddress", maker.Addresses.BBS,
192+
"-activeKeyLabel=" + "secure-key-1",
193193
"-advertiseURL", "http://" + maker.Addresses.BBS,
194194
"-auctioneerAddress", "http://" + maker.Addresses.Auctioneer,
195195
"-consulCluster", maker.ConsulCluster(),
196-
"-etcdCluster", maker.EtcdCluster(),
196+
"-encryptionKey=" + "secure-key-1:secure-passphrase",
197+
"-etcdCaFile", maker.SSL.CACert,
197198
"-etcdCertFile", maker.SSL.ClientCert,
199+
"-etcdCluster", maker.EtcdCluster(),
198200
"-etcdKeyFile", maker.SSL.ClientKey,
199-
"-etcdCaFile", maker.SSL.CACert,
201+
"-listenAddress", maker.Addresses.BBS,
200202
"-logLevel", "debug",
201203
}, argv...)...,
202204
),

0 commit comments

Comments
 (0)