Closed simonfxr closed 4 years ago
Thank you for the report! I don't see this warning on my own system, but from reading the udev rules files syntax, I guess it means that $
should be escaped as $$
. I have posted a candidate fix as #66. Could you please test this pull request to see whether the TOTP is shown without the warning in the log? Also please run ps ax | grep totp
immediately after the system is booted up to see whether show-tpm2-totp
is killed correctly: if not, you would see a line similar to
534 ? S 0:00 /bin/sh /bin/show-tpm2-totp
in the output.
@diabonas Thank you for the quick fix, now everything seems to work properly! The udev error is gone and the ps
output shows nothing related to totp.
Awesome, thanks for testing! I have merged the fix and will include it in the upcoming 0.2.1 release as well.
I just tested this package in a fresh Fedora 31 VM (KVM and swtpm). In the bootlog (journalctl -b) I found this line:
The strange thing is, it works! I see the correct totp code on the screen. I built tmpm2-totp from git, following the README.