Very basic key export/import implementation

This commit is contained in:
2023-03-07 10:08:04 -07:00
parent 277be07dcd
commit 8a8fef6845
4 changed files with 5 additions and 4 deletions
@@ -54,7 +54,7 @@ RUN yarn global add @cerc-io/laconic-registry-cli
# Add scripts
RUN mkdir /scripts
ENV PATH="${PATH}:/scripts"
COPY ./import.key.sh /scripts
COPY ./import-key.sh /scripts
# Default command sleeps forever so docker doesn't kill it
CMD ["sh", "-c", "while :; do sleep 600; done"]
@@ -1,2 +0,0 @@
#!/bin/sh
echo y | docker compose exec laconicd laconicd keys export mykey --unarmored-hex --unsafe