Skip to content

Commit a214987

Browse files
committed
notes
1 parent b9f34cd commit a214987

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/wormhole_mailbox_server/server.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,8 @@ def verify_permission(self, perms):
619619
:returns bool: an indication of whether the provided permissions
620620
reply from a client is valid
621621
"""
622+
# XXX THINK do we need this whole method to be constant-time?
623+
# (basically impossible if it's not even syntactially valid?)
622624
stamp = perms.get("stamp", "")
623625
fields = stamp.split(":")
624626
if len(fields) != 7:

0 commit comments

Comments
 (0)