tpm2-software / tpm2-totp

Attest the trustworthiness of a device against a human using time-based one-time passwords
https://tpm2-software.github.io
BSD 3-Clause "New" or "Revised" License
164 stars 37 forks source link

Use tpm2-totp with pam? #104

Open Tecol87 opened 1 year ago

Tecol87 commented 1 year ago

Hello,

is there a possibility to integrate tpm2-totp into pam? This is already possible with pam_oauth, but the file with the secret needs to be stored on the harddrive. Protecting the secret in the tpm2 would increase the security a lot.