Compare commits

..

16 Commits

Author SHA1 Message Date
Schnitzel 2f02f5db5a schnitzel 2025-02-10 16:28:03 +01:00
Bandie f369c5101a Bandie really new 2023-03-30 18:51:50 +02:00
Bandie 0fa11eeef6 Bandie new 2023-03-30 18:38:08 +02:00
Bandie d19cd58d62 Bandie 2022-08-19 17:44:47 +02:00
Bandie 98fd541df2 Smile 2022-08-13 14:07:34 +02:00
Bandie c359875b1b Respect multiple user ids 2022-07-02 16:01:35 +02:00
Bandie 72bdd27348 Care for at least one space 2022-07-02 15:49:45 +02:00
Bandie 5df3438fe7 Respect spacing for smaller displays 2022-07-02 15:37:54 +02:00
gituser c108ab95c6 613nm 2022-06-16 18:08:31 +02:00
Bandie af851c45b5 head was missing; catching errors 2022-06-16 15:04:24 +02:00
Bandie 937496d79f Wrong hash; renamed (Schnitzel) 2022-06-16 14:53:21 +02:00
Bandie 9e67d20176 Documentation 2022-06-16 14:35:40 +02:00
drg 00833d62ca drg 2022-06-16 14:27:26 +02:00
Schnitzel 3b35db81de Schnitzel 2022-06-16 01:35:25 +02:00
Bandie 31a4fb3d8a Readme-Change 2022-06-15 23:09:42 +02:00
Bandie d6d08780f3 WKD-Key-Skript and README 2022-06-15 22:34:02 +02:00
7 changed files with 47 additions and 0 deletions
Binary file not shown.
Binary file not shown.
+13
View File
@@ -0,0 +1,13 @@
# Web Key Directory (GPG/PGP-Keys zur Suche ablegen)
Um, neben [keys.openpgp.org](https://keys.openpgp.org/), den eigenen Chaospott-GPG-Key über das WKD-Protokoll verfügbar zu machen, gehe wie folgt vor:
1. Clone das Repo.
2. Gehe in den Repo-Ordner.
3. Führe das Skript `genwkdkey` aus. Es exportiert deinen öffentlichen Schlüssel und legt ihn nach einem WKD-Hash-Muster ab.
4. Das Skript committet und pusht ebenfalls.
Executable
+34
View File
@@ -0,0 +1,34 @@
#!/bin/bash
# Set MAILADDRESS variable
read -p 'Type in your chaospott mail address: ' MAILADDRESS
# Get WKDHASH
WKDHASHES=$(gpg --with-wkd-hash --fingerprint "$MAILADDRESS" | egrep "[ ]+[0-9a-z]{32}@chaospott\.de" | sed 's/ //g;s/@chaospott\.de//')
if [ -n "$WKDHASHES" ]; then
for wkdhash in $WKDHASHES; do
# Export key into WKDHASH
gpg --no-armor --export "$MAILADDRESS" > "$wkdhash"
git add "$wkdhash"
done
# git commit and push
read -p 'Enter your nickname: ' NICKNAME
git commit -m "$NICKNAME"
COMMITEXIT=$?
git push
if [ $? -ne 0 ]; then
if [ $COMMITEXIT -eq 0 ]; then
git reset HEAD~1
fi
echo "git push failed. Try again."
exit 1
fi
exit 0
else
echo "Mail address is not in your keyring."
exit 1
fi
Binary file not shown.
Binary file not shown.
Binary file not shown.