diff --git a/sign.sh b/sign.sh index e6a27b3..3a20008 100755 --- a/sign.sh +++ b/sign.sh @@ -1,4 +1,4 @@ #!/bin/sh -export client=client +export client=maxim openssl dgst -sha256 -sign $client.key mix.exs > mix.sig diff --git a/verify.sh b/verify.sh index 21a194a..10dc648 100755 --- a/verify.sh +++ b/verify.sh @@ -1,4 +1,5 @@ #!/bin/sh -export client=client +export client=maxim +openssl x509 -pubkey -noout -in $client.pem > $client.pub openssl dgst -sha256 -verify $client.pub -signature mix.sig mix.exs