]> err.no Git - dak/commitdiff
mention who submitted the key
authorJoerg Jaspert <joerg@debian.org>
Sat, 26 Mar 2011 16:16:40 +0000 (17:16 +0100)
committerJoerg Jaspert <joerg@debian.org>
Sat, 26 Mar 2011 16:16:40 +0000 (17:16 +0100)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
scripts/debian/buildd-add-keys

index 7a4b906c22a8954c238ad6cd6d092c1df6015398..f2e35fc645f725face453252c6926d4ff7460059 100755 (executable)
@@ -272,7 +272,9 @@ for file in ${KEYS}; do
 
     # Right. At this point everything should be in order, which means we should put the key into
     # the keyring
-    log "Accepting key ${KEYID} for ${ARCH} buildd ${BUILDD}, expire ${KEYEXPIRE}"
+    KEYSUBMITTER=$(cat "${GPGSTATUS}"|grep GOODSIG)
+    KEYSUBMITTER=${KEYSUBMITTER##*]}
+    log "${KEYSUBMITTER} added key ${KEYID} for ${ARCH} buildd ${BUILDD}, expire ${KEYEXPIRE}"
     gpg ${DEFGPGOPT} --status-fd 4 --logger-fd 5 --keyring "${ARCHKEYRING}" --import "${GPGOUTF}" 2>/dev/null
 
     mv "${INCOMING}/${file}" "${base}/${ARCH}"