Skip to content

Commit

Permalink
update test now that "decrypt" subcommand is not required
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Couture-Beil <alex@mofo.ca>
  • Loading branch information
alexcb committed Jun 15, 2021
1 parent 7d93a51 commit 6714a36
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ secretshare-all:
test:
COPY +secretshare-linux/secretshare ./secretshare
RUN ./secretshare
RUN bash -c "echo -n hello | openssl pkeyutl -encrypt -pubin -inkey <(ssh-keygen -f ~/.secretshare.pub -e -m PKCS8) -pkeyopt rsa_padding_mode:oaep -pkeyopt rsa_oaep_md:sha256 -pkeyopt rsa_mgf1_md:sha256 | base64 | ./secretshare decrypt > output"
RUN bash -c "echo -n hello | openssl pkeyutl -encrypt -pubin -inkey <(ssh-keygen -f ~/.secretshare.pub -e -m PKCS8) -pkeyopt rsa_padding_mode:oaep -pkeyopt rsa_oaep_md:sha256 -pkeyopt rsa_mgf1_md:sha256 | base64 | ./secretshare > output"
RUN bash -c "diff output <( echo -n hello)"

release:
Expand Down
Binary file modified build/darwin/amd64/secretshare
Binary file not shown.
Binary file modified build/linux/amd64/secretshare
Binary file not shown.

0 comments on commit 6714a36

Please sign in to comment.