summaryrefslogtreecommitdiffstats
path: root/lavalab-gen.sh
diff options
context:
space:
mode:
authorKevin Hilman <khilman@baylibre.com>2018-08-21 13:29:27 -0700
committerKevin Hilman <khilman@baylibre.com>2018-09-13 10:37:24 -0700
commit8034ea8a06d29cf148c3170b044385e874e5b7e1 (patch)
treee26e0329742d5ef7cf4e0209868f646225d7d747 /lavalab-gen.sh
parent0d143406d41fcd7a4b03a3941cc3a66c294b21b2 (diff)
lavalab-gen: fiz zmq key filename assumptions
The ZMQ key file names are expected to have specific names in the containers (e.g. $LAVA_MASTER.key). However, when using existing key files, they are simply copied into the containers, and if they don't match the exact requirements, encryption will silently fail. Fix this by allowing arbitrary filenames for existing keys, but ensure they are copied into the container with the expected filenames. Related, when using auto-generated keys, the generated master key is simply "master.key" in the slave. Fix this by ensuring that "master.key" is copied to $LAVA_MASTER.key when the slave container starts. Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'lavalab-gen.sh')
0 files changed, 0 insertions, 0 deletions