alexzorin / authy

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

Added batch support #11

Closed lzap closed 4 years ago

lzap commented 4 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 4 years ago

Thanks @lzap!