diff --git a/src/steamos-devkit-service.py b/src/steamos-devkit-service.py
index 42f0dc0ce4b772c68b9bff0c8adf963f3eae8b4b..a5f133b57808e9198c9a9caa3c3fae38b33c5e91 100644
--- a/src/steamos-devkit-service.py
+++ b/src/steamos-devkit-service.py
@@ -245,7 +245,7 @@ class DevkitHandler(BaseHTTPRequestHandler):
         length = len(post_body)
         found_name = False
 
-        if length > 64 * 1024:
+        if length >= 64 * 1024:
             print("Key length too long")
             return None
         if not post_body.decode().startswith('ssh-rsa'):