[go-nuts] Re: Suggestions to hide plaintext password in net/smtp

2016-10-26 Thread Egon
On Wednesday, 26 October 2016 16:02:37 UTC-7, vincen...@gmail.com wrote: > > Hi > > I am new to Go and I have a go program to send email similar to > https://golang.org/pkg/net/smtp/#example_SendMail below: > > > > func main() { > // Set up authentication information. > auth := smtp.PlainAuth(

[go-nuts] Re: Suggestions to hide plaintext password in net/smtp

2016-10-26 Thread ahd
I am startled to see someone asking how to embed passwords in a binary a week after the DDoS attack on Dyn (https://krebsonsecurity.com/2016/10/hacked-cameras-dvrs-powered-todays-massive-internet-outage/). While that used exposed passwords for the client, you should learn from it. Ignoring Go