Show startup shell before background avatar admission and update reviewed capabilities
This commit is contained in:
@@ -36,6 +36,17 @@ def negotiate(hello, configured):
|
||||
return sha, dict(pack)
|
||||
|
||||
|
||||
def pending_pin(hello, configured):
|
||||
"""Authorize only a future SAME reviewed pin on this authenticated connection.
|
||||
No action available until the client's complete immutable admission and handoff.
|
||||
"""
|
||||
if hello.get('action_protocol') != 1 or hello.get('action_kinds') != [] or 'action_pack_sha256' in hello:
|
||||
return None
|
||||
sha=hello.get('action_pending_pack_sha256')
|
||||
offer={'action_protocol':1,'action_kinds':['dance'],'action_pack_sha256':sha}
|
||||
return sha if negotiate(offer, configured) else None
|
||||
|
||||
|
||||
@dataclass
|
||||
class ActionTicket:
|
||||
id: str
|
||||
|
||||
Reference in New Issue
Block a user