This commit adds support for the OpenPGP crypto-refresh. - Updates go-crypto dependency to v1.1.0-alpha.1 - Adapts the session key logic to handle PKESK/SKESK v6 packets without an algorithm attached - Updates the min go version to 1.17 as requires by go-crypto v1.1.0-alpha.1 - Update the cricl dependency to 1.3.7 matching go-crypto Not supported: - crypto-refresh intended recipients - v6 key generation
13 lines
No EOL
434 B
Bash
Executable file
13 lines
No EOL
434 B
Bash
Executable file
CONFIG_TEMPLATE=$1
|
|
CONFIG_OUTPUT=$2
|
|
GOSOP_BRANCH=$3
|
|
GOSOP_MAIN=$4
|
|
cat $CONFIG_TEMPLATE \
|
|
| sed "s@__GOSOP_BRANCH__@${GOSOP_BRANCH}@g" \
|
|
| sed "s@__GOSOP_MAIN__@${GOSOP_MAIN}@g" \
|
|
| sed "s@__SQOP__@${SQOP}@g" \
|
|
| sed "s@__GPGME_SOP__@${GPGME_SOP}@g" \
|
|
| sed "s@__SOP_OPENPGPJS__@${SOP_OPENPGPJS}@g" \
|
|
| sed "s@__GOSOP_V2__@${GOSOP_DIR_V2}/gosop@g" \
|
|
| sed "s@__RNP_SOP__@${RNP_SOP}@g" \
|
|
> $CONFIG_OUTPUT |