Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support max attempts for pins that prompt for input #6

Open
frasertweedale opened this issue Feb 11, 2016 · 0 comments
Open

Support max attempts for pins that prompt for input #6

frasertweedale opened this issue Feb 11, 2016 · 0 comments

Comments

@frasertweedale
Copy link

Currently the clevis pwd pin prompts forever. It does not terminate
on ^C or give up on empty input. This is reasonable behaviour for
early boot (disk unlock) use case but we need a way to limit
the number of attempts for other use cases, e.g. TLS private keys.

We could either add an "attempts" field in the JSON, understood by
"pwd" pin, or use an envvar. Maybe there are other options.

Other pins would probably want the same option, e.g. a TOTP pin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants