Commit 4966bc9b authored by Christian Hesse's avatar Christian Hesse 😜
Browse files

Export with comment

... containing username and keyid
parent af4b81ed
......@@ -57,7 +57,7 @@ while read -ra data; do
keyid="${data[0]}"
username="${data[@]:1}"
"${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
done < master-keyids
"${GPG[@]}" --import-ownertrust < archlinux-trusted 2>/dev/null
......@@ -66,7 +66,7 @@ done < master-keyids
while read -ra data; do
keyid="${data[0]}"
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
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
echo "key is not fully trusted: ${keyid} ${username}"
else
"${GPG[@]}" --export ${keyid} >> packager/${username}.asc
"${GPG[@]}" --comment "packager: ${username} (${keyid})" --export ${keyid} >> packager/${username}.asc
fi
done < packager-keyids
......@@ -85,7 +85,7 @@ done < packager-keyids
while read -ra data; do
keyid="${data[0]}"
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
done < packager-revoked-keyids
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment