Respect spacing for smaller displays

This commit is contained in:
Bandie 2022-07-02 15:37:54 +02:00
parent c108ab95c6
commit 5df3438fe7
Signed by: Bandie
GPG Key ID: 7FA4FD7D1D7997C2

View File

@ -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