Skip to content
Snippets Groups Projects
Unverified Commit 82fc62a2 authored by Silas Davis's avatar Silas Davis
Browse files

Fix keys test that was silently failing


Signed-off-by: default avatarSilas Davis <silas@monax.io>
parent 86c64d2a
No related branches found
No related tags found
No related merge requests found
# docker build -t quay.io/monax/burrow:ci .
FROM golang:1.10.1-alpine3.7
MAINTAINER Monax <support@monax.io>
ENV DOCKER_VERSION "17.12.1-ce"
# This is the image used by the Circle CI config in this directory pushed to quay.io/monax/bosmarmot:ci
# docker build -t quay.io/monax/burrow:ci -f ./.circleci/Dockerfile .
RUN apk add --update --no-cache nodejs netcat-openbsd git openssh-client make bash gcc g++ jq curl
RUN apk add --update --no-cache nodejs netcat-openbsd git openssh-client openssl make bash gcc g++ jq curl
# get docker client
RUN curl -L -o /tmp/docker-$DOCKER_VERSION.tgz https://download.docker.com/linux/static/stable/x86_64/docker-$DOCKER_VERSION.tgz \
&& tar -xz -C /tmp -f /tmp/docker-$DOCKER_VERSION.tgz \
......
......@@ -5,6 +5,7 @@
# TODO: run the suite with/without encryption!
set -e
burrow_bin=${burrow_bin:-burrow}
......@@ -93,7 +94,7 @@ do
DIR=$keys_dir/data
FILE=$DIR/$ADDR.json
PRIV=`cat $FILE | jq -r .PrivateKey.Plain`
HEXPRIV=`echo -n "$PRIV" | base64 -d | xxd -p -u -c 256`
HEXPRIV=`echo -n "$PRIV" | base64 -d | xxd -p -c 256 | tr '[:lower:]' '[:upper:]'`
cp $FILE ~/$ADDR
rm -rf $DIR
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment