mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-07-03 23:25:28 +02:00
12 lines
234 B
Bash
12 lines
234 B
Bash
![]() |
#!/bin/bash
|
||
|
set -e
|
||
|
set -o pipefail
|
||
|
if [ "$#" -ne 2 ]; then
|
||
|
echo "Usage: $0 update_archive private_key"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
openssl=/usr/bin/openssl
|
||
|
$openssl dgst -sha1 -binary < "$1" | $openssl dgst -dss1 -sign "$2" | base64 $BASE64_OPTS
|
||
|
|