AIT-Core
AIT-Core copied to clipboard
Improve ait.notify to provide more secure method of SMTP authentication
Putting a username/password into a config can be a big security concern. Not sure what a workaround may be. Easiest thing may be to just document another method. here is what I did for ECOSTRESS:
un = raw_input('SMTP Username: ')
pw = getpass.getpass('SMTP Password: ')
ait.config._config['notifications']['smtp']['username'] = un
ait.config._config['notifications']['smtp']['password'] = pw