Care for at least one space
This commit is contained in:
parent
5df3438fe7
commit
72bdd27348
@ -4,7 +4,7 @@
|
|||||||
read -p 'Type in your chaospott mail address: ' MAILADDRESS
|
read -p 'Type in your chaospott mail address: ' MAILADDRESS
|
||||||
|
|
||||||
# Get WKDHASH
|
# 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 "[ ]+[0-9a-z]{32}@chaospott\.de" | head -n1 | sed 's/ //g;s/@chaospott\.de//')
|
||||||
|
|
||||||
if [ -n "$WKDHASH" ]; then
|
if [ -n "$WKDHASH" ]; then
|
||||||
# Export key into WKDHASH
|
# Export key into WKDHASH
|
||||||
|
Loading…
Reference in New Issue
Block a user