sign-binaries 338 B

1234567891011121314151617181920
  1. #!/bin/bash
  2. D=$1
  3. if [ "$D" = "" ]; then
  4. echo "Usage: sign-binaries 201912312359"
  5. exit
  6. fi
  7. if [ "$QUBES_GPG_DOMAIN" = "" ]; then
  8. GPG=gpg
  9. else
  10. GPG=qubes-gpg-client-wrapper
  11. fi
  12. for file in dist/borg-*; do
  13. $GPG --local-user "Thomas Waldmann" --armor --detach-sign --output "$file.asc" "$file"
  14. done
  15. touch -t "$D" dist/*