AIT-Core icon indicating copy to clipboard operation
AIT-Core copied to clipboard

Improve ait.notify to provide more secure method of SMTP authentication

Open jordanpadams opened this issue 7 years ago • 0 comments

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

jordanpadams avatar Jul 01 '18 00:07 jordanpadams