DataDog / yubikey

YubiKey at Datadog
MIT License
495 stars 36 forks source link

Fix an edge case when expect is not able to fill some steps #68

Closed daisukixci closed 3 years ago

daisukixci commented 3 years ago

fix #50

Huge thanks to @ahmed-mez who find the solution.

The script failed to run when GPG_TTY != '' so we ensure it's empty before the expect script.

https://gnupg.org/documentation/manuals/gnupg/Common-Problems.html