From 15d6a23747d96c6789bfa171ae320179d88f9168 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Mon, 21 Oct 2019 09:45:14 -0400 Subject: [PATCH] Fix commentless incoming SSH keys from meta.sr.ht --- gitsrht/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitsrht/service.py b/gitsrht/service.py index 14002cb..14b90dc 100644 --- a/gitsrht/service.py +++ b/gitsrht/service.py @@ -28,7 +28,7 @@ class GitOAuthService(AbstractOAuthService): def cache_key(self, user, meta_key): b64key = meta_key["key"].split(" ") - if len(b64key) > 3: + if len(b64key) < 2: return False b64key = b64key[1] cache = { -- 2.38.4