diff options
author | David Runge <dave@sleepmap.de> | 2021-02-07 13:29:47 +0100 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2021-02-07 13:29:47 +0100 |
commit | ee6181780964dc4c7c5728da277151e22f7046f4 (patch) | |
tree | c55b6906b262cf596a91eb82969561b0ab524d26 | |
parent | 1c6351e48c86570610090c75914ce6d50bfff8bd (diff) | |
download | dotfiles-ee6181780964dc4c7c5728da277151e22f7046f4.tar.gz dotfiles-ee6181780964dc4c7c5728da277151e22f7046f4.tar.bz2 dotfiles-ee6181780964dc4c7c5728da277151e22f7046f4.tar.xz dotfiles-ee6181780964dc4c7c5728da277151e22f7046f4.zip |
Add gpg-force-send-key helper script
bin/gpg-force-send-key:
Add helper script to brute-force upload PGP public keys to the SKS
infrastructure (and other key servers).
-rwxr-xr-x | bin/gpg-force-send-key | 164 |
1 files changed, 164 insertions, 0 deletions
diff --git a/bin/gpg-force-send-key b/bin/gpg-force-send-key new file mode 100755 index 0000000..220089b --- /dev/null +++ b/bin/gpg-force-send-key @@ -0,0 +1,164 @@ +#!/usr/bin/env bash + +keyservers=( + keys.gnupg.net + keyserver.ubuntu.com + pgp.key-server.io + pgp.mit.edu + +# curl -sSL https://sks-keyservers.net/status/ | hq 'table.list tr > td:nth-of-type(2)' text | cut -d'[' -f1 + +gozer.rediris.es +keys.andreas-puls.de +keys.internet-sicherheit.de +keys2.andreas-puls.de +keyserver-01.2ndquadrant.com +keyserver-02.2ndquadrant.com +keyserver-03.2ndquadrant.com +keyserver.dobrev.eu +keyserver.escomposlinux.org +keyserver.insect.com +keyserver1.computer42.org +keyserver2.computer42.org +pgp.cyberbits.eu +pgp.flexyz.com +pgp.lehigh.edu +pgp.net.nz +pgp.ocf.berkeley.edu +pgpkeys.co.uk +pgpkeys.eu +pgpkeys.uk +sks.hnet.se +sks.pod01.fleetstreetops.com +sks.pod02.fleetstreetops.com +a.keyserver.alteholz.eu +a.sks.srv.scientia.net +agora.cenditel.gob.ve +conflux.pgp.intern.ccs-baumann.de +cryptonomicon.mit.edu +fks.pgpkeys.eu +ice.mudshark.org +key.adeti.org +key.cccmz.de +key1.dock23.de +key2.dock23.de +keys-01.licoho.de +keys-02.licoho.de +keys.exosphere.de +keys.fedoraproject.org +keys.fspproductions.biz +keys.indymedia.org +keys.jhcloos.com +keys.mainframe.cx +keys.nerds.lu +keys.niif.hu +keys.s-l-c.biz +keys.schluesselbruecke.de +keys.sflc.info +keys.thoma.cc +keys01.fedoraproject.org. +keys02.fedoraproject.org. +keys2.kfwebs.net +keyserv.sr32.net +keyserver.adamas.ai +keyserver.aktronic.de +keyserver.bazon.ru +keyserver.boquet.org +keyserver.brian.minton.name +keyserver.cdresel.de +keyserver.codinginfinity.com +keyserver.compbiol.bio.tu-darmstadt.de +keyserver.durcheinandertal.ch +keyserver.freenet.de +keyserver.gingerbear.net +keyserver.globale-gruppe.de +keyserver.kjsl.com +keyserver.leg.uct.ac.za +keyserver.linuxpro.nl +keyserver.matteoswelt.de +keyserver.mattrude.com +keyserver.mesh.deuxpi.ca +keyserver.mpi-bremen.de +keyserver.nausch.org +keyserver.newideatest.site +keyserver.oeg.com.au +keyserver.opensuse.org +keyserver.provonet.nl +keyserver.saol.no-ip.com +keyserver.searchy.nl +keyserver.serviz.fr +keyserver.sincer.us +keyserver.skoopsmedia.net +keyserver.snt.utwente.nl +keyserver.stack.nl +keyserver.taygeta.com +keyserver.timlukas.de +keyserver.ut.mephi.ru +keyserver.vbrandl.net +keyserver.zap.org.au +keyserver1.canonical.com +keyserver2.boquet.org +keyserver2.canonical.com +kis.kim-minh.com +kr-sks.salac.me +openpgp1.claruscomms.net +pgp +pgp.benny-baumann.de +pgp.boomer41.net +pgp.cert.am +pgp.circl.lu +pgp.gwolf.org +pgp.jjim.de +pgp.librelabucm.org +pgp.ohai.su +pgp.opsgang.engineering +pgp.philihp.com +pgp.pkqs.net +pgp.pm +pgp.surf.nl +pgp.surfnet.nl +pgp.uni-mainz.de +pgp.uplinklabs.net +pgp.ustc.edu.cn +pgp.zdv.uni-mainz.de +pgpkeys.urown.net +pgpkeyserver.posteo.de +rchreactor.org +schluesselkasten.wertarbyte.de +sks-peer.spodhuis.org +sks.b4ckbone.de +sks.cybaze.it +sks.daylightpirates.org +sks.ecks.ca +sks.eq.by +sks.es.net +sks.fidocon.de +sks.infcs.de +sks.itq.de +sks.keyservers.net +sks.kingsview.org +sks.kserver.eu +sks.mbk-lab.ru +sks.mrball.net +sks.neel.ch +sks.nimblesec.com +sks.openpgp-keyserver.de +sks.parafoil.net +sks.pkqs.net +sks.rainydayz.org +sks.rarc.net +sks.research.nxfifteen.me.uk +sks.srv.dumain.com +sks.stsisp.ro +sks.theblains.org +sks.ygrek.org +vanunu.calyxinstitute.org +vinz.rediris.es +vm-keyserver.spline.inf.fu-berlin.de +zimmermann.mayfirst.org +zuul.rediris.es +) + +for keyserver in "${keyservers[@]}"; do + gpg --keyserver "$keyserver" --send-key "$1" +done |