Fixes
authorjgg <>
Thu, 23 Sep 1999 02:10:03 +0000 (02:10 +0000)
committerjgg <>
Thu, 23 Sep 1999 02:10:03 +0000 (02:10 +0000)
doc/ud-info.1.yo
doc/ud-xearth.1.yo
ud-generate
userdir_gpg.py

index 119d95d..8bf60a5 100644 (file)
@@ -103,6 +103,7 @@ itemize(
  it() Map Blast! Canadian, US and some European maps - http://www.mapblast.com/
  it() Australian Database http://www.environment.gov.au/database/MAN200R.html
  it() Canadian Database http://GeoNames.NRCan.gc.ca/
+ it() Atlas of the World, indexed by city http://www.astro.com/atlas/
  it() GNU Timezone database, organized partially by country /usr/share/zoneinfo/zone.tab
 )
 
index c25b71d..52140c1 100644 (file)
@@ -16,6 +16,10 @@ The output is place in a file called ./markers.dat
 Since lat/long information is restricted to developers only a valid login is
 required to extract the information. 
 
+A good way to make use of the coordinates is the following command: 
+verb(xplanet --shade 100 --marker developers.coords --color white \
+--output developers.map.jpeg --geometry 750x450)
+         
 manpageoptions()
 startdit()
 dit(bf(-u))
index b627cae..6b004f0 100755 (executable)
@@ -146,7 +146,7 @@ def GenGroup(l,File,Allowed):
          if GroupMap.has_key(I):
            GroupMap[I].append(GetAttr(x,"uid"));
         else:
-           GroupMap[I] = [GetAttr(x,"uid")];
+            print "Group does not exist ",I,"but",GetAttr(x,"uid"),"is in it";
            
    # Output the group file.
    Counter = 0; 
index 82e9ed9..39667d2 100644 (file)
@@ -264,16 +264,22 @@ def GPGCheckSig(Message):
             Why = "Verification of signature failed";
 
         # Bad signature response
-        if Split[1] == "ERRSIG" or Split[1] == "NO_PUBKEY":
+        if Split[1] == "ERRSIG":
            GoodSig = 0;
            KeyID = Split[2];
-           if Split[7] == '9':
+            if len(Split) <= 7:
+               Why = "GPG error, ERRSIG status tag is invalid";
+            elif Split[7] == '9':
                Why = "Unable to verify signature, signing key missing.";
             elif Split[7] == '4':
                Why = "Unable to verify signature, unknown packet format/key type";
            else:   
                Why = "Unable to verify signature, unknown reason";
 
+         if Split[1] == "NO_PUBKEY":
+           GoodSig = 0;
+            Why = "Unable to verify signature, signing key missing.";
+
         # Expired signature
         if Split[1] == "SIGEXPIRED":
            GoodSig = 0;