TOTP with Static Password Prefix

Hi,

Although the proposed solution (using the Pre-Connection Credentials feature) works, it involves storing a plain text password in a file on disk (the script file). Ideally, the script would pass the username entered (or remembered) from the dialogue and concatenate the password stored in KeyChain Access together with the (T)OTP entered on the second dialogue.

Hi vovtz,

I’ve split this post into its own topic, as the original one was very old and no longer relevant.

What you’re seeking is the “static-challenge-password” advanced command. You can find more information on how to use it at:
https://www.sparklabs.com/support/kb/article/advanced-configuration-commands/#static-challenge-password

Cheers,
James