[gnutls-devel] GnuTLS | Bring support for TPM 2.0 (#594)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Fri Aug 9 12:10:34 CEST 2019




David Woodhouse commented:


Testing with authorisation required. If I get the password wrong I get...

```
Token 'key' with URL 'tpm2:' requires user PIN
Enter PIN: 
WARNING:esys:src/tss2-esys/api/Esys_Sign.c:339:Esys_Sign_Finish() Received TPM Error 
ERROR:esys:src/tss2-esys/api/Esys_Sign.c:132:Esys_Sign() Esys Finish ErrorCode (0x000009a2) 
WARNING:esys:src/tss2-esys/api/Esys_Sign.c:339:Esys_Sign_Finish() Received TPM Error 
ERROR:esys:src/tss2-esys/api/Esys_Sign.c:132:Esys_Sign() Esys Finish ErrorCode (0x000009a2) 
WARNING:esys:src/tss2-esys/api/Esys_Sign.c:339:Esys_Sign_Finish() Received TPM Error 
ERROR:esys:src/tss2-esys/api/Esys_Sign.c:132:Esys_Sign() Esys Finish ErrorCode (0x000009a2) 
WARNING:esys:src/tss2-esys/api/Esys_Sign.c:339:Esys_Sign_Finish() Received TPM Error 
ERROR:esys:src/tss2-esys/api/Esys_Sign.c:132:Esys_Sign() Esys Finish ErrorCode (0x000009a2) 
.... for ever ... 
```

OpenConnect asks me again instead:

```
Enter TPM2 key password:
WARNING:esys:src/tss2-esys/api/Esys_Sign.c:339:Esys_Sign_Finish() Received TPM Error 
ERROR:esys:src/tss2-esys/api/Esys_Sign.c:132:Esys_Sign() Esys Finish ErrorCode (0x000009a2) 
Enter TPM2 key password:
WARNING:esys:src/tss2-esys/api/Esys_Sign.c:339:Esys_Sign_Finish() Received TPM Error 
ERROR:esys:src/tss2-esys/api/Esys_Sign.c:132:Esys_Sign() Esys Finish ErrorCode (0x000009a2) 
Enter TPM2 key password:
Using client certificate 'A user'

```

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/594#note_201979737
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20190809/0de8b50d/attachment.html>


More information about the Gnutls-devel mailing list