MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / ssh_agent_encode_bytes

Function ssh_agent_encode_bytes

keepercommander/commands/ssh_agent.py:112–113  ·  view source on GitHub ↗
(b)

Source from the content-addressed store, hash-verified

110
111
112def ssh_agent_encode_bytes(b): # type: (bytes) -> bytes
113 return len(b).to_bytes(4, byteorder='big') + b
114
115
116def ssh_agent_encode_str(s): # type: (str) -> bytes

Callers 5

ssh_agent_encode_strFunction · 0.85
ssh_agent_encode_longFunction · 0.85
add_ssh_keyFunction · 0.85
load_private_keysMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected