Release: 1.4.1
Environment
MS-Windows XP, Linux
Description
I was trying to add a new UID on my local Windows XP. It rejected my named saying that
Command> adduid
Real name: 依瑪貓
Name must be at least 5 characters long
Real name:
I can hardly believe it. Common Chinese names consist of 2-4 characters, and Chinese are 1/4 of the total population of the human. And common Japanese names consist of 3-5 characters. Such a rule is amazingly unreasonable.
Fix
- gnupg-1.4.1.orig/g10/keygen.c Fri Mar 11 21:56:06 2005 +++ gnupg-1.4.1/g10/keygen.c Wed May 25 14:16:03 2005 @@ -1659,8 +1659,8 @@ tty_printf(_("Invalid character in name\n")); else if( digitp(aname) ) tty_printf(_("Name may not start with a digit\n"));
- else if( strlen(aname) < 5 )
- tty_printf(_("Name must be at least 5 characters long\n")); + else if( strlen(aname) < 1 ) + tty_printf(_("Name must be at least 1 characters long\n")); else break; }