- # if the user ID validity is not ok, skip
- if [ "$validity" != 'u' -a "$validity" != 'f' ] ; then
+ # if the user ID does matches...
+ if [ "$(echo "$uidfpr" | gpg_unescape)" = "$userID" ] ; then
+ # and the user ID validity is ok
+ if [ "$validity" != 'u' -a "$validity" != 'f' ] ; then
+ # mark user ID acceptable
+ uidOK=true
+ fi
+ else