We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9f34cd commit a214987Copy full SHA for a214987
src/wormhole_mailbox_server/server.py
@@ -619,6 +619,8 @@ def verify_permission(self, perms):
619
:returns bool: an indication of whether the provided permissions
620
reply from a client is valid
621
"""
622
+ # XXX THINK do we need this whole method to be constant-time?
623
+ # (basically impossible if it's not even syntactially valid?)
624
stamp = perms.get("stamp", "")
625
fields = stamp.split(":")
626
if len(fields) != 7:
0 commit comments