alexzorin / authy

Go library and program to access your Authy TOTP secrets.
MIT License
800 stars 58 forks source link

Added batch support #11

Closed lzap closed 3 years ago

lzap commented 3 years ago

Hi, awesome app! I would like to integrate into my batch script and the application correctly performs ioctl's when asking for password which makes batch scripting pretty tough. The patch adds support for reading password from environmental variable which is one of the safer methods (compared to for example reading from a command line).

alexzorin commented 3 years ago

Thanks @lzap!