diff --git a/genwkdkey b/genwkdkey index 6050252..48a17eb 100755 --- a/genwkdkey +++ b/genwkdkey @@ -4,7 +4,7 @@ read -p 'Type in your chaospott mail address: ' MAILADDRESS # Get WKDHASH -WKDHASH=$(gpg --with-wkd-hash --fingerprint "$MAILADDRESS" | egrep "[ ]{14}[0-9a-z]{32}@chaospott\.de" | head -n1 | sed 's/ //g;s/@chaospott\.de//') +WKDHASH=$(gpg --with-wkd-hash --fingerprint "$MAILADDRESS" | egrep "[ ]{,14}[0-9a-z]{32}@chaospott\.de" | head -n1 | sed 's/ //g;s/@chaospott\.de//') if [ -n "$WKDHASH" ]; then # Export key into WKDHASH