[PATCH 09/10] Call libstoken to generate one-time passwords
Woodhouse, David
david.woodhouse at intel.com
Wed Oct 10 07:16:34 EDT 2012
On Sun, 2012-10-07 at 18:03 -0700, Kevin Cernekee wrote:
> + } else if (stoken_tries == 1 && strcasestr(opt->label, "next")) {
> + /*
> + * The server has asked for the NEXT tokencode/passcode, so
> + * wait. We "could" compute it immediately, but the point is
> + * to sync up the local + remote clocks.
> + */
> + vpn_progress(vpninfo, PRG_INFO, _("Waiting for next tokencode...\n"));
> +
> + strcpy(lastcode, tokencode);
> + do {
> + sleep(1);
Hm, is that really necessary? The SecurID soft token under Windows has a
'next token' mode which will give it immediately. I didn't think you
were supposed to wait.
David Woodhouse Open Source Technology Centre
David.Woodhouse at intel.com Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4370 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20121010/2496f019/attachment.bin>
More information about the openconnect-devel
mailing list