Final Commit on this branch, TUI upgrade. Further work on Rust Implementation. Rust branch was branched a commit earlier, first commit by me on that branch will be to replicate the TUI change here
This commit is contained in:
+2
-1
@@ -53,8 +53,9 @@ def otp_generate(api: AirlockAPIWrapper):
|
||||
|
||||
if duration_selected is not None:
|
||||
for agent in agents:
|
||||
logging.info(f"Querying API for {agent.hostname}")
|
||||
otp_code = api.otp_generate(agent.agentid, duration_selected, purpose)
|
||||
logger.info(f"Generated OTP for {agent.hostname}: {otp_code}")
|
||||
logger.debug(f"Generated OTP for {agent.hostname}: {otp_code}")
|
||||
otp_dict[agent.hostname] = otp_code
|
||||
|
||||
print(colorText("Requested Codes:", "green"))
|
||||
|
||||
Reference in New Issue
Block a user