|
@@ -701,13 +701,9 @@ function sign_gpg_key {
|
701
|
701
|
SIGN_ADDRESS=$(<$data)
|
702
|
702
|
if [ ${#SIGN_ADDRESS} -gt 2 ]; then
|
703
|
703
|
clear
|
|
704
|
+ gpg --search "$SIGN_ADDRESS"
|
704
|
705
|
fpr=$(gpg --with-colons --fingerprint "$SIGN_ADDRESS" | grep fpr | head -n 1 | awk -F ':' '{print $10}')
|
705
|
706
|
if [ ! "$?" = "0" ]; then
|
706
|
|
- gpg --search "$SIGN_ADDRESS"
|
707
|
|
- fpr=$(gpg --with-colons --fingerprint "$SIGN_ADDRESS" | grep fpr | head -n 1 | awk -F ':' '{print $10}')
|
708
|
|
- fi
|
709
|
|
-
|
710
|
|
- if [ ! "$?" = "0" ]; then
|
711
|
707
|
if [ ${#fpr} -gt 2 ]; then
|
712
|
708
|
gpg --sign-key $fpr
|
713
|
709
|
if [ "$?" = "0" ]; then
|