Skip to content

Commit

Permalink
fix verify
Browse files Browse the repository at this point in the history
  • Loading branch information
5HT committed Oct 23, 2024
1 parent 55168d8 commit b9b7e09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sign.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

export client=client
export client=maxim
openssl dgst -sha256 -sign $client.key mix.exs > mix.sig
3 changes: 2 additions & 1 deletion verify.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b9b7e09

Please sign in to comment.