Export with comment
... containing username and keyid
This commit is contained in:
parent
af4b81ed04
commit
4966bc9b46
@ -57,7 +57,7 @@ while read -ra data; do
|
|||||||
keyid="${data[0]}"
|
keyid="${data[0]}"
|
||||||
username="${data[@]:1}"
|
username="${data[@]:1}"
|
||||||
"${GPG[@]}" --yes --lsign-key ${keyid} &>/dev/null
|
"${GPG[@]}" --yes --lsign-key ${keyid} &>/dev/null
|
||||||
"${GPG[@]}" --export ${keyid} >> master/${username}.asc
|
"${GPG[@]}" --comment "master-key: ${username} (${keyid})" --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
|
||||||
@ -66,7 +66,7 @@ done < master-keyids
|
|||||||
while read -ra data; do
|
while read -ra data; do
|
||||||
keyid="${data[0]}"
|
keyid="${data[0]}"
|
||||||
username="${data[1]}"
|
username="${data[1]}"
|
||||||
"${GPG[@]}" --export ${keyid} >> master-revoked/${username}.asc
|
"${GPG[@]}" --comment "revoked master-key: ${username} (${keyid})" --export ${keyid} >> master-revoked/${username}.asc
|
||||||
echo "${keyid}" >> archlinux-revoked
|
echo "${keyid}" >> archlinux-revoked
|
||||||
done < master-revoked-keyids
|
done < master-revoked-keyids
|
||||||
|
|
||||||
@ -77,7 +77,7 @@ while read -ra data; do
|
|||||||
if ! "${GPG[@]}" --list-keys --with-colons ${keyid} 2>/dev/null | grep -q '^pub:f:'; then
|
if ! "${GPG[@]}" --list-keys --with-colons ${keyid} 2>/dev/null | grep -q '^pub:f:'; then
|
||||||
echo "key is not fully trusted: ${keyid} ${username}"
|
echo "key is not fully trusted: ${keyid} ${username}"
|
||||||
else
|
else
|
||||||
"${GPG[@]}" --export ${keyid} >> packager/${username}.asc
|
"${GPG[@]}" --comment "packager: ${username} (${keyid})" --export ${keyid} >> packager/${username}.asc
|
||||||
fi
|
fi
|
||||||
done < packager-keyids
|
done < packager-keyids
|
||||||
|
|
||||||
@ -85,7 +85,7 @@ done < packager-keyids
|
|||||||
while read -ra data; do
|
while read -ra data; do
|
||||||
keyid="${data[0]}"
|
keyid="${data[0]}"
|
||||||
username="${data[1]}"
|
username="${data[1]}"
|
||||||
"${GPG[@]}" --export ${keyid} >> packager-revoked/${username}.asc
|
"${GPG[@]}" --comment "revoked packager: ${username} (${keyid})" --export ${keyid} >> packager-revoked/${username}.asc
|
||||||
echo "${keyid}" >> archlinux-revoked
|
echo "${keyid}" >> archlinux-revoked
|
||||||
done < packager-revoked-keyids
|
done < packager-revoked-keyids
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user