update-keys: do not minimize but export-minimal
This commit is contained in:
parent
5cb23e4ce6
commit
cf5ed9feeb
@ -56,9 +56,8 @@ done < <(cat master-keyids master-revoked-keyids packager-keyids packager-revoke
|
|||||||
while read -ra data; do
|
while read -ra data; do
|
||||||
keyid="${data[0]}"
|
keyid="${data[0]}"
|
||||||
username="${data[@]:1}"
|
username="${data[@]:1}"
|
||||||
printf 'minimize\nquit\ny\n' | "${GPG[@]}" --command-fd 0 --edit-key ${keyid}
|
|
||||||
"${GPG[@]}" --yes --lsign-key ${keyid} &>/dev/null
|
"${GPG[@]}" --yes --lsign-key ${keyid} &>/dev/null
|
||||||
"${GPG[@]}" --export ${keyid} >> master/${username}.asc
|
"${GPG[@]}" --export-options export-minimal --export ${keyid} >> master/${username}.asc
|
||||||
echo "${keyid}:4:" >> archlinux-trusted
|
echo "${keyid}:4:" >> archlinux-trusted
|
||||||
done < master-keyids
|
done < master-keyids
|
||||||
"${GPG[@]}" --import-ownertrust < archlinux-trusted 2>/dev/null
|
"${GPG[@]}" --import-ownertrust < archlinux-trusted 2>/dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user