refresh-auth
changeset 32 4059dbe9f26a
parent 30 98dbde5b13a1
--- a/refresh-auth	Wed May 28 18:14:15 2008 +0100
+++ b/refresh-auth	Thu Jun 05 16:53:57 2008 +0100
@@ -36,6 +36,9 @@
             # ignore any path that contains dodgy characters
             continue
         keyname = ffn[5:]
+        if keyname == "root":
+            # No key can claim root privileges
+            continue
         p = subprocess.Popen(("ssh-keygen", "-i", "-f", ffn), 
             stdout=subprocess.PIPE, stderr=subprocess.PIPE)
         newkey = p.communicate()[0]