diff options
author | Hendrik Jaeger <git-commit@henk.geekmail.org> | 2019-11-03 16:13:28 +0100 |
---|---|---|
committer | Hendrik Jaeger <git-commit@henk.geekmail.org> | 2019-11-03 16:13:28 +0100 |
commit | 21034ed2f029e39541cd006b6c3d746caa0a3d78 (patch) | |
tree | bc3193ec31b42e591d60936ec9d5d6847ebd24e9 /rif-friendimportexport.sh | |
parent | 679c6ffb8f8d87c6802a81ae2da272f4c9108baf (diff) |
GnuPG is not case-sensitive and RIF may collide with "verification" and
possibly other terms
Diffstat (limited to 'rif-friendimportexport.sh')
-rwxr-xr-x | rif-friendimportexport.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rif-friendimportexport.sh b/rif-friendimportexport.sh index a248e2f..ff41c6c 100755 --- a/rif-friendimportexport.sh +++ b/rif-friendimportexport.sh @@ -3,11 +3,11 @@ tmp=$(mktemp) -gpg --list-keys --with-colons | grep RIF | awk -F: '{ print $10 }' | sed 's/\\x3a/:/' | ( +gpg --list-keys --with-colons | grep RI6F | awk -F: '{ print $10 }' | sed 's/\\x3a/:/' | ( while read line do name=$(echo $line | sed 's/\(.*\)(.*/\1/') - url=$(echo $line | sed -e 's/.*(RIF //' -e 's/).*//') + url=$(echo $line | sed -e 's/.*(RI6F //' -e 's/).*//') keyurl=$url/rifkeys echo "Getting friends from $name on $keyurl ..." |