Skip to content

Add contrib script to enable a mfa device via ykman#559

Merged
mtibben merged 1 commit into
99designs:ykman-supportfrom
asiragusa:ykman-contrib-script
Apr 21, 2020
Merged

Add contrib script to enable a mfa device via ykman#559
mtibben merged 1 commit into
99designs:ykman-supportfrom
asiragusa:ykman-contrib-script

Conversation

@asiragusa

Copy link
Copy Markdown
Contributor

This script helps to add a yubikey using ykman. See #558

This script helps to add a yubikey using ykman. See 99designs#558
@asiragusa asiragusa mentioned this pull request Apr 21, 2020

CODE1=$(ykman oath code -s "$SERIAL_NUMBER")

echo "Waiting 30s before generating a second code" >&2

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about just running the command until we get a new code? 30s is the worst case.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is another option, but having to touch the Yubikey multiple times can be tedious too.

The low-level driver allows to query the key with a timestamp, but ykman does not have that option...

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, of course. Thanks for the explanation.

@mtibben mtibben merged commit 1b22335 into 99designs:ykman-support Apr 21, 2020
@mtibben mtibben added this to the v6 milestone Apr 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants