diff --git a/aomi/validation.py b/aomi/validation.py
index <HASH>..<HASH> 100644
--- a/aomi/validation.py
+++ b/aomi/validation.py
@@ -1,6 +1,7 @@
 """Some validation helpers for aomi"""
 from __future__ import print_function
 import os
+import platform
 import stat
 from aomi.helpers import problems, abspath, is_tagged, log
 
@@ -66,10 +67,11 @@ def secret_file(filename):
        stat.S_ISLNK(filestat.st_mode) == 0:
         problems("Secret file %s must be a real file or symlink" % filename)
 
-    if filestat.st_mode & stat.S_IROTH or \
-       filestat.st_mode & stat.S_IWOTH or \
-       filestat.st_mode & stat.S_IWGRP:
-        problems("Secret file %s has too loose permissions" % filename)
+    if (platform.system() != "Windows"):
+        if filestat.st_mode & stat.S_IROTH or \
+           filestat.st_mode & stat.S_IWOTH or \
+           filestat.st_mode & stat.S_IWGRP:
+            problems("Secret file %s has too loose permissions" % filename)
 
 
 def validate_obj(keys, obj):
Don't do the file permission check on Windows

When running Python on Windows, most of the file system permission checks
are ignored by the python stat() call. So don't do the fine-grained
permission checks there.

Correct (hopefully) the whitespace issue

More whitespace tinkering