]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
Fix re-prompting for empty parent key password with TCG TSS2
authorDavid Woodhouse <dwmw2@infradead.org>
Fri, 21 Dec 2018 15:45:42 +0000 (15:45 +0000)
committerDavid Woodhouse <dwmw2@infradead.org>
Fri, 21 Dec 2018 15:45:42 +0000 (15:45 +0000)
commitfe171c3cd8d29f056b21ad3d1c51ddc9844221d7
tree46c09359d0d33d61a71ce874cb846eae020e8938
parentbec877a69f722d692364ad97f4d80adee4eb3e05
Fix re-prompting for empty parent key password with TCG TSS2

It's odd, but persistent keys can be generated with empty password yet
still without the NODA flag.

It's OK to prompt the user for the (empty) password in that case, but
not to do it more than once, after already authenticating successfully
the first time.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
gnutls_tpm2_esys.c