#!/bin/bash

# TODO Avoid hardcoding version
VER=0.10

# Download current source code and signature
curl -LOs https://github.com/jedisct1/minisign/archive/refs/tags/${VER}.tar.gz
curl -LOs https://github.com/jedisct1/minisign/releases/download/${VER}/${VER}.tar.gz.minisig

# Verify it against the key mentioned in the README
minisign -V -P RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3 -m ${VER}.tar.gz
