fix: preserve apt signature verification #38
1 changed files with 5 additions and 3 deletions
|
|
@ -123,9 +123,11 @@ if [ "$($SUDO curl "${CURL_AUTH[@]}" -sSL -o /dev/null -w '%{http_code}' "$RELEA
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Newer apt verifies with sqv (Sequoia), which rejects the signature Forgejo
|
# Newer apt verifies with sqv (Sequoia), which rejects the signature Forgejo
|
||||||
# currently produces for its Debian registry (malformed Ed25519 MPI encoding
|
# currently produces for its Debian registry. The cause is recorded on #1; it
|
||||||
# in the upstream signing library). Try the properly signed source first so
|
# is not the key algorithm, because the registry serves an RSA-2048 signing
|
||||||
# this heals automatically once the forge is fixed. Only that signature-error
|
# key (`gpg --list-packets` on repository.key reports `algo 1` with a
|
||||||
|
# 2048-bit pkey[0]). Try the properly signed source first so this heals
|
||||||
|
# automatically once the forge is fixed. Only that signature-error
|
||||||
# class permits the compatibility fallback; auth, network, and other failures
|
# class permits the compatibility fallback; auth, network, and other failures
|
||||||
# must leave verification enabled and retain apt's original diagnostic.
|
# must leave verification enabled and retain apt's original diagnostic.
|
||||||
if update_output="$(update_only_source "$LIST" 2>&1)"; then
|
if update_output="$(update_only_source "$LIST" 2>&1)"; then
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue